castle-windsor
Auto mocking container for Windsor and Rhino
I am want to do automocking with Windsor so that I can do something like _controller = _autoMockingContainer.Create<MyControllerWithLoadsOfDepdencies>();[详细]
2023-03-15 16:04 分类:问答Could not load type 'Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule' from assembly 'Castle.Windsor'
I\'m getting this error intermittently during debugging an MVC3 application. Intermittently being that if I modify the code within the app, rebuild and test, the error appears. If I make a change the[详细]
2023-03-15 10:24 分类:问答MissingTransactionException when running NHibernate with Castle.Facilities.AutoTx
I\'m trying to configure Castle Windsor with NHibernate and Castle.Facilities.AutoTx, but I keep getting problems with the PerTransactionLifeStyleOption. If I do[详细]
2023-03-14 20:00 分类:问答Problem with Automapper and Windsor
I have a problem with Automapper when I try use custom resolver which uses dependency injection. I have the following model:[详细]
2023-03-14 14:06 分类:问答Castle Facility using non default constructor in registration
I am trying to register a facility in Castle Windsor using the fluent apis (version 2.5.1). I am also trying to use a non default constructor (one that takes parameters). My current code looks like th[详细]
2023-03-14 07:02 分类:问答Asp MVC problem configuring application with Windsor and NHibernate
Im having issues configuring application using windsor, facilities and nhibernate. Im getting this exception:[详细]
2023-03-13 23:42 分类:问答Castle configuration for Service with callback
Here is my castle config in win forms client <components> <component id=\"TestServiceClient\" type=\"TcpService.ITestService, TcpService\"[详细]
2023-03-13 06:34 分类:问答Lost in multitenant Windsor Castle configuration
I use Windsor Castle with IHandlerSelector for multitenant implementation. I have two forms FrmInvoice and a custom FrmInvoiceCustomer1 share same IFrmInvoice interface. I want to switch them with my[详细]
2023-03-13 05:28 分类:问答Is it possible to pass something in to Cassini-dev running an MVC3 app that could be used to override a component in the app's IoC configuration
I am writing an MCV3 application using Windsor as the IoC container. I am using Cassini-dev and WaitN in the Acceptance tests and have a number of basic tests which work fine.[详细]
2023-03-13 03:10 分类:问答TypedFactoryFacility: how do i initialize an object with an inline parameter?
How can i produce the same output as specified below using the TypedFactoryFacility? public class Something[详细]
2023-03-13 01:42 分类:问答