任何有关如何创建ASP.NET MVC 2网站并针对本地IIS Web服务器(不使用Cassini)运行的教程) [英] Any tutorials about how to create an ASP.NET MVC 2 website and run it against Local IIS Web Server (not use Cassini)
问题描述
是的,我尝试了谷歌,但我没有得到一些好的关键字等。
干杯:)
这是我的步骤:
在IIS,站点 - >添加网站...
- 填写所需的名称。
- 设置应用所在的物理路径。
- 在主机名称选项中,键入local.test.com
- 点击OK
然后我更新位于$ windir $ \System32\drivers\etc
中的主机文件添加行
127.0.0.1 local.test.com
不要忘记在创建的网站的应用程序池中更改框架版本。
我确定必须有其他方式,我只需按照这一步骤,每次我想在我的本地IIS创建一个新的网站,它的工作。
祝你好运!
does anyone have any good links/tutorials about how to create a simple ASP.NET MVC website, and have it run against a Local IIS7 Web Server, instead of the default Visual Studio Development Server (aka Cassini).
Yes, i tried google, but i fail at getting some good keywords, etc.
Cheers :)
Here are my steps: In IIS, Sites -> Add Web Site...
- Fill in the name, whatever you want.
- Set the physical path where your app is located.
- In the Host Name option, type for example local.test.com
- Hit OK
Then I update the hosts file located in $windir$\System32\drivers\etc Adding the line
127.0.0.1 local.test.com
Don´t forget changing in the application pool of the created website the framework version.
I´m sure there must be other ways, I just follow this steps every time I want to create a new site in my local IIS and it works.
Good luck!
这篇关于任何有关如何创建ASP.NET MVC 2网站并针对本地IIS Web服务器(不使用Cassini)运行的教程)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!