Monday, August 16, 2010

The Benefits of ASP.NET
Microsoft, realizing that ASP does possess some significant shortcomings, developed
ASP.NET. ASP.NET is a set of components that provide developers with a framework with
which to implement complex functionality. Two of the major improvements of ASP.NET over
traditional ASP are scalability and availability. ASP.NET is scalable in that it provides state
services that can be utilized to manage session variables across multiple Web servers in a
server farm. Additionally, ASP.NET possesses a high performance process model that can
detect application failures and recover from them.
Along with improved availability and scalability, ASP.NET provides the following additional
benefits:
Simplified development: ASP.NET offers a very rich object model that developers
can use to reduce the amount of code they need to write.
Language independence: ASP pages must be written with scripting. In other
words, ASP pages must be written in a language that is interpreted rather than compiled.
ASP.NET allows compiled languages to be used, providing better performance
and cross-language compatibility.
Simplified deployment: With .NET components, deployment is as easy as copying a
component assembly to its desired location.
Cross-client capability: One of the foremost problems facing developers today is
writing code that can be rendered correctly on multiple client types. For example,
writing one script that will render correctly in Internet Explorer 5.5 and Netscape
Navigator 4.7, and on a PDA and a mobile phone is very difficult, if not impossible,
and time consuming. ASP.NET provides rich server-side components that can automatically
produce output specifically targeted at each type of client.
Web services: ASP.NET provides features that allow ASP.NET developers to effortlessly
create Web services that can be consumed by any client that understands HTTP and
XML, the de facto language for inter-device communication.
Performance: ASP.NET pages are compiled whereas ASP pages are interpreted. When
an ASP.NET page is first requested, it is compiled and cached, or saved in memory, by
the .NET Common Language Runtime (CLR). This cached copy can then be re-used for
each subsequent request for the page. Performance is thereby improved because after
the first request, the code can run from a much faster compiled version.
Probably one of the most intriguing features of ASP.NET is its integration with the .NET
CLR. The CLR executes the code written for the .NET platform. The .NET compilers target the

No comments:

Post a Comment