castle-windsor
Castle Windsor lifestyle for web-service
Let us suppose we are injecting instances of web-services via Castle Windsor. What is the scenario when I want to use Transient lifestyle for them or PerWebRequest one? What is the开发者_运维技巧 way[详细]
2023-03-30 21:14 分类:问答method selector on one of many interceptors for a service registered in Castle.Windsor
Using Castle.Windsor, how would I go about adding a IProxyGenerationHook or selector for one of several interceptors defined for a specific service. For example consider the following component regist[详细]
2023-03-30 18:05 分类:问答Medium trust share webhosting site with Castle Windsor
I deployed by ASP.NET MVC 3 applications which uses Castle Windsor for DI. The application is hosted on GoDaddy\'s shared web hosting. I am receiving the following exception when trying to load the si[详细]
2023-03-30 17:10 分类:问答How to register System.Net.CookieContainer using Windsor Castle?
I have component in which I have dependency to CookieContaier object. I managed to make this work by this code:[详细]
2023-03-29 16:14 分类:问答Castle Windsor 3.0 Beta 1 Running in Mono
I am attempting to use Windsor 3 Beta 1 in Mono 2.6 and I am encountering a few issues. (Note that my tests all pass while running Windsor 3 Beta 1 on .Net 3.5)[详细]
2023-03-29 15:23 分类:问答Castle: delegate-based factory lifestyle?
Whats the lifestyle of the implicit delegate-factory in the TypedFactoryFacility? Since the components created by the facto开发者_Python百科ry are released when the factory is released I am guessing t[详细]
2023-03-28 17:33 分类:问答Why does one code path show the form on top immediately while the other doesn't?
I\'m maintaining a C# .net program that uses Castle Windsor as a framework. It also uses Skincrafter to decorate the forms.[详细]
2023-03-28 08:53 分类:问答Inject logging dependency with Castle Windsor
I was trying to inject logging dependency by Castle Windsor to my code. More precisely, whenever a method in a class throws an error or application flow enters into a method it simply logs into a file[详细]
2023-03-28 07:26 分类:问答What does it mean to use Proper Windsor Service Overrides?
I am trying to create an index agent service for a multi-instance Solr install using SolrNet.I have created the service, which will use an interface to create multiple agents to index with.These agent[详细]
2023-03-27 12:45 分类:问答Can I resolve service in windsor castle through some method call with parameters?
I have IRFConfigurationSection which is instanced like this: (RFConfigurationSection)ConfigurationManager.GetSection(\"userSettings/ABZReportFactoryServer\");[详细]
2023-03-26 10:06 分类:问答