选择WCF服务与IIS或自我与Windows服务主机托管我与、主机托管、WCF、IIS

2023-09-04 02:11:08 作者:叶落纷飞飞满天

因为我们想用Asp.Net MVC 3,这里的关键是我们跟数据库的一切由WCF Web服务。开发新产品

As we want to develop a new product using Asp.Net MVC 3. The key point here is everything we talk to database by WCF web service.

我们都在阶段,我们需要确定我们是否在IIS或自托管的Windows服务主机WCF Web服务。

We are in the phase where we need to decide whether we host WCF web service in IIS OR self hosting with Windows Service.

我提出这个问题,只是因为我想知道的是,这将是更好的选择托管WCF服务,将满足我下面的条件。

I raised this question just because I want to know that, what would be the better option to host WCF service that would satisfy my below conditions.

我们正在期待120并发请求/秒。 (也许12000请求/每天参观) 在安全性方面(特别WCF服务的安全性) 可维护性 在处理用户的并发请求的同时(可以Windows服务处理比较多的IIS并发请求?)

请不要让我知道我是否去IIS托管或自托管的Windows服务。

Please do let me know whether I go for IIS hosting OR self hosting with Windows service.

在此先感谢。

(有谁请提出这个,因为这是有进一步处理的决定非常关键的一部分。)

(Could anybody please suggest on this as this is a very crucial part to have decision for further process.)

推荐答案

您可能会感兴趣,这是从的的编程WCF服务 ,Juval洛伊。

You might interest, This is the "general decision tree" from "Programming WCF Services", Juval Lowy.

选择一台主机的Internet服务:对于互联网应用程序(也就是在互联网上收到来自客户端的调用应用程序)

Choosing a host for an Internet service: For an internet application (that is, an application that receives calls from clients across the Internet)

选择一台主机内联网服务: 用于内联网应用程序(即,其内接收来自客户端的呼叫的应用程序 同一企业内部网)

Choosing a host for Intranet service: For an intranet application (that is, an application that receives calls from clients within the same intranet),