castle
Castle windsor Adding conditional dependency
I have 2 implementations of开发者_Python百科 the same interface and want to use implementation1 if the user is logged in or implementation2 if the user is not logged in.How can I configure this with c[详细]
2023-04-06 05:54 分类:问答Castle windsor - creating and disposing container in WCF services
am planning to implement Castle windsor in WCF layer, which is an ASP.Net project. When I went through the documentation of Castle windsor it was said that we need to create container only once and di[详细]
2023-04-01 19:03 分类:问答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 分类:问答Error: Object references an unsaved transient instance
now I\'m building a web application on asp-net using castle active record. When I was trying to save an entity with a has-many relation I got the error: \"object references an unsaved transient instan[详细]
2023-03-30 12:42 分类:问答Castle logging facade and NLog
I\'m using Castle for logging facade. I have problem when my logger is logging message. The callsite is not my Namespace.Class but is castle facade: Castle.Services.Logging.NLogIntegration.NLogLogger开[详细]
2023-03-29 00:08 分类:问答Will castle bytecode provider for NHibernate 3.2.GA be available in nuget?
As you know NHibernate 3.2 has native bytecode provider, which has some breaking changes with castle bytecode provider.[详细]
2023-03-28 02:58 分类:问答Does Castle Automatic Transaction Management create TransactionScope for Transactional methods?
I\'ve got an app which should access its DB (via NHibernate) and perform web service calls (via WCF) in a single distributed transaction (which is propagated to called web services via WS-AT). For now[详细]
2023-03-27 05:00 分类:问答Error loading one of the NHibernate dependent dll's
I am building an application using NHibernate. Because I could not add the DLL\'s of my current version of NHibernate (I cannot add reference when framework 4.0 is target).[详细]
2023-03-25 20:03 分类:问答Castle Windsor Registration - AddAdditionalInterfaces() to implementation UsingFactoryMethod()
Given: public class IFoo { } public class IBar { } public class FooImpl : IFoo { } Why 开发者_如何学编程does this work:[详细]
2023-03-24 05:22 分类:问答The invoked member is not supported in a dynamic assembly.
Since upgrading to NHibernate 3.2.0.400, Castle.Core 2.5开发者_JS百科 and FNH 1.2.0.712, whenever we start the application the following exception is throw:[详细]
2023-03-23 14:25 分类:问答