Start page in Azure

19 Nov

I have just completed a very exiting Silverlight project hosted in Windows Azure. One challenge I had during the development was setting the start page in the web role project.

During development this of course wasn’t an issue – I just right clicked the page I wanted as startpage as selected “Set as Start Page”.

When I deployed to Azure the start page wasn’t recognized. To set the start page in Azure it is necessary to do one of two things: 1) Implement a start page called “Default.aspx” or 2) specify the start page in the web.config file:

2010-11-19_002433

Setting the defaultDocument value in the web.config fixed my issue.

by xamlgeek
@thomasmartinsen

3 Responses to “Start page in Azure”

  1. sm July 20, 2012 at 04:00 #

    i trying an asp.net application to be deployed on azure, i prefer the startup page to be a home page located in /account/home.aspx relative to my root directory. How to specify in this case?

  2. AnHund June 14, 2013 at 13:35 #

    Hi, thanks a lot for the advice, Worked perfectly.

  3. pritinp July 23, 2015 at 15:29 #

    You are a star! This worked perfectly – Back on the road with ASP.net!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: