c# Programming Glossary: ioc
Design - Where should objects be registered when using Windsor http://stackoverflow.com/questions/1410719/design-where-should-objects-be-registered-when-using-windsor Application I was hoping to use Castle Windsor as IoC to glue the layers together but I am bit uncertain about the..
Using IoC for Unit Testing http://stackoverflow.com/questions/1465849/using-ioc-for-unit-testing IoC for Unit Testing How can a IoC Container be used for unit testing.. IoC for Unit Testing How can a IoC Container be used for unit testing Is it useful to manage mocks.. to manage mocks in a huge solution 50 projects using IoC Any experiences Any C# libraries that work well for using it..
How to bind to a PasswordBox in MVVM http://stackoverflow.com/questions/1483892/how-to-bind-to-a-passwordbox-in-mvvm interface. 3. Register the UserControl instance with your IoC as implementing the IHavePassword interface. 4. When a server.. request requiring your password is taking place call your IoC for the IHavePassword implementation and only than get the much..
Which .NET Dependency Injection frameworks are worth looking into? [closed] http://stackoverflow.com/questions/21288/which-net-dependency-injection-frameworks-are-worth-looking-into pattern and is facilitated by but does not require an IoC Inversion of Control Framework. IoC Frameworks just make DI.. does not require an IoC Inversion of Control Framework. IoC Frameworks just make DI much easier but it's not only DI that.. That being said I'm sure that's what you were asking about IoC Frameworks I used to use Spring.Net and CastleWindsor a lot..
Is it better to create a singleton to access unity container or pass it through the application? http://stackoverflow.com/questions/2386487/is-it-better-to-create-a-singleton-to-access-unity-container-or-pass-it-through through the application I am dipping my toe into using a IoC framework and I have choosen to use Unity. One of the things..
How to avoid Dependency Injection constructor madness? http://stackoverflow.com/questions/2420193/how-to-avoid-dependency-injection-constructor-madness using a glorified static. Please share your thoughts on IoC and Dependency Injection madness. c# java dependency injection..
How do I intercept a method call in C#? http://stackoverflow.com/questions/25803/how-do-i-intercept-a-method-call-in-c no idea on how it's done. The final option is using an IoC framework . Maybe it's not the perfect solution as most IoC.. framework . Maybe it's not the perfect solution as most IoC frameworks works by defining entry points which allow methods..
How do the major C# DI/IoC frameworks compare? http://stackoverflow.com/questions/4581791/how-do-the-major-c-sharp-di-ioc-frameworks-compare do the major C# DI IoC frameworks compare At the risk of stepping into holy war territory.. What are the strengths and weaknesses of these popular DI IoC frameworks and could one easily be considered the best .. Ninject.. Castle.Windsor Autofac StructureMap Are there any other DI IoC Frameworks for C# that I haven't listed here In context of my..
Dynamic interception of calls in .NET http://stackoverflow.com/questions/1331851/dynamic-interception-of-calls-in-net you can use RealProxy . You could use quite a few IOC containers eg. LinFu Castle Dynamic Proxy You could use a tool..
Is it bad to use servicelocation instead of constructor injection to avoid writing loads of factory classes http://stackoverflow.com/questions/1599811/is-it-bad-to-use-servicelocation-instead-of-constructor-injection-to-avoid-writi writing loads of factory classes Right now we use DI IOC and when we need to pass extra parameters to a constructor we..
Reconnecting to Servicestack session in an asp.net MVC4 application http://stackoverflow.com/questions/19160839/reconnecting-to-servicestack-session-in-an-asp-net-mvc4-application only retrieve an auto wired ServiceStack service or other IOC dependency out from a ServiceStack Container if the ServiceStack..
C#/.NET: Is there a way to force all referenced assemblies to be loaded into the app domain? http://stackoverflow.com/questions/2384592/c-net-is-there-a-way-to-force-all-referenced-assemblies-to-be-loaded-into-the name and preferably without having to use a full fledged IOC framework c# assemblies appdomain share improve this question..
What's the simplest IOC container for C#? [closed] http://stackoverflow.com/questions/2515124/whats-the-simplest-ioc-container-for-c the simplest IOC container for C# closed What's the simplest IOC container for.. simplest IOC container for C# closed What's the simplest IOC container for C# Is simple to learn and get productive with..
NHibernate, and odd “Session is Closed!” errors http://stackoverflow.com/questions/2572015/nhibernate-and-odd-session-is-closed-errors code as you'll see below. I'm also using ninject as my IOC which may may not be important. Okay so First my SessionFactoryProvider..
Dependency injection and named loggers http://stackoverflow.com/questions/3452318/dependency-injection-and-named-loggers going to use either of those. For dependency injection IOC I will probably use MEF as that is the standard that the rest..
ASP.NET - AppDomain.CurrentDomain.GetAssemblies() - Assemblies missing after AppDomain restart http://stackoverflow.com/questions/3552223/asp-net-appdomain-currentdomain-getassemblies-assemblies-missing-after-app interface and then registers them with an IOC Contrainer. The idea is that you can literaly place your IBootstrapperTasks..
Enterprise Library Unity vs Other IoC Containers http://stackoverflow.com/questions/411660/enterprise-library-unity-vs-other-ioc-containers constructor injection which is mainly what people use an IOC for anyway . You can check out the solution here VS2008 As such.. have AOP and better gizmos but generally all I want an IOC to do is create and retrieve objects for me Note the differences..
Best Practices for IOC Container http://stackoverflow.com/questions/480286/best-practices-for-ioc-container Practices for IOC Container I'm using the Unity IOC container and I'm just wondering.. Practices for IOC Container I'm using the Unity IOC container and I'm just wondering what is the best best way to.. by constructor Should there be a singleton class with an IOC container How about asp.net development Could somebody guide..
Why are C# 4 optional parameters defined on interface not enforced on implementing class? http://stackoverflow.com/questions/4922714/why-are-c-sharp-4-optional-parameters-defined-on-interface-not-enforced-on-imple exposing your concrete class as the interface using some IOC framework to inject the concrete class for instance then really..
WPF MVVM Newbie - how should the ViewModel close the form? http://stackoverflow.com/questions/501886/wpf-mvvm-newbie-how-should-the-viewmodel-close-the-form view is only known via an interface and wired up via an IOC container so no testability or maintainability is lost. It seems..
Difference between Dependency Injection and Mocking framework (Ninject vs RhinoMock or Moq) http://stackoverflow.com/questions/5433211/difference-between-dependency-injection-and-mocking-framework-ninject-vs-rhinom method is user a factory method which is another form of IOC. class RepoFactory public static IUserRepository UserRepo get..
Cannot Inject Dependencies into ASP.NET Web API Controller using Unity http://stackoverflow.com/questions/9527988/cannot-inject-dependencies-into-asp-net-web-api-controller-using-unity using Unity Has anyone had any success running using an IOC container to inject dependencies into asp.net ASP.NET Web API..
How can you strip non-ASCII characters from a string? (in C#) http://stackoverflow.com/questions/123336/how-can-you-strip-non-ascii-characters-from-a-string-in-c
Creating an instance using Ninject with additional parameters in the constructor http://stackoverflow.com/questions/2227548/creating-an-instance-using-ninject-with-additional-parameters-in-the-constructor IService MyClass m kernel.Get MyClass m.Func c# ioc container ninject share improve this question The With.ConstructorArgument..
Is it better to create a singleton to access unity container or pass it through the application? http://stackoverflow.com/questions/2386487/is-it-better-to-create-a-singleton-to-access-unity-container-or-pass-it-through a collection of test case objects c# design unity ioc container share improve this question The correct approach..
Ninject 2.0 - binding to a object that uses the same interface more than once? http://stackoverflow.com/questions/2396285/ninject-2-0-binding-to-a-object-that-uses-the-same-interface-more-than-once the convention of names or something similiar. c# binding ioc container ninject share improve this question In addition..
How to avoid Dependency Injection constructor madness? http://stackoverflow.com/questions/2420193/how-to-avoid-dependency-injection-constructor-madness c# java dependency injection inversion of control ioc container share improve this question You are right that..
What's the simplest IOC container for C#? [closed] http://stackoverflow.com/questions/2515124/whats-the-simplest-ioc-container-for-c migration to a web service for the data layer. c# ioc container share improve this question Most of them are actually..
Ninject and DataContext disposal http://stackoverflow.com/questions/2964673/ninject-and-datacontext-disposal to use a using block Or does Ninject fix this for me c# ioc container datacontext dispose ninject share improve this question..
Dependency injection and named loggers http://stackoverflow.com/questions/3452318/dependency-injection-and-named-loggers is settling on. I am very new to dependency injection ioc and am pretty new to C# and .NET have written very little production.. questions 1320844 again about log4net and unity ioc config My question does not have specifically to do with How.. to do with How to I inject logging platform xxx using ioc tool yyy Rather I am interested in how people have handled wrapping..
Ninject + Bind generic repository http://stackoverflow.com/questions/4370515/ninject-bind-generic-repository generic interface and class then it works like a dream c# ioc container ninject share improve this question Bind typeof..
How do the major C# DI/IoC frameworks compare? http://stackoverflow.com/questions/4581791/how-do-the-major-c-sharp-di-ioc-frameworks-compare and active frameworks. c# dependency injection unity ioc container ninject share improve this question While a comprehensive..
Validation: How to inject A Model State wrapper with Ninject? http://stackoverflow.com/questions/4776396/validation-how-to-inject-a-model-state-wrapper-with-ninject IProductService service _service service c# asp.net mvc 2 ioc container ninject modelstate share improve this question ..
possible GetObjectsOfType replacement http://stackoverflow.com/questions/5026711/possible-getobjectsoftype-replacement single point of usage. c# asp.net dependency injection ioc container spring.net share improve this question You could..
Is there TryResolve in Unity? http://stackoverflow.com/questions/878994/is-there-tryresolve-in-unity foo container.TryResolve IFoo Assert.IsNull foo c# unity ioc container share improve this question This has been an issue..
Ninject constructor injection in WPF http://stackoverflow.com/questions/9160450/ninject-constructor-injection-in-wpf viewmodel information from your XAML Application.Resources ioc NinjectServiceLocator x Key ServiceLocator Application.Resources..
|