What is ASP.NET?
ASP.NET is a web programming technology developed by Microsoft used to create dynamic web pages(Web applications). Dynamic web pages are pages whose content is generated whenever the user is requested. ASP.NET first version was released in January 2002. In November 2005, ASP.NET version 2 was released. Other technologies that can be used to create dynamic web pages are PHP, JSP, and ColdFusion. ASP.NET showed the way for the faster, easier, and more disciplined development of dynamic web sites with impressive results.
To create ASP.NET website, .NET framework technology is required. Visual Studio or Visual Web developer is also required to help building the site. It is a sophisticated program for creating, editing, and testing ASP.NET web sites and web pages. Actually you can do this in any text editor, but it becomes easy by using Visual Web developer. Also you need a database for storing your data. However the basic versions of the development tools including Visual Developer 2005 Express edition and SQL Server 2005 Express Edition, are free!
ASP.NET is a server side technology; that is it runs on the server. In client-side technology, when a web server requests a web page the web server simply grabs the files that the browser requests and send them down the line. The client is responsible for reading the markup and interpreting. In Server-side technology instead of being interpreted by the client, server-side code is interpreted by the web server. In ASP.NET the code in the page is read by server and used to generate HTML, JavaScript, and CSS that is then sent to the browser.
What is classic asp?
Before the introduction of ASP.NET, Microsoft's web programming technology was called active server pages(ASP). ASP had many shortcomings and the improved version is known as ASP.NET. ASP.NET represents a leap forward from ASP both in its sophistication and productivity. Also ASP.NET is flexible in terms of language support.
Features of ASP.NET
- ASP.NET lets you use your programming language of choice. >NET framework currently supports over 40 languages, and many of these can be used to build ASP.NET web sites.
- ASP.NET pages are compiled, not interpreted.
- Full access to the functionality of .NET Framework.
- ASP.NET allows you to separate the server-side code from the HTML layout.
- Easy to reuse common interface elements in many web forms.
- Free tool - Visual Web Developer 2005 is available.
Advantages of ASP.NET over classic asp?
- ASP.NET is much powerful than classic asp.
- ASP.NET is the successor to active server pages.
- ASP.NET uses OOPS concept, whereas classic ASP is not using OOPS
- Can be used with many programming languages.
- Classic ASP pages are interpreted, where as ASP.NET pages are compiled.
Summary
ASP.NET is a server-side technology for developing web applications based on the microsoft .NET framework. ASP.NET is a server side technology, that is it runs on the web server. ASP.NET is the technology used to develop web applications. Web applications usually stores information in the database, and this information can be accessed and changed by users using the web interface or web pages.
Next Topic
- New features of .NET 2 compared to .NET 1
- Compare Vb and C#
- Elements of ASP.NET page?
- Principles of OOPS
- What is a 3 -tier architecture?