May 2008 Issue

Contact Us or Back
 
 

Upgrading from ASP to ASP.net

You might have run your website with ASP for years and that too very successfully but here is the time to upgrade your website platform.

There are many advantages to porting your application from ASP to ASP.NET. Some of the biggest advantages include:

  • Increased performance: Microsoft tests have shown that ASP.NET applications can handle two to three times the requests per second as classic ASP applications.
  • Increased stability: Processes are closely monitored and managed by the ASP.NET run time, so that if one misbehaves (leaks, deadlocks), a new process can be created in its place, which helps keep your application constantly available to handle requests.
  • Increased developer productivity: New features like server controls and event handling in ASP.NET help developers build applications more rapidly and in fewer lines of code. It is also easier than ever to separate code from HTML content.

In contrast to ASP which provides only six elementary controls, and while ActiveX controls ASP.NET provides several types of controls. Developers use these controls by inserting tags  into their dynamic Web pages or by using the graphical page editor of Visual Studio.NET.

  • Server-side versions of existing HTML controls such as a button (HTMLButton) and radio button (HTMLInputRadioButton) control. The main difference between existing HTML tags for forms and ASP.NET HTML controls is the "runat=server" attribute, which means that code executes on the server to expose the control on the client.
  • Web Form controls, which are server-side controls that duplicate some of the HTML controls, plus add new and more complex controls such as text boxes (<asp:TextBox>), list boxes, calendars, and data grids. These controls are easier to use than HTML controls in that properties such as size are used in a consistent manner across all of the controls.
  • Validation controls, which are controls that link to both HTML controls and Web Form input controls (such as text boxes). Validation controls can validate user input by performing a comparison, checking the range of the input, or applying a custom validation code.

All of these controls reduce the amount of code that developers have to write; the developer need only position the control on a page, initialize the control’s properties and methods, and then write code to respond to events the control might generate as a result of some action by the user (such as clicking on a button). These controls also support data binding so that a developer can easily associate the values assigned to a control with specific information retrieved from a database.

We at A-1 Technology can assist you upgrading your website from ASP to ASP. net, click here to contact us.