开发者

Run a ASP.Net webpage from IIS in a machine without Visual Studio

this may be a simple question but until now I always created a web site with Visual Studio and ran it via Visual Studio. 开发者_JAVA技巧But now I have to run it in a computer that doesn't have Visual Studio. I'm guessing I have to install IIS but I don't know how to run that website. How can I do it? Thank you.


You'll need to install IIS on that machine, then set the folder with the site in it as a Virtual Directory. IIS will handle everything else from there.

Assuming you set everything up correctly, you should be able to access the site like so:

http://localhost/whateveryourfolderis


ASP.NET and IIS Configuration


you have to install iis 7 or higher version for run .net application if you use windows xp so you have to upgrade it with Service Pack 3 it provide iis 7 for .net application

after install IIS put you application in INITPUB dir in C: run in browser with http://localhost:80/applicationname

it working

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜