版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、英文文獻(xiàn)及中文翻譯ASP.NET OverviewASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding.ASP.NET is part of the .NET Framework, and when coding ASP.NET applications you have access to classes in the .NET Fram
2、ework.Y ou can code your applications in any language compatible with the common language runtime (CLR, including Microsoft Visual Basic and C#. These languages enable you to develop ASP.NET applications that benefit from the common language runtime, type safety, inheritance, and so on.If you want t
3、o try ASP.NET, you can install Visual Web Developer Express using the Microsoft Web Platform Installer, which is a free tool that makes it simple to download, install, and service components of the Microsoft Web Platform.These components include Visual Web Developer Express, Internet Information Ser
4、vices (IIS, SQL Server Express, and the .NET Framework. All of these are tools that you use to create ASP.NET Web applications. You can also use the Microsoft Web Platform Installer to install open-source ASP.NET and PHP Web applications.Visual Web DeveloperVisual Web Developer is a full-featured de
5、velopment environment for creating ASP.NET Web applications. Visual Web Developer provides an ideal environment in which to build Web sites and then publish them to a hosting site. Using the development tools in Visual Web Developer, you can develop ASP.NET Web pages on your own computer. Visual Web
6、 Developer includes a local Web server that provides all the features you need to test and debug ASP.NET Web pages, without requiring Internet Information Services (IIS to be installed.Visual Web Developer provides an ideal environment in which to build Web sites and then publish them to a hosting s
7、ite. Using the development tools in Visual Web Developer, you can develop ASP.NET Web pages on your own computer. Visual Web Developer includes a local Web server that provides all the features you need to test and debug ASP.NET Web pages, without requiring Internet Information Services (IIS to be i
8、nstalled.When your site is ready, you can publish it to the host computer using thebuilt-in Copy Web tool, which transfers your files when you are ready to share them with others. Alternatively, you can precompile and deploy a Web site by using the Build Web Site command. The Build Web Site command
9、runs the compiler over the entire Web site (not just the code files and produces a Web site layout that you can deploy to a production server.Finally, you can take advantage of the built-in support for File Transfer Protocol (FTP.Using the FTP capabilities of Visual Web Developer, you can connect di
10、rectly to the host computer and then create and edit files on the server.ASP.NET Web Sites and ASP.NET Web Application ProjectsUsing Visual Studio tools, you can create different types of ASP.NET projects, which includes Web sites, Web applications, Web services, and AJAX server controls.There is a
11、difference between Web site projects and Web application projects. Some features work only with Web application projects, such as MVC and certain tools for automating Web deployment. Other features, such as Dynamic Data, work with both Web sites and Web application projects.Page and Controls Framewo
12、rkThe ASP.NET page and controls framework is a programming framework that runs on a Web server to dynamically produce and render ASP.NET Web pages. ASP.NET Web pages can be requested from any browser or client device, and ASP.NET renders markup (such as HTML to the requesting browser. As a rule, you
13、 can use the same page for multiple browsers, because ASP.NET renders the appropriate markup for the browser making the request. However, you can design your ASP.NET Web page to target a specific browser and take advantage of the features of that browser.ASP.NET Web pages are completely object-orien
14、ted. Within ASP.NET Web pages you can work with HTML elements using properties, methods, and events. The ASP.NET page framework removes the implementation details of the separation of client and server inherent in Web-based applications by presenting a unified model for responding to client events i
15、n code that runs at the server. The framework also automatically maintains the state of a page and the controls on that page during the page processing life cycle.The ASP.NET page and controls framework also enables you to encapsulate common UI functionality in easy-to-use, reusable controls. Contro
16、ls are written once, can be used in many pages, and are integrated into the ASP.NET Web page that they are placed in during rendering.The ASP.NET page and controls framework also provides features to control the overall look and feel of your Web site via themes and skins. You can define themes and s
17、kins and then apply them at a page level or at a control level.In addition to themes, you can define master pages that you use to create a consistent layout for the pages in your application. A single master page defines the layout and standard behavior that you want for all the pages (or a group of
18、 pages in your application. You can then create individual content pages that contain thepage-specific content you want to display. When users request the content pages, theymerge with the master page to produce output that combines the layout of the master page with the content from the content pag
19、e. The ASP.NET page framework also enables you to define the pattern for URLs that will be used in your site. This helps with search engine optimization (SEO and makes URLs more user-friendly.The ASP.NET page and control framework is designed to generate HTML that conforms to accessibility guideline
20、s.ASP.NET CompilerAll ASP.NET code is compiled, which enables strong typing, performance optimizations, and early binding, among other benefits. Once the code has been compiled, the common language runtime further compiles ASP.NET code to native code, providing improved performance.ASP.NET includes
21、a compiler that will compile all your application components including pages and controls into an assembly that the ASP.NET hosting environment can then use to service user requests.Security InfrastructureIn addition to the security features of .NET, ASP.NET provides an advanced security infrastruct
22、ure for authenticating and authorizing user access as well as performing other security-related tasks. You can authenticate users using Windows authentication supplied by IIS, or you can manage authentication using your own user database using ASP.NET forms authentication and ASP.NET membership. Add
23、itionally, you can manage the authorization to the capabilities and information of your Web application using Windows groups or your own custom role database using ASP.NET roles. You can easily remove, add to, or replace these schemes depending upon the needs of your application.ASP.NET always runs
24、with a particular Windows identity so you can secure your application using Windows capabilities such as NTFS Access Control Lists (ACLs,database permissions, and so on.State-Management FacilitiesASP.NET provides intrinsic state management functionality that enables you to store information between
25、page requests, such as customer information or the contents of a shopping cart. You can save and manage application-specific, session-specific, page-specific, user-specific, and developer-defined information. This information can be independent of any controls on the page.ASP.NET offers distributed
26、state facilities, which enable you to manage state information across multiple instances of the same application on one computer or on several computers.ASP.NET 概述ASP.NET 是一個(gè)統(tǒng)一的 Web 開(kāi)發(fā)模型,它包括您使用盡可能少的代碼生成企業(yè)級(jí) Web 應(yīng)用程序所必需的各種服務(wù)。ASP.NET 作為 .NET Framework 的一部分提供。當(dāng)您編寫(xiě) ASP.NET 應(yīng)用程序的代碼時(shí),可以訪(fǎng)問(wèn) .NET Framework 中的
27、類(lèi)??墒褂门c公共語(yǔ)言運(yùn)行時(shí) (CLR 兼容的任何語(yǔ)言(包括 Microsoft Visual Basic 和 C#編寫(xiě)應(yīng)用程序的代碼。使用這些語(yǔ)言,可以開(kāi)發(fā)利用公共語(yǔ)言運(yùn)行時(shí)、類(lèi)型安全、繼承等方面的優(yōu)點(diǎn)的 ASP.NET 應(yīng)用程序。若要嘗試 ASP.NET,可以使用 Microsoft Web 平臺(tái)安裝程序安裝 Visual Web Developer 速成版,Microsoft Web 平臺(tái)安裝程序是一款免費(fèi)的工具,使用它可以方便地下載、安裝和維護(hù) Microsoft Web 平臺(tái)的組件。這些組件包括Visual Web Developer 學(xué)習(xí)版、Internet Information
28、Services (IIS、SQL Server Express 和 .NET Framework。所有這些組件都是用于創(chuàng)建 ASP.NET Web 應(yīng)用程序的工具。此外,還可以使用 Microsoft Web 平臺(tái)安裝程序安裝開(kāi)放源代碼的 ASP.NET 和 PHP Web 應(yīng)用程序。Visual Web DeveloperVisual Web Developer 是一個(gè)功能齊備的開(kāi)發(fā)環(huán)境,可用于創(chuàng)建 ASP.NET Web 應(yīng)用程序。Visual Web Developer 提供了一種生成網(wǎng)站并將其發(fā)布到承載站點(diǎn)的理想環(huán)境。使用 Visual Web Developer 中的開(kāi)發(fā)工具,可以
29、在自己的計(jì) 算機(jī)上開(kāi)發(fā) ASP.NET 網(wǎng)頁(yè)。Visual Web Developer 包括一個(gè)本地 Web 服務(wù)器, 無(wú)需安裝 Internet 信息服務(wù) (IIS,該服務(wù)器即可提供測(cè)試和調(diào)試 ASP.NET 網(wǎng)頁(yè)所需的全部功能。 Visual Web Developer 提供了一種生成網(wǎng)站并將其發(fā)布到承載站點(diǎn)的理想環(huán) 境。使用 Visual Web Developer 中的開(kāi)發(fā)工具,可以在自己的計(jì)算機(jī)上開(kāi)發(fā) ASP.NET 網(wǎng)頁(yè)。Visual Web Developer 包括一個(gè)本地 Web 服務(wù)器,無(wú)需安裝 Internet 信息服務(wù) (IIS, 該服務(wù)器即可提供測(cè)試和調(diào)試 ASP.NE
30、T 網(wǎng)頁(yè)所需的 全部功能。 站點(diǎn)準(zhǔn)備就緒后,可以使用內(nèi)置的 Copy Web 工具將其發(fā)布到主機(jī)上。準(zhǔn)備 好與他人共享文件后,就可以使用該工具傳輸這些文件。或者,您可以使用“生 成網(wǎng)站”命令對(duì)網(wǎng)站進(jìn)行預(yù)編譯和部署。 “生成網(wǎng)站”命令對(duì)整個(gè)網(wǎng)站運(yùn)行編譯 器(而不僅僅對(duì)代碼文件),并生成可部署到生產(chǎn)服務(wù)器的網(wǎng)站布局。 最后,可以利用對(duì)文件傳輸協(xié)議 (FTP 的內(nèi)置支持。使用 Visual Web Developer 的 FTP 功能,可以直接連接到主機(jī),然后在該服務(wù)器上創(chuàng)建和編輯 文件。 ASP.NET 網(wǎng)站和 ASP.NET Web 應(yīng)用程序項(xiàng)目 通過(guò)使用 Visual Studio 工具,您可
31、以創(chuàng)建不同類(lèi)型的 ASP.NET 項(xiàng)目, 包括網(wǎng)站、Web 應(yīng)用程序、Web 服務(wù)和 AJAX 服務(wù)器控件。 網(wǎng)站項(xiàng)目和 Web 應(yīng)用程序項(xiàng)目之間存在著差異。一些功能僅適用于 Web 應(yīng)用程序項(xiàng)目,例如 MVC 和用于自動(dòng)進(jìn)行 Web 部署的某些工具。其他功能(如 動(dòng)態(tài)數(shù)據(jù))同時(shí)適用于網(wǎng)站項(xiàng)目和 Web 應(yīng)用程序項(xiàng)目。 頁(yè)和控件框架 ASP.NET 頁(yè)和控件框架是一種編程框架,它在 Web 服務(wù)器上運(yùn)行,可以動(dòng) 態(tài)地生成和呈現(xiàn) ASP.NET 網(wǎng)頁(yè)??梢詮娜魏螢g覽器或客戶(hù)端設(shè)備請(qǐng)求 ASP.NET 網(wǎng)頁(yè),ASP.NET 會(huì)向請(qǐng)求瀏覽器呈現(xiàn)標(biāo)記(例如 HTML)。通常,您可以對(duì)多個(gè) 瀏覽器使用相
32、同的頁(yè),因?yàn)?ASP.NET 會(huì)為發(fā)出請(qǐng)求的瀏覽器呈現(xiàn)適當(dāng)?shù)臉?biāo)記。 但是,您可以針對(duì)特定瀏覽器設(shè)計(jì)您的 ASP.NET 網(wǎng)頁(yè),并利用該瀏覽器的功能。 ASP.NET 網(wǎng)頁(yè)是完全面向?qū)ο蟮?。?ASP.NET 網(wǎng)頁(yè)中,可以使用屬性、方 法和事件來(lái)處理 HTML 元素。 ASP.NET 頁(yè)框架為響應(yīng)在服務(wù)器上運(yùn)行的代碼中的 客戶(hù)端事件提供統(tǒng)一的模型,從而使您不必考慮基于 Web 的應(yīng)用程序中固有的 客戶(hù)端和服務(wù)器隔離的實(shí)現(xiàn)細(xì)節(jié)。 該框架還會(huì)在頁(yè)處理生命周期中自動(dòng)維護(hù)頁(yè)及 該頁(yè)上控件的狀態(tài)。 使用 ASP.NET 頁(yè)和控件框架還可以將常用的 UI 功能封裝成易于使用且可 重用的控件??丶恍杈帉?xiě)一次,即可用于許多頁(yè)并
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度木材綜合利用技術(shù)研發(fā)合同樣本7篇
- 2025年加盟商店面維護(hù)協(xié)議
- 2025版巡游出租車(chē)特許經(jīng)營(yíng)合同修訂版五3篇
- 2025版家居建材銷(xiāo)售合同終止與綠色環(huán)保認(rèn)證協(xié)議
- 2025年度船舶港口日常保潔與維護(hù)服務(wù)合同3篇
- 五氧化二釩項(xiàng)目評(píng)價(jià)分析報(bào)告
- 二零二五年度能源合同解除協(xié)議
- 二零二五年度出租車(chē)租賃合同司機(jī)休息區(qū)域與設(shè)施協(xié)議
- 二零二五年度海域使用權(quán)租賃及海洋資源綜合利用技術(shù)服務(wù)合同
- 二零二五年度股東變更后的董事會(huì)組成與授權(quán)協(xié)議
- 中國(guó)聯(lián)合網(wǎng)絡(luò)通信有限公司招聘筆試題庫(kù)2024
- 【社會(huì)工作介入精神障礙社區(qū)康復(fù)問(wèn)題探究的文獻(xiàn)綜述5800字】
- 節(jié)前停工停產(chǎn)與節(jié)后復(fù)工復(fù)產(chǎn)安全注意事項(xiàng)課件
- 設(shè)備管理績(jī)效考核細(xì)則
- 中國(guó)人民銀行清算總中心直屬企業(yè)2023年招聘筆試上岸歷年典型考題與考點(diǎn)剖析附帶答案詳解
- (正式版)SJT 11449-2024 集中空調(diào)電子計(jì)費(fèi)信息系統(tǒng)工程技術(shù)規(guī)范
- 人教版四年級(jí)上冊(cè)加減乘除四則混合運(yùn)算300題及答案
- 合成生物學(xué)技術(shù)在生物制藥中的應(yīng)用
- 消化系統(tǒng)疾病的負(fù)性情緒與心理護(hù)理
- 高考語(yǔ)文文學(xué)類(lèi)閱讀分類(lèi)訓(xùn)練:戲劇類(lèi)(含答案)
- 協(xié)會(huì)監(jiān)事會(huì)工作報(bào)告大全(12篇)
評(píng)論
0/150
提交評(píng)論