I've SignalR 2.x and ASP.NET with ServiceStack framework. It makes to entry points, one per each pipeline:
- Startup.Configuration(IAppBuilder app) -- for SignalR startup configuration and
- Global.Application_Start() in Global.asax.cs -- for initializing the standard ASP.NET pipeline.
I'd like to pass some object that has been created in Application_Start() into Configuration() (e.g. IOC instance). For this I'd like to be sure that Configuration() will be called after Application_Start().
I found this stackoverflow question. What bothering me is the slightly later
definition. Does it mean the execution is overlapped? Is it promised that the code in Configuration() will be called after Application_Start() for sure?
Does anybody know how it is exactly working and what is this delay? Has anyone had an experience with coding these methods?
Thank you