How do I get a .Net Core website hosted in IIS to start immediately?

后端 未结 3 1745
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-18 10:41

This blog post explains how when a .Net Core website is hosted in IIS, the website code does not actually get run until the first request comes in to IIS:

https://we

3条回答
  •  悲哀的现实
    2021-01-18 11:06

    If you are using IIS there is a checkbox which starts the website immediately, you can try that on IIS settings.

    UPDATE: see point 6 from below article:

    https://docs.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x

提交回复
热议问题