Is there a recommended practice for supporting self-hosting and web-hosting simultaneously?
I had a lot of issues to work through. Because of HttpContext.Current is not set and The GlobalConfiguration is not accessible in self-hosting, autofac does not work properly.
Are there any other issues to be aware of?