计算机 外文翻译 外文文献 英文文献 ASP.NET 2.0网页和Web控件.doc
《计算机 外文翻译 外文文献 英文文献 ASP.NET 2.0网页和Web控件.doc》由会员分享,可在线阅读,更多相关《计算机 外文翻译 外文文献 英文文献 ASP.NET 2.0网页和Web控件.doc(6页珍藏版)》请在三一办公上搜索。
1、译文1作者:迪诺弗雷国籍:美国出处:ASP.NET 2.0 and Data-Bound Controls原文1ASP.NET 2.0 Web Pages and Web ControlsUntil now, all of the example applications in this text have focused on console-based and Windows Forms front ends. In this chapter and the next, youll explore how the .NET platform facilitates the construc
2、tion of browser-based presentation layers. To begin, youll quickly review a number of key web-centric concepts (HTTP, HTML, client-side, and server-side script) and the role of the web server (including the ASP.NET development server, WebDev.WebServer.exe).With this web primer out of the way, the re
3、mainder of this chapter concentrates on the composition of ASP.NET (including the enhanced code-behind model) and how to work with ASP.NET web controls. As you will see, ASP.NET 2.0 provides a number of new web controls, a new “master page”model, and various customization techniques.The Role of HTTP
4、Web applications are very different animals from traditional desktop applications (to say the least).The first obvious difference is that a production-level web application will always involve at least two networked machines (of course, during development it is entirely possible to have a single mac
5、hine play the role of both client and server). Given this fact, the machines in question must agree upon a particular wire protocol to determine how to send and receive data. The wire protocol that connects the computers in question is the Hypertext Transfer Protocol (HTTP).When a client machine lau
6、nches a web browser (such as Netscape Navigator, Mozilla Firefox,or Microsoft Internet Explorer), an HTTP request is made to access a particular resource (such as an *.aspx or *.htm file) on the remote server machine. HTTP is a text-based protocol that is built upon a standard request/response parad
7、igm. For example, if you navigate to www. IntertechT, the browser software leverages a web technology termed Domain Name Service (DNS) that converts the registered URL into a four-part, 32-bit numerical value (aka an IP address). At this point, the browser opens a socket connection (typically via po
8、rt 80) and sends the HTTP request for the default page at the http:/www.IntertechT website.Once the hosting web server receives the incoming HTTP request, the specified resource may contain logic that scrapes out any client-supplied input values (such as values within a text box) in order to format
9、a proper HTTP response. Web programmers may leverage any number of technologies(CGI, ASP, ASP.NET, Java servlets, etc.) to dynamically generate the content to be emitted into the HTTP response. At this point, the client-side browser renders the HTML emitted from the web server. Another aspect of web
10、 development that is markedly different from traditional desktop programming is the fact that HTTP is an essentially stateless wire protocol. As soon as the web server emits a response to the client, everything about the previous interaction is forgotten. Therefore, as a web developer, it is up to y
11、ou take specific steps to “remember” information (such as items in a shopping cart) about the clients who are currently logged on to your site. As you will see in the next chapter, ASP.NET provides numerous ways to handle state, many of which are commonplace to any web platform (session variables, c
12、ookies, and application variables) as well as some new techniques (view state, control state, and the cache).Understanding Web Applications and Web ServersA web application can be understood as a collection of files (*.htm, *.asp, *.aspx, image files, etc.) and related components (such as a .NET cod
13、e library) stored within a particular set of directories on a given web server. As shown in Chapter 24, web applications have a specific life cycle and provide numerous events (such as initial startup or final shutdown) that you can hook into.A web server is a software product in charge of hosting y
14、our web applications, and it typically provides a number of related services such as integrated security, File Transfer Protocol (FTP) support, mail exchange services, and so forth. Internet Information Server (IIS) is Microsofts enterprise-level web server product, and as you would guess, it has in
15、trinsic support for classic ASP as well as ASP.NET web applications.When you build ASP.NET web applications, you will often need to interact with IIS. Be aware, however, that IIS is not automatically selected when you install the Windows Server 2003 or Windows XP Professional Edition (you cant insta
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机 外文翻译 外文文献 英文文献 ASP.NET 2.0网页和Web控件 外文 翻译 文献 英文 ASP NET 2.0 网页 Web 控件
![提示](https://www.31ppt.com/images/bang_tan.gif)
链接地址:https://www.31ppt.com/p-2385508.html