且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

自托管asp.net的MVC

更新时间:2023-02-15 21:14:54

您可以使用IIS 7.0承载Web核心和承载Web服务器的任何用户程序的一部分,甚至是控制台应用程序。这样做的好处是,它是非常相似的完全成熟的IIS(包括配置等),但本身在过程运行Web服务器

You can use "IIS 7.0 Hostable Web Core" and host the web server as part of any user process, even a console application. The benefit is that it is very similar to full blown IIS (incl config etc) but the web server itself is running in your process.

看一看下面的文章:


  1. 托管自己的Web服务器中使用IIS 7.0承载Web核心

  2. 创建托管的Web核心应用程序

  1. Host your own Web Server in your application using IIS 7.0 Hostable Web Core
  2. Creating Hosted Web Core Applications