资源描述:
《计算机论文中英文翻译》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Asp.netOverviewWhenASPwasfirstreleased,WebprogrammingwasmoredifficultbecauseyouneededIIStoserveyourASPpages.Later,ASP.NET2.0andVisualStudio®2005madeeverythingeasierbyintroducingtheWebsitemodelofdevelopment.InsteadofcreatinganewprojectinsideVisualStudio,theWebsitemodelletsyoupointtoadirectoryandstar
2、twritingpagesandcode.Furthermore,youcanquicklytestyoursitewiththebuilt-inASP.NETDevelopmentServer,whichhostsASP.NETinalocalprocessandobviatestheneedtoinstallIIStobegindeveloping.wewillintroduceasp.net2.0technologyfromdifferentaspects.1.The.NETFrameworkClassLibraryASP.NETispartofMicrosoft'soverall.N
3、ETframework,whichcontainsavastsetofprogrammingclassesdesignedtosatisfyanyconceivableprogrammingneed.BecauseVisualBasic,JScript,andC++.Agreatdealofthefunctionalityoftheseprogramminglanguagesoverlaps.Forexample,foreachlanguage,youwouldhavetoincludemethodsforaccessingthefilesystem,workingwithdatabases
4、,andmanipulatingstrings.What’smore,theselanguagescontainsimilarprogrammingconstructs,canrepresentloopsandconditionals.EventhoughthesyntaxofaconditionalwritteninVisualBasicdiffersfromthesyntaxofaconditionalwritteninC++,theprogrammingfunctionisthesame.Maintainingallthisfunctionalityformultiplelanguag
5、esrequiresalotofwork.Wouldn'titbeeasiertocreateallthisfunctionalityonceanduseitforeverylanguage?However,The.NETFrameworkClassLibrarydoesexactlythat.Itconsistsofavastsetofclassesdesignedtosatisfyanyconceivableprogrammingneed.Forinstance,the.NETframeworkcontainsclassesforhandlingdatabaseaccess,workin
6、gwiththefilesystem,manipulatingtext,andgeneratinggraphics.Inaddition,itcontainsmorespecializedclassesforperformingtaskssuchasworkingwithregularexpressionsandhandlingnetworkprotocols.Furthermore,the.NETframeworkcontainsclassesthatrepresentallthebasicvariabledatatypessuchasstrings,integers,bytes,char
7、acters,andarrays.16The.NETframeworkishuge.Itcontainsthousandsofclasses(over3,400).Fortunately,theclassesarenotsimplyjumbledtogether.Theclassesofthe.NETframeworkareorganizedintoahierarchyofnamespaces.Anamesp