Hi there,

I would like to ask what is the proper way of configuring WcfFacility
to host Wcf services within a Windows Service executable? I hope that
people out there don't use only IIS to host Wcf services!

This is what I've got now in my code:

container = new WindsorContainer();
container.AddFacility<WcfFacility>(f => f.CloseTimeout =
TimeSpan.Zero);
container.Register(Component.For<Service>().LifeStyle.PerWcfOperation().AsWcfService());

My service configuration is in app.config as I have quite complex
binding and behavior configurations.

Can someone here please provide me with some guidance as this is the
first time I encounter something in Castle that doesn't really work
after spending a lot of time on it. I went through some of the unit
tests in WcfFacility source but wasn't able to see anything different
there from what I do.

Thanks in advance.

P.S. I've got another question regarding Windows service crashing
while using WcfFacility but no-one seems to be able to help (http://
groups.google.com/group/castle-project-users/browse_thread/thread/
71a91a126ea15d2c).

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to