欢迎来到天天文库
浏览记录
ID:9854278
大小:26.51 KB
页数:11页
时间:2018-05-12
《外文翻译---asp.net介绍以及内联代码和共享》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、时光荏苒,岁月如白驹过隙,不经意间,我们即将从多彩的大学毕业,完成一个从大学生到社会人的转变。四年的大学生涯,让我明白了许许多多的科学知识和人生哲理,以及数不尽的感悟和成长。然只有将所学的理论知识付诸于社会的实践,才能检验和实现理论自身的价值,也只有将理论付诸于实践才能使理论得以检验。同样,一个人的价值也是通过实践活动来实现的,也只有通过实践才能锻炼人的品质,彰显人的时代风貌。而毕业实习作为大学的最后一课,也是最后一刻,我倍加珍惜,从而可以较深层次的理解社会,以便为将来能更好的胜任工作打下坚实的基础。附录1英文原文IntroductiontoASP.NETPagesa
2、ndInlineCodeandShare[10]TheASP.NETWebFormspageframeworkisascalablecommonlanguageruntimeprogrammingmodelthatcanbeusedontheservertodynamicallygenerateWebpages.IntendedasalogicalevolutionofASP(ASP.NETprovidessyntaxcompatibilitywithexistingpages),theASP.NETpageframeworkhasbeenspecificallyde
3、signedtoaddressanumberofkeydeficienciesinthepreviousmodel.Inparticular,itprovidestheabilitytocreateandusereusableUIcontrolsthatcanencapsulatecommonfunctionalityandthusreducetheamountofcodethatapagedeveloperhastowrite,theabilityfordeveloperstocleanlystructuretheirpagelogicinanorderlyfash
4、ion(not"spaghetticode"),andtheabilityfordevelopmenttoolstoprovidestrongWYSIWYGdesignsupportforpages(existingclassicASPcodeisopaquetotools).ThissectionoftheQuickStartprovidesahigh-levelcodewalkthroughofsomebasicASP.NETpagefeatures.SubsequentsectionsoftheQuickStartdrilldownintomorespecifi
5、cdetails.ASP.NETpagesaretextfileswithan.htmfilenameextension.Pagesconsistofcodeandmarkupandaredynamicallycompiledandexecutedontheservertoproducearenderingtotherequestingclientbrowser(ordevice).TheycanbedeployedthroughoutanIISvirtualrootdirectorytree.Whenabrowserclientrequests.htmresourc
6、es,theASP.NETruntimeparsesandcompilesthetargetfileintoa.NETFrameworkclass.Thisclasscanthenbeusedtodynamicallyprocessincomingrequests.(Notethatthe.htmfileiscompiledonlythefirsttimeitisaccessed;thecompiledtypeinstanceisthenreusedacrossmultiplerequests).AnASP.NETpagecanbecreatedsimplybytak
7、inganexistingHTMLfileandchangingitsfilenameextensionto.htm(nomodificationofcodeisrequired).Forexample,thefollowingsampledemonstratesasimpleHTMLpagethatcollectsauser'snameandcategorypreferenceandthenperformsaformpostbacktotheoriginatingpagewhenabuttonisclicked:Important:Notethat
此文档下载收益归作者所有