Tell me what you think: Changing file etension from .html to .aspx

  • Thread starter Thread starter Guest
  • Start date Start date
The article says it all really. Nothing is proccessed on the page
unless it has runat="server" in the tag.
 
Well, if you have a static html page, the resulting compiled page class
generated by the runtime will look something like this:

Public Class PageX

Protected Sub Init()
dim local1 as new LiteralControl("<html><head>.......your page
content....</body></html>")
me.controls.add(local1)
End Sub

instead of loading a file, it will execute a method on a class im memory.
 
Back
Top