开发者

IIS Express or IIS for developing Classic ASP?

Wondering if I should stick with testing on my local IIS install or just use the Express version. Any开发者_运维问答 reason why or why not?


generally, I would try to have the development / testing environment resemble your live environment as closely as possible.
so if you're using IIS in production, I'd recommend using it in development also.

I cannot tell you how many times I've seen web apps working perfectly on the development machine using IIS6, and crashing completely on IIS7.


I suggest this configuration:

  • IIS Express on the developer machine
  • same IIS as in production on a staging machine

IIS Express is the best choiche on your local computer because it's easy and fast to install and configure and doesn't require administrative rights to be installed. It's completely integrated with Visual Studio and it has all the functionality of IIS. And the configuration is in the source code repository so each developer can checkout the solution and is able to run it with minimal effort.

As sJhonny suggests is recommended to have an environment closer as possible to the production environment. The best way is to have a staging server with the same software configuration of the production server, in your case with the same IIS complete version (it's enough a virtual machine).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜