Null User on HttpContext obtained from StructureMap
I haven’t worked with OWIN, but when hosting in IIS integrated mode the HttpContext is not populated until after the HttpApplication.Start event is complete. In terms of DI, this means that you cannot rely on using properties of HttpContext in any constructor. This makes sense if you think about it because the application should be … Read more