开发者

ASP.Net Web Site running in IIS - change to ASP.Net Development Server

开发者 https://www.devze.com 2022-12-19 22:20 出处:网络
My client gave me this web solution, in it various projects, and the problematic project (for me) is the Web Site.

My client gave me this web solution, in it various projects, and the problematic project (for me) is the Web Site.

I've copied the code to test web server (2008) and installed VS 2008 so I could step through the code on the server due to some weirdness.

Anyhow, when I open the solution locally on my personal computer, it runs on Cassini (http://localhost:3452/MyApp) because I'm not on a server OS. However, when I run the app on the web server, when I hit F5, it runs oh http://localhost/MyApp.

When I'm running the code on the serve开发者_如何学JAVAr, how do I point the web site to use Cassini?

Thanks for your help in advance! tperri


In the web tab of the project settings, you should be able to specify which web server to use. However, there is no need to change the server for debugging - simply attach the debugger (Debug/Attach to Process) to w3wp.exe.

0

精彩评论

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