如何实现后台处理的ASP.Net MVC的网站在一个共享的主机环境? [英] How to implement background processing for ASP.Net MVC website in a shared hosting environment?

查看:182
本文介绍了如何实现后台处理的ASP.Net MVC的网站在一个共享的主机环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用ASP.Net MVC我的第一个Web应用程序,我在一个情况下,我想一个后台服务来处理状态通知的应用程序之外,没有什么不同计算器上的声誉/徽章系统。

I am developing my first web application using ASP.Net MVC, and I am in a situation where I would like a background service to process status notifications outside of the application, not unlike the reputation/badge system on stackoverflow.

什么是处理这样的事情的最好方法?它甚至有可能像Godaddy的,而我使用的是共享主机的环境。

What is the best way to handle something like this? Is it even possible in a shared-hosting environment like Godaddy, which I am using.

我不需要直接与背景工人沟通,因为我会加入通知记录到数据库表列集到一个未处理状态。然后工人将只扫描定期调度表和流程是什么准备好了。

I don't need to communicate with the background worker directly, since I will be adding notification records to a database table with a column set to an "unprocessed" state. Then the worker will just scan the table on a regular schedule and processes what is ready.

谢谢你的建议。

推荐答案

你有没有试过 quartz.net ?我认为它可能适合您的需求。

Have you tried with quartz.net? I think it may fit your needs.

这篇关于如何实现后台处理的ASP.Net MVC的网站在一个共享的主机环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆