title: How to set the Default Page in ASP.NET?
body: <p>Is there any section or code which allows us to set default page in <code>web.config</code>?</p>
  
  <p>For example, when people first visit my website, I want them to see <code>CreateThing.aspx</code> rather than <code>Default.aspx</code>.</p>
  
  <p><strong>The solutions I already know:</strong></p>
  
  <ol>
  <li><p>Put this line of code => <code>Response.Redirect("CreateThings.aspx")</code> in <code>Default.aspx</code> <code>Page_Load</code> event but this method is really naive.</p></li>
  <li><p>We can use IIS (default page configuration,) but I wanna do the same thing over on my ASP.NET application.</p></li>
  <li><p>This could be another solution for now:</p>
  
  <pre><code>&lt;defaultDocument&gt;
      &lt;files&gt;
          &lt;clear /&gt;
          &lt;add value="Default.aspx" /&gt;
          &lt;add value="Default.htm" /&gt;
          &lt;add value="Default.asp" /&gt;
          &lt;add value="index.htm" /&gt;
          &lt;add value="index.html" /&gt;
          &lt;add value="iisstart.htm" /&gt;
      &lt;/files&gt;
  &lt;/defaultDocument&gt;
  </code></pre></li>
  </ol>