Asp.net Web forms

Introduction
Asp.net web forms has been serving successful web application development  for last 12 years. It is due to RAD(Rapid Application Development) and visual programming approach. The name of Microsoft's IDE(Integrated Development Environment)
is "Visual Studio".
In Asp.net web forms default response is always HTML .If we want to return something other than HTML We have to create HTTP handlers, override content type,do Response.End etc.

The visual RAD architecture of Microsoft has two components. They are
1.UI- ASPX
2.Code Behind-ASPX.cs

Problems in web forms

Performance
It's the biggest problem in web forms. The main reason for this is, conversion from sever controls to HTML controls. This conversion happens for every request. It will take more time to convert If we have data controls such as Gridview,Treeview etc.
The other cause of performance is ViewState. It does a good job that saves states between postbacks. However ViewState increases the page size twice as compared to simple Asp.net web forms.

Solutions
The solution would be ,move the code behind to a separate simple class library and get rid of Asp.net server controls and write simple HTML.

Comments

Popular posts from this blog

Types of Architects

Basic measurements

Search html table contents based on its td using Jquery