I am developing a web application in ASP.NET MVC , I am newbeei, I have a usecase I am entering some values in table along with status, say"Active", After sometime say half an hour those status should be updated to "Inactive" in a background task , I am using MS Sql
我在ASP.NET MVC中开发一个Web应用程序,我是newbeei,我有一个用例我在表中输入一些值和状态,说“活动”,过了一段时间后说半小时这些状态应该更新为“非活动” “在后台任务中,我正在使用MS Sql
Please me provide me with a solution
请我给我一个解决方案
1 个解决方案
#1
0
you need to use Windows service for this and schedule it to run each half hour check the following examples :
您需要使用Windows服务并安排它运行每半小时检查以下示例:
http://www.aspfree.com/c/a/C-Sharp/Timer-Objects-in-Windows-Services-with-C-NET/
#1
0
you need to use Windows service for this and schedule it to run each half hour check the following examples :
您需要使用Windows服务并安排它运行每半小时检查以下示例:
http://www.aspfree.com/c/a/C-Sharp/Timer-Objects-in-Windows-Services-with-C-NET/