I know Owin middlewares configured assemblying a pipeline for every request just like classic asp.net pipeline. However, how to have certain middlewares run only once the application starts just like Application_Start?
Owin middlewares are supposed to replace the asp.net pipeline. So if Global.asax is removed, using Owin middlewares can process requests in the same way. But I don't see how Owin define which middlewares run only when application starts such as singletons, global static variables etc..
Thanks