Make my asp.net mvc web application always running


#1

I have an asp.net mvc web application hosted in the cloud at a shared server. Once the first visitor wakes up the site it performs quite well. However traffic is not very frequent causing the app to cool down after 20 min and the next first visitor has to wait for quite a while till the site responds.
Question:
Can I use hangfire to run a background-job in order to keep my website always warm (running)?
Regards, Manu


#2

I don’t think hangfire can help you with that. In fact, hangfire needs your application to be active to keep working. See the first paragraph from this page:
http://docs.hangfire.io/en/latest/deployment-to-production/making-aspnet-app-always-running.html