I have an ASP.NET/C# web application hosted in IIS6. My requirement is to send mail whenever the Site is disconnected without using a third-party tool. How can I do this work programmatically (of course using C #)?Thanks in advance!!!!!
You need a PC that is as independent as possible from WebServer. Ideal on the other side of the world.
Then run a small timer program and check every X minutes. Make a simple capture using WebClient. If this fails, send a message.
.
"". , - . , , . , -, - , HTTP, , , , , HTML .
, , , IIS ..
, , , .
Source: https://habr.com/ru/post/1762440/More articles:Getting rid of nested foreach loops using linq - optimizationTable does not show table relationships after importing database - mysqlПреобразование utf-8 std::string в std:: wstring на iPhone - c++Delete entry from file? - cSpecify the default element for HTML form drop-down forms - htmlWhy does Firefox finish my applet in 20 seconds? - javaWhat are the principles of a C ++ event system? - c ++How to reassign a character to call another function - gccHow to change scroll bar in textbox? - htmlHow to save a large amount of data in the users browser? - jqueryAll Articles