How to configure IIS first time for any web app?
I have a website made in ASP.NET开发者_JAVA百科 .Currently is being opened directly with Visual Studio. Now i want this to be opened with localhost with IIS features enabled.
I need steps to make this website totally IIS enabled
1- You have to Publish your website with Visual Studio
2- Create a Virtual Directory (or Web Application ) on Your IIS
3- Map Your published website to IIS Alias
4- Change your web.config settings if it is necesary
5- Check if you need to add some new HttpModule to your application
6- Browse your website with http://Localhost/YourIISApplicationName
Check these tutorials How to setup an ASP.NET website with IIS & How to host an ASP.NET application in IIS the latter one uses IIS 7 (I guess)
精彩评论