What are all the hooks in the OWIN startup class? There is little information about this.
For example, one hook is required for each Startup class, since it must have a Configuration
method. This information may be collected from Microsoft documentation .
class Startup { public void Configuration(IAppBuilder appBuilder) { ... } }
What is the rationale for the lack of an IOwinStartup
interface or an IOwinStartup
base class in the framework?
interface IOwinStartup { void Configuration(IAppBuilder appBuilder); }
How to clean up for my OWIN based application? Does OWIN discover the Dispose
method in the Startup class, much like it does the Configuration
method?
After a lot of searching, I found this related question: In the OWIN Web API self-service, how do I run the code on shutdown? It is unclear how people answered that the question came to the necessary information. Am I missing critical documentation or are these details of the OWIN startup class elusive as it seems?
source share