|
|
|
|
Principles of ASP.NET Author:Frank Coetzee
Even though ASP.NET takes its name from Microsoft's old web development technology, ASP (Active Server Pages), the two differ widely. Microsoft has completely rebuilt ASP.NET, based on the CLR shared by all Microsoft .NET applications. Programmers can write ASP.NET code using any of the different programming languages supported by the .NET framework, usually (proprietary) Visual Basic.NET, JScript .NET, or (standardized) C#, but also including open-source languages such as Perl and Python. ASP.NET is faster because the entire web site is precompiled to one or a few dll files on a Web Server and the Web Site runs faster compared to the previous scripting technology.
ASP.NET attempts to simplify developers' transition from Windows application development to web development by allowing them to build pages composed of controls similar to a Windows user interface. A web control, such as a button or label, functions in very much the same way as its Windows counterpart: code can assign its properties and respond to its events. Controls know how to render themselves: whereas Windows controls draw themselves to the screen, web controls produce segments of HTML which form part of the resulting page sent to the end-user's browser.
ASP.NET encourages the programmer to develop applications using an event-driven GUI paradigm, rather than in the conventional web scripting fashion. The framework attempts to combine existing technologies such as JavaScript with internal components like "Viewstate" to bring persistent (inter-request) state to the inherently stateless web environment.
ASP.NET uses the .NET Framework as an infrastructure. The .NET Framework offers a managed runtime environment (like Java), providing a virtual machine with JIT and a class library.
The numerous .NET controls, classes and tools can cut down on development time by providing a rich set of features for common programming tasks. Data access provides one example, and comes tightly coupled with ASP.NET. A developer can make a page to display a list of records in a database, for example, significantly more readily using ASP.NET than with ASP.
This Article First Appeared On The Wikipedia Website, Under The Following Link:
http://en.wikipedia.org/wiki/Linux
Last modified:2005-7-29 Number of views:1065
|
 |
Print This |
 |
Save This |
 |
Email This |
 | Talk About This |
|
|
|