Enterprise Library / Unity vNext

Greetings!

This is a public forum for you to suggest/vote on the ideas for future capabilities/updates to Enterprise Library and Unity.

Please note the list may not always represent the actual prioritized backlog of the development team.

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Registration by Assembly Scanning

    * Create a basic attribute called "RegisterType" that you could place on a class, The options I've found most useful are an enum to define it's lifetime manager and addtional type attributes to filter out types you don't want to register, IDisposable etc.
    * Create an optional attribute that can be put in the assembly to indicate it should be scanned. This is optional but can be helpful for performance reasons.
    * Create a Unity extension that reads all loaded types (I've found tricks for web applications here) and scans for this attribute and registers matching types.

    50 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      under review  ·  2 comments  ·  Unity  ·  Admin →
    • Improve performance of unity

      According to various benchmarks unity is quite slow when comparing with other ioc containers like AutoFac, StructureMap or Castle Windsor. It would be nice if could you improve performance of unity container.

      31 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        5 comments  ·  Unity  ·  Admin →
      • Intellisense for types in config files

        It would be nice to have write extension for Visual Studio providing in configuration file Intellisense. It should show types referenced by assembly that can be registered in container.

        18 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Unity  ·  Admin →
        • Extension Hooks similar to WebActivator

          WebActivator is a great conventions for embedding hooks that get wired up in the assembly. The basic idea would be to allow for a static method in an assembly that would take a single IUnityContainer parameter and allow the developer to embed and extension/setup logic in there. This would help with NuGet packages that want to register items by default without configuration manipulation.

          13 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Unity  ·  Admin →
          • 9 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Unity  ·  Admin →
            • Optional<T> & IEnumerable<T>

              Optional<T> is a constructor parameter which is not an essential dependency of a class but can be needed for some actions. This is very helpfull if you have for example licence features in your application. You can than register on startup only components which are licensed and your other components can decide which parts to show or use based on the available features. Like nullable types it needs a HasValue or IsRegistred property to check if a type can be instanciated.
              IEnumerable<T> is needed to get all registrations of a particular type.

              3 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Unity  ·  Admin →
              • Don't see your idea?

              Enterprise Library / Unity vNext

              Feedback and Knowledge Base