Friday 13 May 2016

What is ASP.NET and Why we Use it ?

ASP short for Active Server Pages meaning that they execute on a web server and .NET is a framework developed by Microsoft .
ASP.NET is a Web development framework for building Applications like console based,mobile based ,web pages and web sites etc with HTML, CSS, JavaScript and server scripting,C#,VB.
ASP.NET supports three different development models:
(i)Web Pages :
Asp.Net Web Page is a single page model like classic Asp and Php.It also has no drag and drop server controls, server events and state management techniques.
 Asp.Net Web Page has built-in template and helpers also provide full control over markup.(we can use WebMatrix to develop asp.net web page)
(ii)MVC (Model View Controller) :
3 Components of Web Application by MVC are
  •  Models for data , 
  • Views for display , 
  • Controllers for input. 

It is lightweight, provide full control over markup and support many features that allow fast & agile development. Henec it is best for developing interactive web application with latest web standards.(Visual studio and Visual web developer are tools for developing ASP.NET MVC application)
(iii)Web Forms :
It is an event driven development model meaning , An event is generated (or raised) when "something happens," such as the user pressing a button. Often, events are generated by user action, but events can also be generated by the system starting or finishing work.
 For example, the system might raise an event when a file that you open for reading has been read into memory or when your battery's power is running low.

Asp.Net Web Form has built-in data controls and are best for rapid development with powerful data access.(Visual studio and Visual web developer are tools for developing ASP.NET MVC application).

No comments:

Post a Comment