Yang
Yang

Reputation: 6892

Change the default path of ASP.net website

When debugging my current solution, it always output to mylocalhost:port/default.aspx. How to I force it to output to another path like mylocalhost:port/Default/default.aspx?

Upvotes: 0

Views: 339

Answers (2)

mehdi
mehdi

Reputation: 1755

right click on your project select properties (or press F4) and you can change port number, and virtual path like \default

Upvotes: 2

Karl Anderson
Karl Anderson

Reputation: 34846

You need to change it in your web application's settings (right click project and choose Settings from menu or Alt + Enter), like this:

enter image description here

Upvotes: 0

Related Questions