ASP.NET入门C#版毕业论文外文文献翻译.doc
《ASP.NET入门C#版毕业论文外文文献翻译.doc》由会员分享,可在线阅读,更多相关《ASP.NET入门C#版毕业论文外文文献翻译.doc(16页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、装订线 D 科技译文Beginning ASP.NET 2.0 in C# ASP (Active Server Pages) is a relatively new technology thats already leapt through several stages of evolution. It was introduced about seven years ago as an easy way to add dynamic content to ordinary web pages. Since then, its grown into something much more
2、ambitious: a platform for creating advanced web applications, including merce shops, data.driven portal sites, and just about anything else you can find on the Internet.ASP.NET 2.0 is the latest version of ASP, and it represents the most dramatic change yet. With ASP.NET, developers no longer need t
3、o paste together a jumble of HTML and script code in order to program the Web. Instead, you can create full.scale web applications using nothing but code and a design tool such as Visual Studio 2008 The cost of all this innovation is the learning curve. Not only do you need to learn how to use an ad
4、vanced design tool (Visual Studio) and a toolkit of objects (the .NET Framework), you also need to master a programming language such as C#.The Internet began in the late 1960s as an experiment. Its goal was to create a truly resilient information networkone that could withstand the loss of several
5、computers without preventing the others from communicating. Driven by potential disaster scenarios (such as nuclear attack), the U.S. Department of Defense provided the initial funding. The early Internet was mostly limited to educational institutions and defense contractors. It flourished as a tool
6、 for academic collaboration, allowing researchers across the globe to share information. In the early 1990s, modems were created that could work over existing phone lines, and the Internet began to open up to commercial users. In 1993, the first HTML browser was created, and the Internet revolution
7、began. It would be difficult to describe early websites as web applications. Instead, the first generation of websites often looked more like brochures, consisting mostly of fixed HTML pages that needed to be updated by hand. Basic HTML page is a little like a word.processing documentit contains for
8、matted content that can be displayed on your computer, but it doesnt actually do anything. The following example shows HTML at its simplest, with a document that contains a heading and single line of text: An HTML document has two types of content: the text and the tags that tell the browser how to
9、format it. The tags are easily recognizable, because they occur inside angled brackets (). HTML defines tags for different levels of headings, paragraphs, hyperlinks, italic and bold formatting, horizontal lines, and so on. For example, Some Text tells the browser to display Some Text in the Heading
10、 1 style, which uses a large, bold font. Figure 1.1 shows the simple HTML page in a browser.HTML 2.0 introduced the first seed of web programming with a technology called HTML forms. HTML forms expand HTML so that it includes not only formatting tags but also tags for graphical widgets, or controls.
11、 These controls include common ingredients such as drop.down lists, text boxes, and buttons. Heres a sample web page created with HTML form controls:HTML forms allow web application developers to design standard input pages. When the user clicks the Submit button on the page shown in Figure 1.2, all
12、 the data in the input controls (in this case, the two check boxes) is patched together into one long string and sent to the web server. On the server side, a custom application receives and processes the data. Amazingly enough, the controls that were created for HTML forms more than ten years ago a
13、re still the basic foundation that youll use to build dynamic ASP.NET pages! The difference is the type of application that runs on the server side. In the past, when the user clicked a button on a form page, the information might have been e.mailed to a set account or sent to an application on the
14、server that used the challenging CGI (Common Gateway Interface) standard. Today, youll work with the much more capable and elegant ASP.NET platform. To understand why ASP.NET was created, it helps to understand the problems of other web development technologies. With the original CGI standard, for e
15、xample, the web server must launch a completely separate instance of the application for each web request. If the website is popular, the web server must struggle under the weight of hundreds of separate copies of the application, eventually becoming a victim of its own successor counter this proble
16、m, Microsoft developed ISAPI (Internet Server Application Programming Interface), a higher.level programming model. ISAPI solved the performance problem but at the cost of significant complexity. Even after ISAPI developers master the tricky C+ programming language, they still lie awake at night wor
17、rying about confounding issues such as multithreading. ISAPI programming is definitely not for the fainthearted. SAPI never really went away. Instead, Microsoft used it to build higher.level develop.mint platforms, such as ASP and ASP.NET. Both of these technologies allow developers to program dynam
18、ic web pages without worrying about the low.level implementation details. For that reason, both platforms have become incredibly successful. The original ASP platform garnered a huge audience of nearly one million developers. When ASP.NET was first released, it generated even more interest as the ce
19、nterpiece of the .NET Frame.work. In fact, ASP.NET 1.0 was enthusiastically put to work in dozens of large.scale commercial websites even when it was only in late beta. Despite having similar underpinnings, ASP and ASP.NET are radically different. ASP is a script.based programming language that requ
20、ires a thorough understanding of HTML and a good deal of painful coding. ASP.NET, on the other hand, is an object.oriented pro.gamming model that lets you put together a web page as easily as you would build a Windows application. In many respects, its easier to learn ASP.NET than to master ASP, eve
21、n though ASP.NET is far more powerful. At the same time that server.side web development was moving through an alphabet soup of technologies, a new type of programming was gaining popularity. Developers began to experiment with the different ways they could enhance web pages by embed.ding multimedia
22、 and miniature applets built with JavaScript, DHTML (Dynamic HTML), and Java code. These client.side technologies dont involve any server processing. Instead, the complete application is downloaded to the client browser, which executes it locally. The greatest problem with client.side technologies i
23、s that they arent supported equally by all browsers and operating systems. One of the reasons that web development is so popular in the first place is because web applications dont require setup CDs, down.loads, and other tedious (and error.prone) deployment steps. Instead, a web application can be
24、used on any computer that has Internet access. But when developers use client.side technologies, they encounter a few familiar headaches. Suddenly, cross.browser compatibility becomes a problem. Developers are forced to test their websites with operating systems and browsers, and they might even nee
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ASP.NET入门C#版 毕业论文外文文献翻译 ASP NET 入门 C# 毕业论文 外文 文献 翻译
限制150内