ASP.NET
ASP.NET is a web application framework developed by Microsoft, that programmers can use to build dynamic web sites, web applications and web services. First released in January 2002 with version 1.0 of the .NET Framework, and is the successor to ASP technology. ASP.NET is built on the Common Language Runtime, allow the programmers to write ASP.NET code using any supported .NET language.
Pages
ASP.NET pages, called as “web forms”, are the main structure block for application development. Web forms are enclosed in files with an ASPX extension, these files contain static HTML or XHTML markup, as well as markup defining server-side Web Controls and User Controls where the programmers place all the required static and dynamic content for the web page. Dynamic code which runs on the server can be located in a page within a block which is similar to other web progress technologies such as PHP, JSP, and ASP.
Code-behind model
It is suggested by Microsoft for dealing with dynamic program code to use the code-behind model, which seats this code in a separate file or in a specially designated script tag. Code-behind files typically have names MyPage.aspx.cs or MyPage.aspx.vb based on the ASPX file name. When using this style of programming, the developer write code to reply to different events, like the page being loaded, or a control being clicked.
ASP.NET’s code-behind model marks a departure from Classic ASP in that it encourage the programmers to build application with separation of presentation and content. In theory, this would allow a web designer, to focus on the design markup with less possible for disturbing the programming code that drives it.
No comments yet.