且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在不打开浏览器的情况下从服务器运行功能

更新时间:2022-11-03 20:04:45

如果我理解你想要的场景定期在服务器上运行一些代码。如果是这种情况,那么我认为Windows服务更适合。
If I understood your scenario you want to periodically run some code on the server.If this is the case then I think windows service is better suited.


check ASP.NET中的简单后台任务 [ ^ ]
check Easy Background Tasks in ASP.NET[^]


探索



http://www.hanselman.com/blog/HowToRunBackgroundTasksInASPNET.aspx [ ^ ]



https://github.com/StephenCleary/AspNetBackgroundTasks [ ^ ]





http://hangfire.io / [ ^ ]
Explore

http://www.hanselman.com/blog/HowToRunBackgroundTasksInASPNET.aspx[^]

https://github.com/StephenCleary/AspNetBackgroundTasks[^]


http://hangfire.io/[^]