Windsor + LoggingFacility + log4net - how to set log4net.GlobalContext.Properties?

2009-10-27 Thread Filip Kinsky
I'm using LoggingFacility for accessing ILogger in my application and now I'd like to be able to set log4net properties. I need to be able to define log file name programatically depending on parameters my application is launched with. This should be set just once on application startup and all

Re: Windsor + LoggingFacility + log4net - how to set log4net.GlobalContext.Properties?

2009-10-27 Thread Filip Kinsky
(LoggerImplementation.Log4net)); container.ResolveILogger().Debug(test); On 27 říj, 12:30, Filip Kinsky fi...@filovo.net wrote: I'm using LoggingFacility for accessing ILogger in my application and now I'd like to be able to set log4net properties. I need to be able to define log file name

Re: Windsor + LoggingFacility + log4net - how to set log4net.GlobalContext.Properties?

2009-10-27 Thread Filip Kinsky
started to work when I changed the log4net.config file like this. Nasty behaviour ;( On 27 říj, 13:34, John Simons johnsimons...@yahoo.com.au wrote: What you should do is create your own appender derived from RollingFileAppender Cheers John On 27/10/2009, at 11:00 PM, Filip Kinsky fi

Re: Windsor WcfIntegration + UserNamePasswordValidationMode.Custom service behavior

2010-01-19 Thread Filip Kinsky
())                                         .At(net.tcp://localhost/Operations))                         .AddExtensions(new YOUR_BEHAVIOR_GOES_HERE())); Anyway, I think you should create an issue in Donjon to add explicit support for custom credentials specification. cheers Krzysztof On 19 Sty, 10:25, Filip Kinsky

WcfIntegration - registering service with wsHttpBinding hosted on IIS

2010-01-21 Thread Filip Kinsky
I'm trying to migrate my web.config file WCF service registration into Castle WcfIntegration fluent API registration, but I'm not able to register service with WsHttpBinding and http-based address. I'm registering the service like this: Container.Register(

Re: WcfIntegration - registering service with wsHttpBinding hosted on IIS

2010-01-21 Thread Filip Kinsky
just solved it - Hosted() was the missing part.. On Jan 21, 4:52 pm, Filip Kinsky fi...@filovo.net wrote: I'm trying to migrate my web.config file WCF service registration into Castle WcfIntegration fluent API registration, but I'm not able to register service with WsHttpBinding and http-based

WcfIntegration and multiple services over http = A registration already exists for URI

2010-02-17 Thread Filip Kinsky
I'm trying to run two WCF services in my application on IIS7 using Castle WcfIntegration facility, but I'm getting A registration already exists for URI even though the URLs are different so it should work AFAIK. I register the services like this: var baseAddress =

Windsor ResolveAll() and registered services overridability

2011-01-24 Thread Filip Kinsky
I have a modular application which works basically in two steps: 1. registers all operations from all available application modules: container.Register(AllTypes.FromAssemblyInDirectory(dir).BasedOnIMyOperation().WithService.Select(new[] {typeof(IMyOperation)})) 2. executes all registered

Re: Windsor ResolveAll() and registered services overridability

2011-01-24 Thread Filip Kinsky
overrides and then uses this information to resolve just the right ones, one by one. HTH, Krzysztof On 25/01/2011 2:09 AM, Filip Kinsky wrote: I have a modular application which works basically in two steps: 1. registers all operations from all available application modules

Dynamic Proxy performance optimizations for ODP.NET SQL Logging

2015-03-13 Thread Filip Kinsky
Hello, I need to log SQL executed by my application. The application uses Oracle ODP.NET ADO.Net provider, which doesn't support any easy mechanism for SQL logging. All the classes are (OracleConnection, OracleCommand) are also *sealed* so there was no other option than proxying/wrapping them.

Windsor WCF integration broken after ASP.NET 4.6 upgrade

2015-03-23 Thread Filip Kinsky
Hello, I was trying Visual Studio 2015 CTP and got ASP.NET 4.6 upgrade during the VS installation. I use Windsor WCF integration, which seems to get broken due to this upgrade. I'm injecting Castle.Facilities.WcfIntegration.IWcfClientFactory to my services and use this simple extension method

Re: Windsor WCF integration broken after ASP.NET 4.6 upgrade

2015-04-14 Thread Filip Kinsky
I just created an issue for this problem: http://github.com/castleproject/Windsor/issues/84 On Monday, March 30, 2015 at 5:01:23 PM UTC+2, Filip Kinsky wrote: The same error ocurs after recent Windows 10 Windows Update when ASP.NET 4.6 runtime upgrade was delivered btw. On Mon, Mar 30