简体   繁体   中英

Choice for WCF Service Hosting with IIS or Self Hosting with Windows Service

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.

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

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.

  • We're expecting 120 concurrent request / second. (May be 12,000 request/visit per day)
  • Security aspect (Specially WCF Service security)
  • Maintainability
  • Handling user's concurrent request at the same time (Can Windows Service handle multiple concurrent request comparing to IIS?)

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

Thanks in advance.

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

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

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

选择Internet服务的主机

Choosing a host for Intranet service: For an intranet application (that is, an application that receives calls from clients within the same intranet), 选择Intranet服务的主机

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM