asp+的幾個特點二 翻譯整理:jjx( http://www.cnscript.com) 原文:http://www.asptoday.com/articles/20000713.htm asp+控件 asp+控件分原生控件(intrinsic controls),列表控件(list controls),豐富功能控件(rich controls),校驗控件(validation controls),以下時詳細的說明 原生控件 創(chuàng)建html風格的控件,有 <TABLE> <TR> <TH> <TD> <FORM> <INPUT> <SELECT> <TEXTAREA> <BUTTON> <A> <IMG> 使用時在html風格控件中加入ruanat=server 如<textarea name=Message runat=server> 列表控件 包括Repeater, DataList and DataGrid controls. 主要用用戶輕松展示數(shù)據(jù)集之用
豐富功能控件 向客戶端輸出比較復雜的html對象,像月歷,listview等,包括 Calendar和AdRotator controls. 最后發(fā)布版本還包括 TreeView, ImageGenerator,和其他控件 使用舉例 FORM runat="server"> <asp:Calendar runat="server" /> </FORM> 檢驗控件 主要用戶檢查用戶的輸入,包括 RequiredFieldValidator,CompareValidator,RangeValidator,RegularExpressionValidator,CustomValidator,ValidationSummary
[]ASP+ Web Services[/b] 使用soap(簡單對象訪問協(xié)議)訪問其他web services
應(yīng)用和會話狀態(tài)管理 application.session變化不是很大 但session的一個改變,可能使asp中打開新窗口是的會話有時會丟失的bug徹底消除,因為session管理使用了State Server Process
asp+程序的配置和分發(fā) 全局配置文件:config.web 應(yīng)用程序定義文件:global.asax,除了支持asp中的Application_OnStart, Application_OnEnd, Session_OnStart and Session_OnEnd 外,還支持像as Application_BeginRequest, Security_OnAuthenticate 和其他事件
錯誤處理 1、errorPage <%@Page ErrorPage="/errorpages/thispage.aspx"%> 任何錯誤將導向/errorpages/thispage.aspx頁 2、語言上的增強:支持try...catch...finally (vb7) 3、asp+包括全面的跟蹤工具,用于調(diào)試asp+程序 其它特點 1、新的安全特點:Passport Authentication(或者是Microsoft 護照認證吧) 2、服務(wù)器端緩沖 (Server-side caching)
asp+開始具有xml規(guī)范,asp+ 在windows平臺上的表現(xiàn)將會使jsp在 windows 平臺上無沒有任何可言之處
(出處:熱點網(wǎng)絡(luò))
|