ASP-NET--毕业论文外文翻译

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1ASP.NETASP.NETisaunifiedWebdevelopmentmodelthatincludestheservicesnecessaryforyoutobuildenterprise-classWebapplicationswithaminimumofcoding.ASP.NETispartofthe.NETFramework,andwhencodingASP.NETapplicationsyouhaveaccesstoclassesinthe.NETFramework.Youcancodeyourapplicationsinanylanguagecompatiblewiththecommonlanguageruntime(CLR),includingMicrosoftVisualBasic,C#,JScript.NET,andJ#.TheselanguagesenableyoutodevelopASP.NETapplicationsthatbenefitfromthecommonlanguageruntime,typesafety,inheritance,andsoon.ASP.NETincludes:ApageandcontrolsframeworkTheASP.NETcompilerSecurityinfrastructureState-managementfacilitiesApplicationconfigurationHealthmonitoringandperformancefeaturesDebuggingsupportAnXMLWebservicesframeworkExtensiblehostingenvironmentandapplicationlifecyclemanagementAnextensibledesignerenvironmentTheASP.NETpageandcontrolsframeworkisaprogrammingframeworkthatrunsonaWebservertodynamicallyproduceandrenderASP.NETWebpages.ASP.NETWebpagescanberequestedfromanybrowserorclientdevice,andASP.NETrendersmarkup(suchasHTML)totherequestingbrowser.Asarule,youcanusethesamepageformultiplebrowsers,becauseASP.NETrenderstheappropriatemarkupforthebrowsermakingtherequest.However,youcandesignyourASP.NETWebpagetotargetaspecificbrowser,suchasMicrosoftInternet2Explorer6,andtakeadvantageofthefeaturesofthatbrowser.ASP.NETsupportsmobilecontrolsforWeb-enableddevicessuchascellularphones,handheldcomputers,andpersonaldigitalassistants(PDAs).ASP.NETWebpagesarecompletelyobject-oriented.WithinASP.NETWebpagesyoucanworkwithHTMLelementsusingproperties,methods,andevents.TheASP.NETpageframeworkremovestheimplementationdetailsoftheseparationofclientandserverinherentinWeb-basedapplicationsbypresentingaunifiedmodelforrespondingtoclienteventsincodethatrunsattheserver.Theframeworkalsoautomaticallymaintainsthestateofapageandthecontrolsonthatpageduringthepageprocessinglifecycle.TheASP.NETpageandcontrolsframeworkalsoenablesyoutoencapsulatecommonUIfunctionalityineasy-to-use,reusablecontrols.Controlsarewrittenonce,canbeusedinmanypages,andareintegratedintotheASP.NETWebpagethattheyareplacedinduringrendering.TheASP.NETpageandcontrolsframeworkalsoprovidesfeaturestocontroltheoveralllookandfeelofyourWebsiteviathemesandskins.Youcandefinethemesandskinsandthenapplythematapageleveloratacontrollevel.Inadditiontothemes,youcandefinemasterpagesthatyouusetocreateaconsistentlayoutforthepagesinyourapplication.Asinglemasterpagedefinesthelayoutandstandardbehaviorthatyouwantforallthepages(oragroupofpages)inyourapplication.Youcanthencreateindividualcontentpagesthatcontainthepage-specificcontentyouwanttodisplay.Whenusersrequestthecontentpages,theymergewiththemasterpagetoproduceoutputthatcombinesthelayoutofthemasterpagewiththecontentfromthecontentpage.AllASP.NETcodeiscompiled,whichenablesstrongtyping,performanceoptimizations,andearlybinding,amongotherbenefits.Oncethecodehasbeencompiled,thecommonlanguageruntimefurthercompilesASP.NETcodetonativecode,providingimprovedperformance.3ASP.NETincludesacompilerthatwillcompileallyourapplicationcomponentsincludingpagesandcontrolsintoanassemblythattheASP.NEThostingenvironmentcanthenusetoserviceuserrequests.Inadditiontothesecurityfeaturesof.NET,ASP.NETprovidesanadvancedsecurityinfrastructureforauthenticatingandauthorizinguseraccessaswellasperformingothersecurity-relatedtasks.YoucanauthenticateusersusingWindowsauthenticationsuppliedbyIIS,oryoucanmanageauthenticationusingyourownuserdatabaseusingASP.NETformsauthenticationandASP.NETmembership.Additionally,youcanmanagetheauthorizationtothecapabilitiesandinformationofyourWebapplicationusingWindowsgroupsoryourowncustomroledatabaseusingASP.NETroles.Youcaneasilyremove,addto,orreplacetheseschemesdependingupontheneedsofyourapplication.ASP.NETalwaysrunswithaparticularWindowsidentitysoyoucansecureyourapplicationusingWindowscapabilitiessuchasNTFSAccessControlLists(ACLs),databasepermissions,andsoon.FormoreinformationontheidentityofASP.NET,ASP.NETprovidesintrinsicstatemanagementfunctionalitythatenablesyoutostoreinformationbetweenpagerequests,suchascustomerinformationorthecontentsofashoppingcart.Youcansaveandmanageapplication-specific,session-specific,page-specific,user-specific,anddeveloper-definedinformation.Thisinformationcanbeindependentofanycontrolsonthepage.ASP.NEToffersdistributedstatefacilities,whichenableyoutomanagestateinformationacrossmultipleinstancesofthesameapplicationononecomputeroronseveralcomputers.ASP.NETapplicationsuseaconfigurationsystemthatenablesyoutodefineconfigurationsettingsforyourWebserver,foraWebsite,orforindividualapplications.YoucanmakeconfigurationsettingsatthetimeyourASP.NETapplicationsaredeployedandcanaddorreviseconfigurationsettingsatanytime4withminimalimpactonoperationalWebapplicationsandservers.ASP.NETconfigurationsettingsarestoredinXML-basedfiles.BecausetheseXMLfilesareASCIItextfiles,itissimpletomakeconfigurationchangestoyourWebapplications.Youcanextendtheconfigurationschemetosuityourrequirements.ASP.NETincludesfeaturesthatenableyoutomonitorhealthandperformanceofyourASP.NE

1 / 14
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功