I have a need to pre-load some Entity Framework data upon application start up in my OWIN / TopShelf self-hosted application. What is the technique for initializing the EF DbContext, and pulling up data, as this self=hosted app starts up? Should this be done in the Startup.cs file or elsewhere?
Asked
Active
Viewed 45 times