T
T
ThiefOfMists2017-09-13 15:34:24
ASP.NET
ThiefOfMists, 2017-09-13 15:34:24

ASP.NET MVC IIS server auto warmup?

If you do not access the site for a long time, then it gives the page for a very long time, as if compiling the project, after which the page returns normally (from other browsers, etc.). So here's how to automatically warm up the IIS server? I don't have access to Application Pools, that is, I can't set up IIS on the hosting, so I can't use this method Autostart ASP.NET applications . Also Turning on Start Mode to Always Running in MVC App... the method of using third-party resources that send messages to the server to warm up at a certain frequency is not suitable. I heard that you need to configure something in web.config'e, but I couldn't find anything.
PS Also found When you first visit the site, which is spinning on IIS..., but here they solve the problem on the part of IIS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanostee, 2017-09-13
@andrewpianykh

You can use services to check availability, for example, https://uptimerobot.com/ (free up to 50 sites).
Create an HTTP monitor and set the check interval to 5-15 minutes.
This will keep your service from "sleeping")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question