Normally visual studio support in two code models when coding a web page.
1. Inline code
2. Code-behind
Inline code
This is the common model in use in traditional ASP and when develop a simple web application. Under this model all coding and HTML stuff pack in signal .aspx file. This model become to handy because it keep every thing in place.
Code-behind
In this model there are two file behind one web page. The .aspx file is included HTML markup and control tags when included all code (C#, C++, J#) in a.cs (if programming language is C# ).
In visual studio we have freedom to select one of these two option when we create a webpage.
File->New
Comments
Post a Comment