Friday, October 7, 2011

ASP.NET








ASP.NET - technology for creating web applications and Web services from Microsoft. It is part of the Microsoft. NET and development of older technologies Microsoft ASP. Currently, the latest version of this technology is ASP.NET 4.0. 
ASP.NET outwardly retains much similarity with the older technology of ASP, which allows developers to relatively easily move to ASP.NET. At the same time the internal structure of ASP.NET is very different from ASP, as it is based on the platform. NET and, therefore, uses all the new possibilities offered by this platform.



History ASP.NET 


After releasing the server Internet Information Services 4.0 in 1997, Microsoft began to explore the possibility of a new model of Web applications that satisfy the complaints of ASP, particularly those associated with the separation of design from content, and which will write "clean" code. Work to develop such a model was assigned to Mark Anders, manager of the team IIS, and Scott Hutri who started work at Microsoft in 1997. Anders Hutri and developed the initial draft within two months, and wrote code Hutri initial prototype during the Christmas holidays of 1997. 
The initial project called «XSP»; Hutri explained in an interview in 2007 that "always ask what it means to the letter X. At that time it meant nothing. XML starts with her; XSLT starts with her. Everything cool starts with X, so we got the name. "Prototype of XSP was written in Java, but soon decided to build a new platform based on the Common Language Runtime (CLR), because it is present on the principles of OOP programming, garbage collection and other possibilities. Hutri described this decision as a "huge risk" because the success of the new development was linked to the success CLR, which, like XSP, was at an early stage of development.



Principles ASP.NET 


Even though ASP.NET takes its name from the old technology of Microsoft ASP, it differs significantly from it. Microsoft completely rebuilt ASP.NET, based on the Common Language Runtime (CLR), which is the foundation of all applications, Microsoft. NET. Developers can write code for ASP.NET, using virtually any programming language included in the kit. NET Framework (C #, Visual Basic.NET, and JScript. NET). ASP.NET has the advantage in speed compared to scripting technologies, so that when the first reference code is compiled and placed in a special cache, and then only performed without requiring the time for parsing, optimization, etc.



Advantages of ASP.NET to ASP 


   Compiled code is faster, most errors vidlovlyuyetsya still under construction 
   Much improved error handling run-time, using blocks try .. catch 
  Custom Controls (controls) allow you to highlight commonly used templates, such as site menu 
  Using metaphors, already used in Windows-applications, such as controls and events  
   Extensible set of controls and class libraries allows you to quickly develop applications 
   ASP.NET is based on the multilingual capabilities. NET, which allows you to write code      pages in VB.NET, Delphi.NET, Visual C / C + +, etc. 
  Ability to cache the entire page or part thereof to increase productivity 
  Possibility of caching data that are used on the page 
  Possibility of separation of visual and business logic from different files («code behind») 
  Extensible query processing model 
  The city expanded model 
  Extensible model of server controls 
  The presence of master-pages task templates pages 
  Support for CRUD-operations in a spreadsheet via GridView 
  Built-in support for AJAX 
  ASP.NET has the advantage in speed compared to other technologies, based on scripts. 
  You can give some comparison. Thus, ASP - derived from Win32, XML and HTML; PHP - from XML, HTML, Java, and CDI, then ASP.NET - from HTML and. NET (XML and XAML, respectively). However, if usually Rich Media Application created by Flash, now it is done with the module Silverlight, just because he ASP.NET. ASP.NET - richer environment for the development and deployment of web resources. In ASP.NET you can work with any. NET language, even to the Managed C + + and Visual Basic, which allows not to think about moving to C #. 


Expansion 


Microsoft has released several extensions to ASP.NET: 
ASP.NET AJAX 
ASP.NET MVC Framework



No comments:

Post a Comment