ioc-container
Multiple contexts in Spring.Net
Is it possible to have multiple contexts in spring.Net in parallel without creating their objects when calling the other context?[详细]
2023-04-01 07:01 分类:问答What is an IOC container actually doing for me here?
So I\'ve refactored completely to constructor injection, and now I have a bootstrapper class that looks similar to this:[详细]
2023-03-27 10:23 分类:问答Manual disposing is not working if using NInject RequestScope
I am using RequestScope of NInject in my application Bind<ITestClass>().To<TestClass>().InRequestScope();[详细]
2023-03-27 07:46 分类:问答Working with child container in prism with unity extensions
Context I\'m looking for a way to build system using PRISM and unity in a Silverlight application so that I can have a use case controller that manages the navigation and other stuff related to a spe[详细]
2023-03-27 04:22 分类:问答Overriding IOC Registration for use with Integration Testing
so I think I\'m perhaps not fully understanding how you would use an IOC container for doing Integration tests.[详细]
2023-03-26 07:50 分类:问答How does the Munq IocContainer dispose of registered objects within a lifetime?
I am using Munq as my IoC Container for an ASP.NET MVC3 project using the standard WebActi开发者_如何学Pythonvator that is provided in the NuGet package. Here is a sample registration:[详细]
2023-03-26 04:58 分类:问答How should you use UnitofWork pattern on my asp.net-mvc site (using nhibernate and ninject)
i have followed the pattern on this site to hook up ninject and nhibernate to my asp.net-mvc3 site. Here is the code in my global.aspx.cs:[详细]
2023-03-26 03:44 分类:问答How do I pass the UnityContainer as a parameter to a registration in a Unity IOC xml configuration file
I have an implementa开发者_StackOverflow中文版tion of a factory interface that uses an IOC container to create it\'s objects.[详细]
2023-03-26 03:09 分类:问答Castle Windsor: How to pass commandline args to multiple services?
I want to pass command line args (ie. string[]args) to two different services. I tried a lot of things, closest is the code below.[详细]
2023-03-25 23:16 分类:问答Help with Windsor and Repository and Unit of Work patterns
I have these interfaces: public interface IUnitOfWork { IPersonRepository People { get; } IBookRepository Books { get; }[详细]
2023-03-25 22:02 分类:问答