ASP.NET: Difference between revisions

Content deleted Content added
Yacht (talk | contribs)
m zh
Yacht (talk | contribs)
c if this is right?
Line 1:
'''ASP.NET''' is a web development environment from [[Microsoft]]. This set of technologies can be used to build up web application and [[XML]] web service.
 
== ASP and ASP.NET ==
 
Even thought the ASP.NET is derived from [[ASP]], it is very different from [[ASP]]. Introducing the concept of [[CLR]], ASP.NET is faster responsible and safer. Theoretically speaking, ASP.NET can be written in all kinds of langauge as long as they can be compile by the .NET framework. By default, the language using by .NET framework is [[Visual Basic .NET]]. Alternative langauge includes [[Visual C# .NET]].
 
It brings the concept of "form", from desktop development, to the web. [[HTML]] has the FORM [[tag]], but in ASP.NET, a web page is a [[WebForm]]. Instead of just writing HTML code into the [[HTTP]] stream (like [[Common Gateway Interface|CGI]], [[Active Server Pages|ASP]] and [[PHP programming language|PHP]]), using ASP.NET you can use and create controls like Labels, TextBoxes and ListView, and add [[event handler]]s ("postbacks") to them. And instead of [[render]]ing a window in a desktop, it will generate the HTML output which will be rendered by user's browser.
Line 5 ⟶ 9:
The ASP.NET architecture uses the [[.NET Framework]] as infrastructure. The .NET Framework is a managed runtime environment (like [[Java platform|Java]]), providing a [[virtual machine]] with [[Just-in-time|JIT]] and a [[class library]]. Using the numerous .NET classes, can cut down on development time.
 
Web developers using ASP.NET can use the .NET Framework to make some tasks easier. For example, programming a feature allowing files to be uploaded via a web page, is significantly easier using ASP.NET than [[Active_Server_PagesActive Server Pages|Classic ASP]] (the name now given to ASP pages).
 
There are several software packages available for developing ASP.NET applications: