I'm currently learning Startup.cs and OWIN.

Let's say that I have this context class that does CRUD and I plan to reuse it throughout my application. For the sake of practice, I'm gonna inject it to my Startup.cs.

Should I make the implementation be asynchronous If I plan to only have a single instance of it?


extra question: Is the Startup.cs only fired once after the application server is started?

Related posts

Recent Viewed