Tutorial by Examples

Castle Windsor is available via NuGet Use the "Manage NuGet Packages" and search for "castle windsor" To download for Visual Studio 2015 To download for previous versions Use Package Manager Console to execute: Install-Package Castle.Windsor Now you can us...
class Program { static void Main(string[] args) { //Initialize a new container WindsorContainer container = new WindsorContainer(); //Register IService with a specific implementation and supply its dependencies container.Register(Component.For<ISer...

Page 1 of 1