收藏 分销(赏)

计算机专业毕业设计方案科技文献翻译.doc

上传人:精*** 文档编号:2371196 上传时间:2024-05-29 格式:DOC 页数:29 大小:91.54KB
下载 相关 举报
计算机专业毕业设计方案科技文献翻译.doc_第1页
第1页 / 共29页
计算机专业毕业设计方案科技文献翻译.doc_第2页
第2页 / 共29页
计算机专业毕业设计方案科技文献翻译.doc_第3页
第3页 / 共29页
计算机专业毕业设计方案科技文献翻译.doc_第4页
第4页 / 共29页
计算机专业毕业设计方案科技文献翻译.doc_第5页
第5页 / 共29页
点击查看更多>>
资源描述

1、信息学院毕业设计科技文献翻译ASP.NET TechniqueASP.NET技术姓 名 刘 博 文 专 业 计算机科学与技术 学 号 13410111 班 级 计算机科学与技术01班 指引教师 刘乃丽 3月 ASP.NET Technique1. ASP.netAnd not only ASP.net being Active Server Page (ASP) next edition,be that a kind of builds the procedure truss on General Purpose Language ,can be used to build Web appli

2、cation big and powerful coming one Web server. ASP.net provides a lot of bigger and powerful than Web now exploitation pattern advantage.Carry out wide efficiency riseASP.net is that General Purpose Language-based procedure is run on the server. Carry out compiling ,carry out effect ,certainly compe

3、te with each other in a bar like this when working first unlike that before ASP explaining procedure immediately,but being that procedure is held in the server make an explanation strong many.The world-level implement holds outThe ASP.net truss is to be able to use up to the minute product of Micros

4、oft (R) company Visual S exploitation environment to carry out exploitation ,WYSIWYG (what What You See Is What You Get is gains) editor. These are ASP.net only strong-rization one fraction of software support.Big and powerful and adaptabilityIts big and powerful and adaptability compiling and trans

5、lating working procedure ,reason why because of ASP.net is General Purpose Language-based,on being able to make it run Server applying the upper (author of nearly all platform of software developer to Web knowing it can only use in Windows up to now only). General Purpose Language fundamental wareho

6、use ,information mechanism,data interface treatment all can have no integrating sewing applying middle to the ASP.net Web. ASP.net is also that language-independent language melts on ones own at the same time,reason why,you can choose one kind of the procedure being fit to compile and compose you co

7、ming your language most ,your procedure is written or coming using very various language,(the association having C # C + + and Java) ,VB ,Jscript already holding out now. Such various program language associate ability protects your COM + exploitation-based procedure now in the future,the transplant

8、ing being able to entirely faces ASP.net.Simplicity and easy to learnASP.net is that dignity verifies ,the distribution system and website allocation become very simple run a few very common missions submit customer whole course of if the form is single. That the for example ASP.net page of face tru

9、ss allows you to found your own consumer interface,makes the person be unlike the common VB-Like interface. Besides,that General Purpose Language facilitates exploitation makes to become simple accommodating oneself to of software combining with a code like assembling a computer.High-effect but admi

10、nistrationThat ASP.net uses one kind of character basiss ,classifications deploys system ,makes your server environment and the application interposition especially simple. Because of allocation information all preserves in simple version ,new interposition has an implement to may all do not need to

11、 start local administrative person can come true. That this is called Zero Local Administration philosophy concept makes because of applicative A exploitation more concrete,and rapid. A ASP.net application requires that simple copy few must get a document ,not requiring that systematic again startin

12、g ,everything are that such is simple in systematic installation of one server.Many processor environments reliabilityThe quilt already designs ASP.net painstakingly becoming one kind of the exploitation implement being able to be used for many processor ,it uses peculiar seamless the speed linking

13、a technology ,very big rise being run to sew under many processor environments. Even if that your ASP.net now applies a software is to be that one processor is development many processor do not require that any changes the efficacy being able to improve them when working,but ASP now cannot achieve i

14、ndeed in the future this one point.Certainly definition,and augmentabilityWhen ASP.net is designed have considered the module let website develop a personnel to be able to be hit by self definition plug-in in self code. This is different from original inclusion relation ,ASP.net can add self definit

15、ions how module. Website procedure exploitation has been all along not so simple.SecurityOwing to that the Windows attestation technology and every application deploying ,you can be true your plain procedure is now and then absolutely safe.The ASP.NET grammar to a great extent with ASP compatible,it

16、 provides one kind of new programming model and structure at the same time ,may generate flexibility and much better application of stability ,provide the much better safeguard and. Add the ASP.NET function gradually in being able to pass in now available ASP application,function strengthening ASP a

17、pplication at any time.ASP.NET is that one already has compiled and translated,because of. The NET environment,runs General Purpose Language-based procedure on the server. Carry out compiling when procedure is held in the server working first,than ASP makes it snappy immediately on INTERP speed many

18、. And be to be able to use any and. Compatible language of NET (includes Visual Basic. NET ,C # and Jscript. NET.) Create application. Besides,any ASP.NET application all can be put into use entire. NET Framework. The personnel who develops can gain these technology merit conveniently ,include the t

19、rusteeship common language running warehouse environment ,type safety ,inheriting and so on among them.ASP.NET can edit an implement seamlessly with WYSIWYG HTML and weave the Cheng implement other (including Microsoft Visual Studio. NET) works together. Page of GUI and completely integrated debuggi

20、ng this not only feasible Web is developed to go to the lavatory especially,and can provide all merit that these implements provide be obliged to ,include Web developing a personnel to be able to be used server control drag and drop to be arrived at hold out.While establishing ASP.NET application,th

21、e personnel who develops can use the Web window body or XML Web services ,carry out combination or with any way that they regard as rightly. That every function all can get the same architectural support,makes you be able to use dignity to verify a scheme ,the data that slow exist often uses,carries

22、 out self definition on the application allocation or.2. Building ASP.NET PagesASP.NET and the .NET FrameworkASP.NET is part of Microsofts overall .NET framework,which contains a vast set of programming classes designed to satisfy any conceivable programming need. In the following two sections,you l

23、earn how ASP.NET fits within the .NET framework,and you learn about the languages you can use in your ASP.NET pages.The .NET Framework Class LibraryImagine that you are Microsoft. Imagine that you have to support multiple programming languagessuch as Visual Basic,JScript,and C+. A great deal of the

24、functionality of these programming languages overlaps. For example,for each language,you would have to include methods for accessing the file system,working with databases,and manipulating strings.Furthermore,these languages contain similar programming constructs. Every language,for example,can repr

25、esent loops and conditionals. Even though the syntax of a conditional written in Visual Basic differs from the syntax of a conditional written in C+,the programming function is the same.Finally,most programming languages have similar variable data types. In most languages,you have some means of repr

26、esenting strings and integers,for example. The maximum and minimum size of an integer might depend on the language,but the basic data type is the same.Maintaining all this functionality for multiple languages requires a lot of work. Why keep reinventing the wheel?Wouldnt it be easier to create all t

27、his functionality once and use it for every language?The .NET Framework Class Library does exactly that. It consists of a vast set of classes designed to satisfy any conceivable programming need. For example,the .NET framework contains classes for handling database access,working with the file syste

28、m,manipulating text,and generating graphics. In addition,it contains more specialized classes for performing tasks such as working with regular expressions and handling network protocols.The .NET framework,furthermore,contains classes that represent all the basic variable data types such as strings,

29、integers,bytes,characters,and arrays.Most importantly,for purposes of this book,the .NET Framework Class Library contains classes for building ASP.NET pages. You need to understand,however,that you can access any of the .NET framework classes when you are building your ASP.NET pages.Understanding Na

30、mespacesAs you might guess,the .NET framework is huge. It contains thousands of classes (over 3,400). Fortunately,the classes are not simply jumbled together. The classes of the .NET framework are organized into a hierarchy of namespaces.ASP Classic NoteIn previous versions of Active Server Pages,yo

31、u had access to only five standard classes (the Response,Request,Session,Application,and Server objects). ASP.NET,in contrast,provides you with access to over 3,400 classes!A namespace is a logical grouping of classes. For example,all the classes that relate to working with the file system are gathe

32、red together into the System.IO namespace.The namespaces are organized into a hierarchy (a logical tree). At the root of the tree is the System namespace. This namespace contains all the classes for the base data types,such as strings and arrays. It also contains classes for working with random numb

33、ers and dates and times.You can uniquely identify any class in the .NET framework by using the full namespace of the class. For example,to uniquely refer to the class that represents a file system file (the File class),you would use the following:System.IO.FileSystem.IO refers to the namespace,and F

34、ile refers to the particular class.NOTEYou can view all the namespaces of the standard classes in the .NET Framework Class Library by viewing the Reference Documentation for the .NET Framework.Standard ASP.NET NamespacesThe classes contained in a select number of namespaces are available in your ASP

35、.NET pages by default. (You must explicitly import other namespaces.) These default namespaces contain classes that you use most often in your ASP.NET applications:System Contains all the base data types and other useful classes such as those related to generating random numbers and working with dat

36、es and times.System.Collections Contains classes for working with standard collection types such as hash tables,and array lists.System.Collections.Specialized Contains classes that represent specialized collections such as linked lists and string collections.System.Configuration Contains classes for

37、 working with configuration files (Web.config files).System.Text Contains classes for encoding,decoding,and manipulating the contents of strings.System.Text.RegularExpressions Contains classes for performing regular expression match and replace operations.System.Web Contains the basic classes for wo

38、rking with the World Wide Web,including classes for representing browser requests and server responses.System.Web.Caching Contains classes used for caching the content of pages and classes for performing custom caching operations.System.Web.Security Contains classes for implementing authentication a

39、nd authorization such as Forms and Passport authentication.System.Web.SessionState Contains classes for implementing session state.System.Web.UI Contains the basic classes used in building the user interface of ASP.NET pages.System.Web.UI.HTMLControls Contains the classes for the HTML controls.Syste

40、m.Web.UI.WebControls Contains the classes for the Web controls.NET Framework-Compatible LanguagesFor purposes of this book,you will write the application logic for your ASP.NET pages using Visual Basic as your programming language. It is the default language for ASP.NET pages. Although you stick to

41、Visual Basic in this book,you also need to understand that you can create ASP.NET pages by using any language that supports the .NET Common Language Runtime. Out of the box,this includes C#,JScript.NET,and the Managed Extensions to C+.NOTEThe CD included with this book contains C# versions of all th

42、e code samples.Dozens of other languages created by companies other than Microsoft have been developed to work with the .NET framework. Some examples of these other languages include Python,SmallTalk,Eiffel,and COBOL. This means that you could,if you really wanted to,write ASP.NET pages using COBOL.

43、Regardless of the language that you use to develop your ASP.NET pages,you need to understand that ASP.NET pages are compiled before they are executed. This means that ASP.NET pages can execute very quickly.The first time you request an ASP.NET page,the page is compiled into a .NET class,and the resu

44、lting class file is saved beneath a special directory on your server named Temporary ASP.NET Files. For each and every ASP.NET page,a corresponding class file appears in the Temporary ASP.NET Files directory. Whenever you request the same ASP.NET page in the future,the corresponding class file is ex

45、ecuted.When an ASP.NET page is compiled,it is not compiled directly into machine code. Instead,it is compiled into an intermediate-level language called Microsoft Intermediate Language (MSIL). All .NET-compatible languages are compiled into this intermediate language.An ASP.NET page isnt compiled in

46、to native machine code until it is actually requested by a browser. At that point,the class file contained in the Temporary ASP.NET Files directory is compiled with the .NET framework Just in Time (JIT) compiler and executed.The magical aspect of this whole process is that it happens automatically i

47、n the background. All you have to do is create a text file with the source code for your ASP.NET page,and the .NET framework handles all the hard work of converting it into compiled code for you.ASP CLASSIC NOTEWhat about VBScript?Before ASP.NET,VBScript was the most popular language for developing

48、Active Server Pages.ASP.NET does not support VBScript,and this is good news. Visual Basic is a superset of VBScript,which means that Visual Basic has all the functionality of VBScript and more. So,you have a richer set of functions and statements with Visual Basic.Furthermore,unlike VBScript,Visual Basic is a compiled language. This means that if you use Visual Basic to rewrite the same code that you wrote with VBScript,you can get better performance.If you have worked only with VBScript and not Visual Basi

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 学术论文 > 毕业论文/毕业设计

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服