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

巧了我就是萌 提交于 2019-12-21 04:30:18

问题


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.)


回答1:


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)

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



来源:https://stackoverflow.com/questions/9800898/choice-for-wcf-service-hosting-with-iis-or-self-hosting-with-windows-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!