1

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?

Eugene Goldberg
  • 14,286
  • 20
  • 94
  • 167

0 Answers0