Have an all RESTful service built using .NET core 1.1. No front end. This includes a couple of background tasks that run every other hour. These tasks get bootstrapped (invoked) under the Configure method in the Startup class.
For some reason, nothing gets called when I publish my app onto Azure. It seems that nothing gets runned in the Startup class at all. I have to explicitly invoke a RESTful service to "start" it up and then everything seems to run fine.
I believe I'm doing something wrong here. Is there a way to bootstrap my background tasks immediately when application gets published onto Azure? I don't want to have to manually invoke a rest service just for the app to start up.