title: Best way to create an asp.net page dynamically
body: <p>i have to create an asp.net page dynamically on runtime.</p>
  
  <p>It should work like this:</p>
  
  <p>1) User logs in using <code>&lt;authentication mode="Windows" /&gt;</code> <br />
  2) A CheckUser(string Username){} will be send to the webservice which connects to a MySQL database and response with true or false. <br />
  3) if the checkuser was true the webservice will check in which roles the user is. <br />
  4) depending on the roles an aspx page should be dynamically created with different controls and with different content</p>
  
  <p>what's the best way to do it?
  im working with .NET 2.0</p>