Discussions under General

Unity cannot find named component when assembly is built with optimize setting

first post: BenCrinion wrote: I've asked this same question on Stack Overflow but thought I'd try...

latest post: randylevy wrote: That does seem strange. Do you have the exception information alon...

Cant setup test container registration with a string name param

first post: milsnips wrote: hi, my actual code looks something like this: _container.Resol...

IoC: Constructors with two parameters of the same type

first post: GrahamAtSDA wrote: Hi, When using Unity for IOC, I am relying on Constructor Inject...

latest post: GrahamAtSDA wrote: Perfect! Thanks Randy.

answered by: randylevy wrote: > Do I have to define two new interfaces for Class1 and Class2 so t...

Disable Auto Registration

first post: martin_weber wrote: Hi, Is it possible to disable autoregistration in Unity 3.5? How ...

latest post: martin_weber wrote: Thank you so much Randy. Yes, this is exactly what I want to do.

answered by: randylevy wrote: I assume you are not discussing auto-registration in the sense of r...

Unity - Prism IoC problem

first post: kermitfrosch wrote: Hallo, i am trying to modular applications with prism & unity. i ...

latest post: kermitfrosch wrote: Thanks, this works for me. Jens

answered by: randylevy wrote: The root problem is that there is a MissingMethodException: "No par...

ResolutionFailedException: The current type is an interface and cannot be constructed.

first post: Mythreyi wrote: Hi, I have started using Unity only over the past week. Please help...

latest post: bankeysharma wrote: I had similar issue which solved after adding an alias to concrete ...

Resolve type in microsoft unity in a web application in global.asax

first post: simone86 wrote: i am trying to resolve some classes in my web application following...

latest post: simone86 wrote: Great thank you, even if I am a little bewildered about performance...

VNext support

first post: NiclasPehrsson wrote: When will support for VNext show up? https://github.com/aspnet/Dep...

Can´t install the Unity Package from the Package Manager Console

first post: rafaelsoteldo wrote: I'm trying to install the Unity Package from the Package Manager Co...

latest post: rafaelsoteldo wrote: The new version is more specific when displaying error details. Th...

answered by: randylevy wrote: That's very strange. With NuGet 2.8.50313.46 and Visual Studio 201...

How to delay(lazy creation) or suppress creation of Call Handler objects until the method is actually called

first post: sucharith wrote: I am trying to use Interception Call Handler and Handler Attributes...

latest post: sucharith wrote: Assuming I chose to go down the "rabbit hole", can you point me in ...