﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ruprict commented on WCF Windsor Integration</title><description>Mate, this is so cool.  I created an IErrorHandler to log errors, passing in the ILogger from the Windsor facilities.  Now the service and the error handler can use the same logger, all done dynamically at runtime.
  
  
Thanks!
</description><link>http://ayende.com/2548/wcf-windsor-integration#comment7</link><guid>http://ayende.com/2548/wcf-windsor-integration#comment7</guid><pubDate>Fri, 15 Jun 2007 17:13:06 GMT</pubDate></item><item><title>Andrew commented on WCF Windsor Integration</title><description>In order to get the demo working I had to change Global.asax 
  
  
from
  
&lt;%@ Application Codebehind="Global.asax.cs" Inherits="Global" Language="C#" %&gt;
  
  
to
  
&lt;%@ Application Codebehind="Global.asax.cs" Inherits="Castle.Facilities.WcfIntegration.Demo.Global" Language="C#" %&gt;
</description><link>http://ayende.com/2548/wcf-windsor-integration#comment6</link><guid>http://ayende.com/2548/wcf-windsor-integration#comment6</guid><pubDate>Thu, 14 Jun 2007 11:59:51 GMT</pubDate></item><item><title>Ayende Rahien commented on WCF Windsor Integration</title><description>Yes, I would.
</description><link>http://ayende.com/2548/wcf-windsor-integration#comment5</link><guid>http://ayende.com/2548/wcf-windsor-integration#comment5</guid><pubDate>Wed, 13 Jun 2007 18:10:28 GMT</pubDate></item><item><title>Andrew commented on WCF Windsor Integration</title><description>Would you be able to add to the overall Castle NANT build the build of this facility so that we can build trunk of Castle and get this binary to show in the build folder
</description><link>http://ayende.com/2548/wcf-windsor-integration#comment4</link><guid>http://ayende.com/2548/wcf-windsor-integration#comment4</guid><pubDate>Wed, 13 Jun 2007 18:06:46 GMT</pubDate></item><item><title>Ayende Rahien commented on WCF Windsor Integration</title><description>You don't have the correct versions of the DLLS installed.
  
Probably mean that you need to rebuild the trunk.
</description><link>http://ayende.com/2548/wcf-windsor-integration#comment3</link><guid>http://ayende.com/2548/wcf-windsor-integration#comment3</guid><pubDate>Wed, 13 Jun 2007 17:14:15 GMT</pubDate></item><item><title>Christian KLAT commented on WCF Windsor Integration</title><description>I've been trying to use your WCF Facility and have been confronted to a recurrent problem in the WindsorServiceHost.cs
  
  
the part of the code that resolves and injects the ServiceBehaviors and EndpointBehaviors throws an exception. I haven't been able to trace it doesn't enter in the OnOpening Method.
  
  
I'm not familiar with the MicroKernel Implementation have just been using the Windsor API. So the whole concept of handlers and CreationContext is not really clear to me.
  
  
I would really appreciate some help here 
  
  
Thanks a lot !
  
  
Here is the Exception:
  
  
Field not found: 'Castle.MicroKernel.CreationContext.Empty'.
  
  
StackTrace:
  
  
[MissingFieldException: Field not found: 'Castle.MicroKernel.CreationContext.Empty'.]
  
   Castle.Facilities.WcfIntegration.WindsorServiceHost.OnOpening() +0
  
   System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +236
  
   System.ServiceModel.Channels.CommunicationObject.Open() +30
  
   System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +104
  
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +445
  
  
[ServiceActivationException: The service '/WebServiceHost/AccountsService.svc' cannot be activated due to an exception during compilation.  The exception message is: Field not found: 'Castle.MicroKernel.CreationContext.Empty'..]
  
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +962
  
   System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) +419
  
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest() +260
  
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest() +760
  
   System.ServiceModel.Activation.HostedHttpModuleRequestAsyncResult.BeginRequest() +178
  
   System.ServiceModel.Activation.HttpModule.StartBeginProcessRequest(Object sender, EventArgs e, AsyncCallback cb, Object extraData) +70
  
   System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +195
  
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
  
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +64
</description><link>http://ayende.com/2548/wcf-windsor-integration#comment2</link><guid>http://ayende.com/2548/wcf-windsor-integration#comment2</guid><pubDate>Wed, 13 Jun 2007 17:12:29 GMT</pubDate></item><item><title>Christian KLAT commented on WCF Windsor Integration</title><description>Thanks for that !
  
  
Could you provide an example of how to use that in an NHibernate + UoW scenario please.
  
</description><link>http://ayende.com/2548/wcf-windsor-integration#comment1</link><guid>http://ayende.com/2548/wcf-windsor-integration#comment1</guid><pubDate>Tue, 12 Jun 2007 13:10:36 GMT</pubDate></item></channel></rss>