CodeFile (asp.net 1.1)
- includes a namespace
- public partial (Introduced in 2005)
- doesn’t use the designer.vb file
CodeBehind (introduced with asp.net 2.0)
- Inherits=”SiteMaster” not needed on code behind (optional)(supposedly)
- Uses a designer.vb file
- when creating a new form
- the helloworld.aspx says Inherits=”ui.HelloWorld”.
- the helloWorld.aspx.vb does not have a namespace statement.
- public class HelloWorld
- when creating a master page
- the site1.master has Inherits=”ui.site1”.
- the site1.master.vb does not have a namespace statement.
- Public Class Site1