frenchie
frenchie

Reputation: 51997

"Set as start page" and index.html

If I set page "MyPage.aspx" as the start page, do I also need an index.html file?

Thanks.

Upvotes: 1

Views: 1298

Answers (3)

user240141
user240141

Reputation:

As the above said , simply no. setting default page from IDE will automatically make it as default page. Only you have to do some settings in IIS that is from the properties of the web application, go to the tab where the default pages are displayed. Add the name of the page you have set from the VS IDE.

Upvotes: 0

Paweł Smejda
Paweł Smejda

Reputation: 2005

No you don't need, but you need to set your start page "MyPage.aspx as startup also on IIS.

Upvotes: 2

Brian Driscoll
Brian Driscoll

Reputation: 19635

Setting a page as a start page in Visual Studio only affects what page is loaded when you launch from the VS IDE. You'll have to configure IIS when you deploy if you want "MyPage.aspx" to be the default page that loads once your site is in production.

Upvotes: 6

Related Questions