自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

ASP.NET與ASP相比的優(yōu)點淺析

開發(fā) 后端
ASP.NET與ASP相比的優(yōu)點是什么呢?那么本文將向你介紹是那些優(yōu)點。

ASP.NET與ASP相比,ASP.NET has better language support, a large set of new controls and XML based components, and better user authentication.ASP.NET有更好的語言支持,更為龐大的新控件群以及基于XML的組建,還有更出色的用戶鑒定。

ASP.NET provides increased performance by running compiled code.ASP.NET通過運行編譯代碼來提高執(zhí)行效率

ASP.NET code is not fully backward compatible with ASP.ASP.NET代碼并不完全向后兼容于ASP

New in ASP.NETASP.NET的新穎之處

Better language support更好的語言支持

Programmable controls可編寫的控件

Event-driven programming事件驅動程序

XML-based components基于XML的組件

User authentication, with accounts and roles通過帳號和角色來進行用戶身份驗證

Higher scalability更高的可擴展性

Increased performance - Compiled code增加執(zhí)行效率 - 編譯代碼

Easier configuration and deployment更簡單的配置以及開發(fā)

Not fully ASP compatible并不完全兼容ASP

Language Support語言支持

ASP.NET uses the new ADO.NET.ASP.NET使用新的ADO.NET

ASP.NET supports full Visual Basic, not VBScript.ASP.NET 支持完整的 VB而不是VBscript

ASP.NET supports C# (C sharp) and C++.ASP.NET 支持C#和C++

ASP.NET supports JScript as before.ASP.NET 跟以前一樣支持JScript

ASP.NET與ASP相比所變現(xiàn)的別的一些特性。

ASP.NET Controls。ASP.NET 控件

ASP.NET contains a large set of HTML controls. Almost all HTML elements on a page can be defined as ASP.NET control objects that can be controlled by scripts.ASP.NET 包含了大量的HTML控件集。大多數(shù)在頁面上的HTML元素可以定義為ASP.NET控件對象,這些對象可以通過腳本進行控制。

ASP.NET also contains a new set of object oriented input controls, like programmable list boxes and validation controls.ASP.NET 還包含了一組新的input控件導向對象,像可編寫選框列表以及驗證控件。

A new data grid control supports sorting, data paging, and everything you expect from a dataset control.一個新的數(shù)據(jù)欄控件支持排序,數(shù)據(jù)分頁,以及所有你所期望能在數(shù)據(jù)集中想做的事。

Event Aware Controls事件感知控件

All ASP.NET objects on a Web page can expose events that can be processed by ASP.NET code.所有在WEB 頁上的ASP.NET對象可以揭露事件以被用來作為可處理的ASP.NET代碼。

Load, Click and Change events handled by code makes coding much simpler and much better organized.加載,點擊和改變這些事件通過更為組織有序的簡單代碼來進行處理。

ASP.NET ComponentsASP.NET 組件

ASP.NET components are heavily based on XML. Like the new AD Rotator, that uses XML to store advertisement information and configuration.ASP.NET 組件群嚴密的基于XML。比如像全新的廣告回轉器,就是使用XML來存放廣告的信息以及設置信息。

User Authentication用戶身份鑒定

ASP.NET supports forms-based user authentication, including cookie management and automatic redirecting of unauthorized logins.ASP.NET 支持基于表單的用戶身份鑒定,其中包括cookie的管理以及未經認可的登陸自動轉向

(You can still do your custom login page and custom user checking).你依然可以自定義登陸頁面以及自定義的用戶檢查

User Accounts and Roles用戶帳號以及角色

ASP .NET allows for user accounts and roles, to give each user (with a given role) access to different server code and executables.ASP.NET 允許加入用戶帳戶以及角色任務,給每個用戶(通過分配角色任務)來訪問不同的服務器代碼和可執(zhí)行的代碼。

High Scalability更高度的伸縮性

Much has been done with ASP.NET to provide greater scalability.ASP.NET 在提供更出色的可伸縮性方面下足工夫。

Server to server communication has been greatly enhanced, making it possible to scale an application over several servers. One example of this is the ability to run XML parsers, XSL transformations and even resource hungry session objects on other servers.增強了服務器與服務器之間的聯(lián)通,使得完全能夠在數(shù)臺服務器上應用大型應用程序。這方面的一個案例就是能夠運行XML解析器,XSL轉換器甚至是其他服務器上的hungry session資源。

Compiled Code編譯的代碼

The first request for an ASP.NET page on the server will compile the ASP.NET code and keep a cached copy in memory. The result of this is greatly increased performance.***次請求服務器上的ASP.NET頁面時將會對ASP.NET代碼進行編譯并將其產生的緩存拷貝到內存中。這樣做的結果就是能夠大大提高執(zhí)行速度。

Easy Configuration簡單的配置

Configuration of ASP.NET is done with plain text files.在普通的文本文件上就可配置ASP.NET

Configuration files can be uploaded or changed while the application is running. No need to restart the server. No more metabase or registry puzzle.在程序運行的時候配置文件可以上載或是改變。而不需要重新啟動服務器。不再會有metabase和登記問題

Easy Deployment簡單的部署

No more server restart to deploy or replace compiled code. ASP.NET simply redirects all new requests to the new code.服務器不再需要通過重啟來進行部署或是取代編譯后的代碼。ASP.NET 會順其自然地將新的請求轉向到新的代碼

Compatibility兼容性

ASP.NET is not fully compatible with earlier versions of ASP, so most of the old ASP code will need some changes to run under ASP.NET.ASP.NET 不能完全和早期版本的ASP進行兼容。因此大多數(shù)老的ASP代碼將通過一些改變才能在ASP.NET下運行。

To overcome this problem, ASP.NET uses a new file extension ".aspx". This will make ASP.NET applications able to run side by side with standard ASP applications on the same server.要解決這個問題。ASP.NET 使用了新的文件拓展名“.aspx” 這使ASP.NET程序能夠與ASP程序運行在同一臺服務器上。

ASP.NET與ASP相比的一些優(yōu)點就向你介紹到這里,希望對你有所幫助。

【編輯推薦】

  1. ASP.NET頁面跳轉的三大方法詳解
  2. ASP.NET程序小數(shù)點保留兩位解析
  3. ASP.NET上傳文件控件實例詳解
  4. IIS ASP.NET的本質與聯(lián)系淺析
  5. IIS ASP.NET的進程模式淺析
責任編輯:仲衡 來源: CSDN博客
相關推薦

2009-08-05 15:50:13

ASP.NET優(yōu)點

2009-07-28 17:29:14

ASP.NET優(yōu)點

2009-07-22 18:03:00

ASP.NET ASP

2009-12-02 09:07:45

ASP.NET 4.0

2009-07-31 12:43:59

ASP.NET MVC

2009-08-10 13:32:15

ASP.NET TimASP.NET組件設計

2009-07-27 10:18:12

TypeResolveASP.NET

2009-07-24 13:41:15

ASP.NET AJA

2009-08-05 18:36:12

ASP.NET Che

2009-07-28 14:10:14

2009-07-27 15:34:11

MembershipASP.NET

2009-07-24 13:41:03

IIS ASP.NET

2009-08-03 13:38:18

ASP.NET編程模型

2009-07-20 16:23:01

ASP.NET授權模塊

2009-08-04 17:00:09

ASP.NET禁用Vi

2009-07-23 14:31:20

ASP.NET MVC

2009-07-28 16:40:11

ASP.NET異步頁面

2009-07-28 15:53:43

ASP.NET Web

2009-08-05 14:46:17

ASP.NET url

2009-07-28 13:35:18

點贊
收藏

51CTO技術棧公眾號