title: Best practices in using URL Rewriter
body: <p>I have an ASP.NET web application and I'm using the URL Rewriter in IIS. I want to make the URL's simple and meaningful so I created a rule in IIS for every page like this:</p>
  
  <ul>
  <li>MySite/Admin/AddEditStudent.aspx will be "MySite/Student/New"</li>
  <li>MySite/Admin/AddEditStudent.aspx?ID={Number} will be "MySite/Student/{Number}"</li>
  <li>MySite/Admin/Students.aspx will be "MySite/Students"</li>
  <li>MySite/Admin/AddEditBook.aspx will be "MySite/Book/New"</li>
  <li>MySite/Admin/AddEditBook.aspx?ID={Number} will be "MySite/Book/{Number}"</li>
  <li>MySite/Admin/Books.aspx will be "MySite/Books"</li>
  <li>....</li>
  <li>....</li>
  <li>....</li>
  <li>And so on</li>
  </ul>
  
  <p>I have many pages and I'm afraid I might be using the wrong away lthough the above is working fine. I thought there might be a way to use fewer number of rules in a general way.</p>
  
  <p>My second question is about the home page. Currently it's like this:</p>
  
  <ul>
  <li>MySite/Public/Home.aspx will be "MySite/Home"</li>
  </ul>
  
  <p>However, I want it to be only "MySite" without needing to add the "/Home" part. Is it possible to do it this way?</p>
  
  <p>Thanks in advance,</p>
  
  <p>PS: "MySite" is a replacement of the localhost which I made in the host file, but when I deploy the application on production it will be the DNS name.</p>