Hooking into AppInitialize with WCF service
Posted
by Mark
on Stack Overflow
See other posts from Stack Overflow
or by Mark
Published on 2010-03-25T17:21:10Z
Indexed on
2010/03/25
17:23 UTC
Read the original article
Hit count: 831
Hi,
Im having issues with my WCF service. I need to do a windsor container injection pre application_start and noticed i can use the AppInitialise method. It works on visual studio debug but when I deploy to IIS the code does not get fired.. I initialized the class as follows
public static class Class1 { public static void AppInitialize() { IWindsorContainer container; container = new WindsorContainer("windsor.xml"); container.AddFacility(); container.Resolve(); } }
Is there any special task i need to do to get this to work on IIS. Im using version 6.
Thanks!
© Stack Overflow or respective owner