简体   繁体   中英

A asp.net page that tracks changes of a web page?

An asp.net page that tracks a web page changes. and if any changed occurred then it should send mail to my mailbox which I have configured using smtpclient.

I've coded for this task, but don't know where to place the code which section is executed always? Is there any possibility for this?

If not, then this page should be opened (viewed) always(24x7) or is there any way to open my asp.net page in the server?

It sounds like you want your "monitoring" code to run often (continuously?) and watch other pages to see if they change.

You will need something repetitive: like a windows service. This has been my option when I've needed to do this. Other options, although I have no personal experience, include Quartz.Net that allows you to schedule ASP.NET tasks.

However, this is precisely why RSS was invented. To allow others to passively monitor changes in websites.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM