I have an ASP.NET web page running under IIS. I have a requirement where I need to log to event viewer when the webpage is restarted through IIS manager. I am not sure if this can be done through ASP.NET or can I turn on some options in IIS to capture the restart? Please help!
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.