How does IIS know if it's serving a Web Site or a Web Application project?

后端 未结 4 955
日久生厌
日久生厌 2021-02-01 08:58

I understand that Web Site Projects compile source on-the-fly, and Web Application Projects pre-compile source into a DLL (much like ASP.Net 1.x).

But how is the differe

4条回答
  •  Happy的楠姐
    2021-02-01 09:44

    All IIS does is pass the incoming request to the appropriate handler. In the case of an ASP.NET site/application it is aspnet_isapi.dll. The handler then takes care of everything from there.

提交回复
热议问题