English 中文(简体)
• 如何在妇联实施一个方案?
原标题:How to run a program in WCF?

我是妇联的新鲜事,我正在设计一个项目,希望实施一个拖网方案(编号为C#),使一些网站的拖网者,并在数据库表(sql服务器 db)中储存无计划数据。 我希望该拖网在30分钟后多次运行,并更新数据库。

然后,我想在我的东道平台上利用这一服务,以便我能够使用表格中的数据(即:aspx页)。

能否为此利用世界合作框架?

请建议我如何行动?

增 编

最佳回答

您可以利用妇女论坛的服务来做到这一点,但我将再作一次安排:

  1. I d 建造一个视窗应用程序,预定视窗任务表管理人每30分钟操作一次。 简单的假释申请可能会被罚款。

  2. 我利用一个网络应用程序(可能是ASP MVC)查询数据库。

各位可以看到,根本不需要利用世界合作框架。

如果服务器不是你的服务器,但你正在使用一种主机,使你无法安排视窗工作,则可以/必须例外。 在此情况下,你可能希望通过网络应用手头来管理拖网进程,并在30分钟后重复。

一些主办机构的确允许安排任务,但以不同的方式,可能值得调查。

问题回答

Windows Communication Foundation (WCF) is responsible for communication between 2 points with different sources technology. 如果你想要在两个无分之道的技术之间发送/接收某些数据,你将使用WCF(TCP/UDP/NetPipe/MSMQ ,......)。

But you first need to design you crawler application which is configured to fetch data from your target web sites, then you need to design a schedular application using http://quartznet.sourceforge.net/
to run your crawlers.

如果你需要与中心服务器进行复制或同步,那么你可以在网页上运行和存储之后使用周转基金,但这是任择的。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签