Vignesh Kumar

Vignesh Kumar

  • NA
  • 1k
  • 404.6k

Make a page as default home page in VS 2010 for an app

Dec 3 2013 3:08 AM
Hi,

I have a page called profile.aspx. Whenever I run the VS 2010 solution, this profile.aspx has to appear as the home page in the browser. I tried this in web.config file and didn't worked. How can I make it?

<system.webServer>
  <defaultDocument>
  <files>
  <clear />
  <add value="Profile.aspx" />
  </files>
  </defaultDocument>
</system.webServer>

and

<authentication mode="Forms">
 <forms defaultUrl="Profile.aspx" timeout="2880"/>
</authentication>


Answers (3)