Introduction to ASP.NET

ASP.NET web forms can be developed using two techniques.
  1. In page Technique
  2. Code File Technique
In page Technique:
when the presentation logic(Design) and the business logic(code) are present with in the same web form then it is said to be an in page technique.
Advantage:
  • Deployment will be very easy.
  • If any errors occurs in any web forms it will not effect the other web forms present with in the application.
  • Maintenance will be easy. 
Limitations:
  • since the business logic (code) is present with in the web form the complete code has to be given to clients.
  • Code re-usability cant be achieved.
Code File Technique:
It is the default technique. When the presentation logic (Design) and business logic (Code) are separated into different files then it is said to be Code file technique.
Advantages:
  • The code present with in the code file will be compiled to class library (.dll) files and will be uploaded to the server along with .aspx file and  hence the complete business logic will be abstracted.
  • The code present with in the code file can be used with in any number of web forms.
Limitations:
  • If any error is present in any single web form the the entire website many not function properly.
  • Maintenance will be very difficult.
Note: Both In page technique and Code file technique can be used with in the single application.

 

 

No comments:

Post a Comment