ASP.NET Development Server or Localhost IIS?

前端 未结 11 625
北海茫月
北海茫月 2020-12-05 01:02

Currently our dev team set up all the websites they\'re working on in IIS on their local machine. We\'re thinking of switching to using the built in ASP.NET development serv

11条回答
  •  -上瘾入骨i
    2020-12-05 01:17

    Another distinction I noticed is that Cassini runs as a 32-bit process and you have no control over it, whereas you can control the application pool of your IIS app to disallow 32-bit (assuming your IIS is running on a 64-bit server). This becomes especially important if your web application is going to call APIs in 64-bit processes such as SharePoint Foundation/Server 2010. When you debug your web app with Cassini as your debug server, you'll get "The Web application at url could not be found. Verify that you have typed the URL correctly" type errors when instantiating objects. If you debug using IIS with the app running in an app pool that runs as 64-bit with an identity that allows access to sharepoint database then you'll be able to debug properly.

提交回复
热议问题