资源描述:
《ASPNET-and-the-NET-Framework-毕业论文英文文献及翻译.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ASP.NETandthe.NETFrameworkASP.NETispartofMicrosoft'soverall.NETframework,whichcontainsavastsetofprogrammingclassesdesignedtosatisfyanyconceivableprogrammingneed.Inthefollowingtwosections,youlearnhowASP.NETfitswithinthe.NETframework,andyoulearnaboutthelanguagesyoucanuseinyourASP.NETpages.
2、The.NETFrameworkClassLibraryImaginethatyouareMicrosoft.Imaginethatyouhavetosupportmultipleprogramminglanguages—suchasVisualBasic,JScript,andC++.Agreatdealofthefunctionalityoftheseprogramminglanguagesoverlaps.Forexample,foreachlanguage,youwouldhavetoincludemethodsforaccessingthe,workingwi
3、thdatabases,andmanipulatingstrings.Furthermore,theselanguagescontainsimilarprogrammingconstructs.Everylanguage,forexample,canrepresentloopsandconditionals.EventhoughthesyntaxofaconditionalwritteninVisualBasicdiffersfromthesyntaxofaconditionalwritteninC++,theprogrammingfunctionisthesame.F
4、inally,mostprogramminglanguageshavesimilarvariabledatatypes.Inmostlanguages,youhavesomemeansofrepresentingstringsandintegers,forexample.Themaximumandminimumsizeofanintegermightdependonthelanguage,butthebasicdatatypeisthesame.Maintainingallthisfunctionalityformultiplelanguagesrequiresalot
5、ofwork.Whykeepreinventingthewheel?Wouldn'titbeeasiertocreateallthisfunctionalityonceanduseitforeverylanguage?The.NETFrameworkClassLibrarydoesexactlythat.Itconsistsofavastsetofclassesdesignedtosatisfyanyconceivableprogrammingneed.Forexample,the.NETframeworkcontainsclassesforhandlingdataba
6、seaccess,workingwiththe,manipulatingtext,andgeneratinggraphics.Inaddition,itcontainsmorespecializedclassesforperformingtaskssuchasworkingwithregularexpressionsandhandlingnetworkprotocols. The.NETframework,furthermore,containsclassesthatrepresentallthebasicvariabledatatypessuchasstrings,i
7、ntegers,bytes,characters,andarrays.Mostimportantly,forpurposesofthisbook,the.NETFrameworkClassLibrarycontainsclassesforbuildingASP.NETpages.Youneedtounderstand,however,thatyoucanaccessanyofthe.NETframeworkclasseswhenyouarebuildingyourASP.NETpages.UnderstandingNamespacesAs