I'm tried to automatic start IIS WebApplication
.
I want to be able to call to Application_Start
inside my global.asax
but its happend only after the first request to my web application.
How can i do it when the IIS server is started??
Thanks.
You can implement System.Web.Hosting.IProcessHostPreloadClient interface and load your datas in the Preload method. You then need to configure a serviceAutoStartProviders in IIS.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.