-
下載積分: 13 賞幣
上傳時間:2023-07-21
頁數(shù): 0
大?。?0.94(MB)
子文件數(shù):
-
下載積分: 13 賞幣
上傳時間:2023-07-21
頁數(shù): 0
大?。?0.19(MB)
子文件數(shù):
-
簡介:1原文原文1ALOWLEVELLOOKATTHEASPNETARCHITECTUREABSTRACTASPNETISAPOWERFULPLATFORMFORBUILDINGWEBAPPLICATIONSTHATPROVIDESATREMENDOUSAMOUNTOFFLEXIBILITYANDPOWERFORBUILDINGJUSTABOUTANYKINDOFWEBAPPLICATIONMOSTPEOPLEAREFAMILIARONLYWITHTHEHIGHLEVELFRAMEWORKSLIKEWEBFORMSANDWEBSERVICESWHICHSITATTHEVERYTOPLEVELOFTHEASPNETHIERARCHYINTHISARTICLEI’LLDESCRIBETHELOWERLEVELASPECTSOFASPNETANDEXPLAINHOWREQUESTSMOVEFROMWEBSERVERTOTHEASPNETRUNTIMEANDTHENTHROUGHTHEASPNETHTTPPIPELINETOPROCESSREQUESTSWHATISASPNETLET’SSTARTWITHASIMPLEDEFINITIONWHATISASPNETILIKETODEFINEASPNETASFOLLOWSASPNETISASOPHISTICATEDENGINEUSINGMANAGEDCODEFORFRONTTOBACKPROCESSINGOFWEBREQUESTSITSMUCHMORETHANJUSTWEBFORMSANDWEBSERVICESASPNETISAREQUESTPROCESSINGENGINEITTAKESANINCOMINGREQUESTANDPASSESITTHROUGHITSINTERNALPIPELINETOANENDPOINTWHEREYOUASADEVELOPERCANATTACHCODETOPROCESSTHATREQUESTTHISENGINEISACTUALLYCOMPLETELYSEPARATEDFROMHTTPORTHEWEBSERVERINFACT,THEHTTPRUNTIMEISACOMPONENTTHATYOUCANHOSTINYOUROWNAPPLICATIONSOUTSIDEOFIISORANYSERVERSIDEAPPLICATIONALTOGETHERTHERUNTIMEPROVIDESACOMPLEXYETVERYELEGANTMECHANISMFORROUTINGREQUESTSTHROUGHTHISPIPELINETHEREAREANUMBEROFINTERRELATEDOBJECTS,MOSTOFWHICHAREEXTENSIBLEEITHERVIASUBCLASSINGORTHROUGHEVENTINTERFACESATALMOSTEVERYLEVELOFTHEPROCESS,SOTHEFRAMEWORKISHIGHLYEXTENSIBLETHROUGHTHISMECHANISMIT’SPOSSIBLETOHOOKINTOVERYLOWLEVELINTERFACESSUCHASTHECACHING,AUTHENTICATIONANDAUTHORIZATIONYOUCANEVENFILTERCONTENTBYPREORPOSTPROCESSINGREQUESTSORSIMPLYROUTEINCOMINGREQUESTSTHATMATCHASPECIFICSIGNATUREDIRECTLYTOYOURCODEORANOTHERURLTHEREAREALOTOFDIFFERENTWAYSTOACCOMPLISHTHESAMETHING,BUTALLOFTHEAPPROACHESARESTRAIGHTFORWARDTOIMPLEMENT,YETPROVIDEFLEXIBILITYINFINDINGTHEBESTMATCHFORPERFORMANCEANDEASEOFDEVELOPMENTTHEENTIREASPNETENGINEWASCOMPLETELYBUILTINMANAGEDCODEANDALLOFTHEEXTENSIBILITYFUNCTIONALITYISPROVIDEDVIAMANAGEDCODEEXTENSIONSTHISISATESTAMENTTOTHEPOWEROFTHENETFRAMEWORKINITSABILITYTOBUILDSOPHISTICATEDANDVERYPERFORMANCEORIENTEDARCHITECTURESABOVEALLTHOUGH,THEMOSTIMPRESSIVEPARTOFASPNETISTHETHOUGHTFULDESIGNTHATMAKESTHEARCHITECTUREEASYTOWORKWITH,YETPROVIDESHOOKSINTOJUSTABOUTANYPARTOFTHEREQUESTPROCESSING3ISAPIISTHEINITIALCODEPOINTTHATMARKSTHEBEGINNINGOFANASPNETREQUESTASPNETMAPSVARIOUSEXTENSIONSTOITSISAPIEXTENSIONWHICHLIVESINTHENETFRAMEWORKDIRECTORY本文摘自HTTP//WWWWESTWINDCOM/PRESENTATIONS/HOWASPNETWORKS/HOWASPNETWORKSASP
下載積分: 10 賞幣
上傳時間:2024-03-15
頁數(shù): 13
大?。?0.07(MB)
子文件數(shù):
-
簡介:鄭州輕工業(yè)學院鄭州輕工業(yè)學院??飘厴I(yè)設(shè)計(論文)英文翻譯英文翻譯題目基于ASPNET的企業(yè)網(wǎng)站宣傳學生姓名馬寶勇專業(yè)班級網(wǎng)絡(luò)系統(tǒng)管理1002班學號621013550221院(系)軟件學院指導教師(職稱)康國磊(副教授)完成時間2012年3月25日2RESPONDINGTOCLIENTEVENTSINCODETHATRUNSATTHESERVERTHEFRAMEWORKALSOAUTOMATICALLYMAINTAINSTHESTATEOFAPAGEANDTHECONTROLSONTHATPAGEDURINGTHEPAGEPROCESSINGLIFECYCLETHEASPNETPAGEANDCONTROLSFRAMEWORKALSOENABLESYOUTOENCAPSULATECOMMONUIFUNCTIONALITYINEASYTOUSE,REUSABLECONTROLSCONTROLSAREWRITTENONCE,CANBEUSEDINMANYPAGES,ANDAREINTEGRATEDINTOTHEASPNETWEBPAGETHATTHEYAREPLACEDINDURINGRENDERINGTHEASPNETPAGEANDCONTROLSFRAMEWORKALSOPROVIDESFEATURESTOCONTROLTHEOVERALLLOOKANDFEELOFYOURWEBSITEVIATHEMESANDSKINSYOUCANDEFINETHEMESANDSKINSANDTHENAPPLYTHEMATAPAGELEVELORATACONTROLLEVELALLASPNETCODEISCOMPILED,WHICHENABLESSTRONGTYPING,PERFORMANCEOPTIMIZATIONS,ANDEARLYBINDING,AMONGOTHERBENEFITSONCETHECODEHASBEENCOMPILED,THECOMMONLANGUAGERUNTIMEFURTHERCOMPILESASPNETCODETONATIVECODE,PROVIDINGIMPROVEDPERFORMANCEASPNETINCLUDESACOMPILERTHATWILLCOMPILEALLYOURAPPLICATIONCOMPONENTSINCLUDINGPAGESANDCONTROLSINTOANASSEMBLYTHATTHEASPNETHOSTINGENVIRONMENTCANTHENUSETOSERVICEUSERREQUESTSINADDITIONTOTHESECURITYFEATURESOFNET,ASPNETPROVIDESANADVANCEDSECURITYINFRASTRUCTUREFORAUTHENTICATINGANDAUTHORIZINGUSERACCESSASWELLASPERFORMINGOTHERSECURITYRELATEDTASKSYOUCANAUTHENTICATEUSERSUSINGWINDOWSAUTHENTICATIONSUPPLIEDBYIIS,ORYOUCANMANAGEAUTHENTICATIONUSINGYOUROWNUSERDATABASEUSINGASPNETFORMSAUTHENTICATIONANDASPNETMEMBERSHIPADDITIONALLY,YOUCANMANAGETHEAUTHORIZATIONTOTHECAPABILITIESANDINFORMATIONOFYOURWEBAPPLICATIONUSINGWINDOWSGROUPSORYOUROWNCUSTOMROLEDATABASEUSINGASPNETROLESYOUCANEASILYREMOVE,ADDTO,ORREPLACETHESESCHEMESDEPENDINGUPONTHENEEDSOFYOURAPPLICATIONASPNETALWAYSRUNSWITHAPARTICULARWINDOWSIDENTITYSOYOUCANSECUREYOURAPPLICATIONUSINGWINDOWSCAPABILITIESSUCHASNTFSACCESSCONTROLLISTSACLS,DATABASEPERMISSIONS,ANDSOONFORMOREINFORMATIONONTHEIDENTITYOFASPNET,
下載積分: 10 賞幣
上傳時間:2024-03-16
頁數(shù): 12
大?。?0.04(MB)
子文件數(shù):
-
簡介:1ASPNETASPNET新聞發(fā)布系統(tǒng)新聞發(fā)布系統(tǒng)摘要要ASPNET是新一代WEB應(yīng)用程序開發(fā)平臺,它是一個已編譯的、基于NET的開發(fā)環(huán)境,它提供了生成企業(yè)級應(yīng)用程序所必需的全部服務(wù),基于NETFRAMEWORK生成,整個框架都可用于任何ASPNET應(yīng)用程序??梢允褂萌魏闻c公共語言運行庫CLR兼容的語言包括VISUALBASICNET、C和JSCRIPTNET來創(chuàng)建應(yīng)用程序。該系統(tǒng)使用ASPNETC語言和ADONET技術(shù)開發(fā),實現(xiàn)了網(wǎng)站新聞的動態(tài)管理,使得對信息的管理更加及時、高效,提高了工作效率,具有一般新聞系統(tǒng)的功能,主要包括前臺新聞查看區(qū)和后臺管理區(qū),可為企業(yè)各部門發(fā)布新聞,為企業(yè)網(wǎng)站提供新聞發(fā)布與管理的服務(wù)。關(guān)鍵詞關(guān)鍵詞ASPNETADONET新聞管理BROWSER/SERVER353頁面的風格設(shè)計????????????????????1754系統(tǒng)配置???????????????????????18541WEBCONFIG文件配置????????????????18542配置發(fā)布主頁???????????????????1855系統(tǒng)部分重要功能及其代碼???????????????18551WEB用戶控件????????????????????19552通用類代碼????????????????????19553添加發(fā)布新聞???????????????????27554用戶注冊?????????????????????29第六章結(jié)束語???????????????????????33第七章致謝???????????????????????34參考文獻33
下載積分: 10 賞幣
上傳時間:2024-03-15
頁數(shù): 34
大?。?0.4(MB)
子文件數(shù):
-
簡介:附錄1外文文獻原文ASPNETASPNETARCHITECTUREARCHITECTURE1ASPNETISFULLYMANAGEDCODETODEALWITHTHEUSEOFWEBREQUESTFORAMATUREPLATFORMENGINEITNOTONLYONLYWEBFORMSANDWEBSERVICESASPNETPROCESSINGENGINEISALSOAREQUEST,ACCESSTOCLIENTREQUESTSIT,ANDTHENTHROUGHITSBUILTINCHANNELS,THEREQUESTTOANEND,INTHEEND,DEVELOPERSCANADDLOGICTODEALWITHTHISREQUESTCODEINFACTTHEENGINEANDHTTPORWEBSERVERISCOMPLETELYSEPARATEINFACT,HTTPISARUNTIMECOMPONENTS,YOUCANHOSTITINIISONTHEOUTSIDEOFTHEAPPLICATION,ANDEVENCANBE,ANDOTHERSERVICESTOGETHERPIPELINETHROUGHTHEUSEOFBUILTINROUTINGTHEREQUEST,HTTPRUNTIMETOPROVIDEASETOFCOMPLEX,BUTVERYELEGANTMECHANISMINDEALINGWITHEVERYASPECTOFTHEREQUESTAREALOTOFOBJECTS,BUTTHEMAJORITYOFOBJECTSOREVENTSCANBEDERIVEDFROMTHEEXPANSIONINTERFACETHEREFORE,THISFRAMEWORKHASAVERYHIGHSCALABILITYAMECHANISMTHROUGHWHICHTOENTERALOWERLEVELINTERFACE,SUCHASCACHING,AUTHENTICATION,AUTHORIZATION,SUCHASISPOSSIBLEYOUCANPROCESSTHEREQUESTBEFOREORAFTERTHECONTENTFILTERING,ORSIMPLYTOMATCHTHESIGNATUREOFTHEDESIGNATEDCLIENTREQUESTSDIRECTLYTOYOURROUTERORTOOTHERCODEINTHEURLFORTHESAMETHINGCANBEDEALTWITHTHROUGHDIFFERENTMETHODS,ANDTHEREALIZATIONOFTHECODEAREVERYINTUITIVEINADDITION,BETWEENTHEEASYDEVELOPMENTANDPERFORMANCE,HTTPOPERATIONWASTOPROVIDETHEBESTFLEXIBILITYASPNET20ISDESIGNEDWITHADMINISTRATIONANDMANAGEABILITYINMINDWERECOGNIZETHATWHILESIMPLIFYINGTHEDEVELOPMENTEXPERIENCEISIMPORTANT,DEPLOYMENTANDMAINTENANCEINAPRODUCTIONENVIRONMENTISALSOAKEYCOMPONENTOFANAPPLICATIONSLIFETIMEASPNET20INTRODUCESSEVERALNEWFEATURESTHATFURTHERENHANCETHEDEPLOYMENT,MANAGEMENT,ANDOPERATIONSOFASPNETSERVERS1HTTP//MSDNMICROSOFTCOM/ZHCN/LIBRARY/AA983562VS71ASPX,METADATADRIVENSUPPORTFORNEWFEATURESLIKETHEMESANDACCESSIBILITYVERIFICATION,BETTERSTATEMANAGEMENT,ANDMOREDATASOURCECONTROLSDATAACCESSINASPNET20ISNOWPERFORMEDDECLARATIVELYUSINGDATASOURCECONTROLSONAPAGEINTHISMODEL,SUPPORTFORNEWDATABACKENDSTORAGEPROVIDERSCANBEEASILYADDEDBYIMPLEMENTINGCUSTOMDATASOURCECONTROLSADDITIONALLY,THESQLDATASOURCECONTROLTHATSHIPSINTHEBOXHASBUILTINSUPPORTFORANYADONETMANAGEDPROVIDERTHATIMPLEMENTSTHENEWPROVIDERFACTORYMODELINADONETCOMPILATIONBUILDPROVIDERSDYNAMICCOMPILATIONINASPNET20ISNOWHANDLEDBYEXTENSIBLECOMPILATIONBUILDPROVIDERS,WHICHASSOCIATEAPARTICULARFILEEXTENSIONWITHAHANDLERTHATKNOWSHOWTOCOMPILETHATEXTENSIONDYNAMICALLYATRUNTIMEFOREXAMPLE,RESXFILESCANBEDYNAMICALLYCOMPILEDTORESOURCES,WSDLFILESTOWEBSERVICEPROXIES,ANDXSDFILESTOTYPEDDATASETOBJECTSINADDITIONTOTHEBUILTINSUPPORT,ITISEASYTOADDSUPPORTFORADDITIONALEXTENSIONSBYIMPLEMENTINGACUSTOMBUILDPROVIDERANDREGISTERINGITINWEBCONFIGEXPRESSIONBUILDERSASPNET20INTRODUCESADECLARATIVENEWSYNTAXFORREFERENCINGCODETOSUBSTITUTEVALUESINTOTHEPAGE,CALLEDEXPRESSIONBUILDERSASPNET20INCLUDESEXPRESSIONBUILDERSFORREFERENCINGSTRINGRESOURCESFORLOCALIZATION,CONNECTIONSTRINGS,APPLICATIONSETTINGS,ANDPROFILEVALUESYOUCANALSOWRITEYOUROWNEXPRESSIONBUILDERSTOCREATEYOUROWNCUSTOMSYNTAXTOSUBSTITUTEVALUESINAPAGERENDERINGPERFORMANCEANDSCALABILITYASPNETISBUILTTOPERFORM,USINGACOMPILEDEXECUTIONMODELFORHANDLINGPAGEREQUESTSANDRUNNINGONTHEWORLDSFASTESTWEBSERVER,INTERNETINFORMATIONSERVICESASPNET20ALSOINTRODUCESKEYPERFORMANCEBENEFITSOVERPREVIOUSVERSIONSCONSTRUCTIONOFTHEENTIREASPNETENGINEENTIRELYINMANAGEDCODE,ALLFUNCTIONSAREANEXTENSIONOFTHEEXPANSIONTHROUGHTHEPROVISIONOFMANAGEDCODEFORTHEPOWERFULNETFRAMEWORK,TOUSETHEIROWNTHINGS,TOBUILDAMATURE,HIGHPERFORMANCEENGINEARCHITECTUREHASBECOMEAPROBATENEVERTHELESS,ITISIMPORTANT
下載積分: 10 賞幣
上傳時間:2024-03-16
頁數(shù): 11
大?。?0.04(MB)
子文件數(shù):
-
簡介:EMPIRICALSTUDYOFPERFORMANCEOFDATABINDINGINASPNETWEBAPPLICATIONSTONISTOJANOVSKI1,MARKOVU?KOVI?1,ANDIVANVELINOV11FACULTYOFINFORMATICS,EUROPEANUNIVERSITY,SKOPJE,REPUBLICOFMACEDONIA,TONISTOJANOVSKIEURMEDUMK,{VUCKOVICMARKO,VELINOVIVAN}LIVEEURMEDUMKABSTRACTMOSTDEVELOPERSUSEDEFAULTPROPERTIESOFASPNETSERVERCONTROLSWHENDEVELOPINGWEBAPPLICATIONSASPNETWEBAPPLICATIONSTYPICALLYEMPLOYSERVERCONTROLSTOPROVIDEDYNAMICWEBPAGES,ANDDATABOUNDSERVERCONTROLSTODISPLAYANDMAINTAINDATABASEDATATHOUGHTHEDEFAULTPROPERTIESALLOWFORFASTCREATIONOFWORKABLEAPPLICATIONS,CREATINGAHIGHPERFORMANCE,MULTIUSER,ANDSCALABLEWEBAPPLICATIONREQUIRESCAREFULCONFIGURINGOFSERVERCONTROLSANDTHEIRENHANCEMENTUSINGCUSTOMMADECODEINPROVIDINGCOMMONLYREQUIREDFUNCTIONALITYINDATADRIVENASPNETWEBAPPLICATIONSSUCHASPAGING,SORTINGANDFILTERING,OUREMPIRICALSTUDYEVALUATEDTHEIMPACTOFVARIOUSTECHNICALAPPROACHESAUTOMATICDATABINDINGINWEBSERVERCONTROLSDATAPAGINGANDSORTINGONWEBSERVERPAGINGANDSORTINGONDATABASESERVERINDEXEDANDNONINDEXEDDATABASECOLUMNSCLUSTEREDVSNONCLUSTEREDINDICESTHESTUDYOBSERVEDSIGNIFICANTPERFORMANCEDIFFERENCESBETWEENVARIOUSTECHNICALAPPROACHESINDEXTERMSWEBAPPLICATIONS,SCALABILITY,DATABASEACCESS1INTRODUCTIONINTHELASTFEWYEARSWEAREOBSERVINGINCREASEDUSEOFWEBAPPLICATIONSTHISISACONSEQUENCEOFMANYFACTORSZEROCLIENTINSTALLATION,SERVERONLYDEPLOYMENT,POWERFULDEVELOPMENTTOOLS,GROWINGUSERBASEETCFURTHERMORE,COMPETITIONANDTHEQUICKLYCHANGINGANDGROWINGUSERREQUIREMENTSCREATEADEMANDFORRAPIDDEVELOPMENTOFWEBAPPLICATIONSMICROSOFTVISUALSTUDIOMVSISTHEDOMINANTWEBAPPLICATIONSDEVELOPMENTENVIRONMENTOFTODAYMVSPROVIDESNUMEROUSMECHANISMSTOSUPPORTRAPIDDEVELOPMENTOFASPNETAPPLICATIONSMOSTDEVELOPERSTENDTOUSETHEDEFAULTASPNETMECHANISMSPAGECACHINGINTRODUCTIONOFSTATEINHTTPSESSION,COOKIES,HIDDENHTMLCONTROLSETC,DATAMANAGEMENT,ANDTHEASPNETSERVERCONTROLSWHICHAREARGUABLYTHEMOSTSIGNIFICANTENABLEROFTHERAPIDDEVELOPMENTTHOUGHTHESEMECHANISMSANDASPNETSERVERCONTROLSCANSIGNIFICANTLYDECREASETHEAPPLICATION’S“TIMETOMARKET”,ATTHESAMETIMETHEYCANREDUCEPERFORMANCEANDSCALABILITYOFTHEWEBAPPLICATIONANALYSISOFFACTORSWHICHINFLUENCETHERESPONSETIMEOFWEBAPPLICATIONSISANACTIVEAREAOFRESEARCH1INTHISPAPER,WEDEMONSTRATETHEIMPORTANCEOFADDINGCUSTOMPROGRAMLOGICSTOASPNETSERVERCONTROLSINORDERTOIMPROVEPERFORMANCEANDSCALABILITYOFWEBAPPLICATIONSHEREWEPUTEMPHASISONTHEDATABINDINGMECHANISM,THATIS,THEMECHANISMSUSEDTOMAINTAINANDDISPLAYDATATHEOTHERMECHANISM,SUCHASDATAUPDATING,PAGECACHING,DATACACHING,STATEMANAGEMENTETCARELEFTFORFUTUREWORKHEREWEADDRESSTHEFOLLOWINGRESEARCHQUESTIONS?WHATISTHEIMPACTOFTHEPAGINGMECHANISMONTHERESPONSETIME?WHATISTHEIMPACTOFINDICESONRESPONSETIMEWHENSORTINGANDPAGINGTHERESULTS?WHATISTHEDEPENDENCEOFTHERESPONSETIMEONTHENUMBEROFDATABASERECORDS?WHATARETHESCENARIOSWHENITISBETTERTOUSEASPNETSERVERCONTROLSWHENISITBETTERTOUSECUSTOMSTOREDPROCEDURESFORFETCHING,SORTINGANDPAGINGTHERESULTSTHEOUTLINEOFOURPAPERISASFOLLOWSINSECTION2WEAREEXPLAININGTHEBASICSOFDATABINDINGINASPNETAPPLICATIONS,HOWPAGINGISUSEDTOCUTTHEEXPENSESFORFETCHINGANDDISPLAYINGDATA,ANDSORTINGTHEDATABYSOMEFIELDINSECTION3WEAREEXPLAININGOURTESTENVIRONMENTANDTHETESTINGAPPROACHTESTENVIRONMENTISSUEDTOMEASURETHERESPONSETIMEOFVARIOUSASPNETPAGESWHICHIMPLEMENTVARIOUSMETHODSFORDATAIFPAGENUMBER1BEGINSETIGNOREPAGESIZEPAGENUMBERSETROWCOUNTIGNORESELECTLASTIDIDFROMTESTTABLEORDERBYIDASCENDELSEBEGINSETROWCOUNTPAGESIZESETLASTID0ENDSETROWCOUNTPAGESIZESELECTFROMTESTTABLEWHEREIDLASTIDORDERBYIDASCCODE2SQLSTOREDPROCEDUREWHICHSUPPORTSCUSTOMDATASORTINGANDPAGINGTHISSTOREDPROCEDURELOGICALLYDIVIDESTHERECORDSFROMTABLETESTTABLEINTOPAGESOFSIZEPAGESIZERECORDS,ANDRETURNSTHERECORDSFROMPAGEPAGENUMBERRECORDSAREORDEREDBYFIELDIDPERFORMANCEOFTHISSTOREDPROCEDUREGREATLYDEPENDSONTHEUSEOFINDEXONFIELDIDANDTHETYPEOFINDEXCLUSTEREDORNONCLUSTERED4BYUSINGINDEXEDDATASTRUCTUREWECANSIGNIFICANTLYIMPROVETHETIMEREQUIREDFORGETTINGINFORMATIONOUTOFTHEDATABASEWEEXPECTMAJORDIFFERENCESINRESPONSETIMEDEPENDINGONTHEFOLLOWINGPARAMETERS?NUMBEROFRECORDSINDATABASE?WHENPAGINGANDSORTINGISDONEBYASPNET,ORINSQLSTOREDPROCEDURES?DATABASEINDICES?DIFFERENTDEPLOYMENTSCENARIOSTHESESCENARIOSBASEDONTHEPREVIOUSPARAMETERSWILLBETESTEDINOURTESTENVIRONMENT3TESTINGAPPROACHFOROURTESTENVIRONMENTWEUSEDHP550NOTEBOOKWITHFOLLOWINGCHARACTERISTICS?PROCESSORINTELRCORETM2DUOCPUT5470160GHZ?RAM200GB?OSWINDOWS7PROFESSIONAL32–BIT?INTERNETINFORMATIONSERVICESIISVERSION75760016385?VISUALSTUDIO2010ULTIMATE?SQLSERVER2008EXPRESSUSEONLY1GBRAMFORTHETESTENVIRONMENTWECREATEDAWEBAPPLICATIONWITHTHREEWEBPAGES–ONEFOREACHOFTHEDATABINDING,PAGINGANDSORTINGAPPROACHESASEXPLAINEDINSECTION2TESTDATABASE,NAMEDTESTDATABASE,HASONETABLENAMEDTESTTABLETHEDATABASEHASFIVEFIELDSRECORDSINTHETABLEAREPOPULATEDWITHRANDOMVALUESNAMETYPEIDINT,AUTOINCREMENTTEXTFIELDVARCHAR50INTFIELDINTBOOLFIELDBITDATEFIELDDATETIMEWEBPAGESUSEAGRIDVIEWCONTROLTODISPLAYTHEDATARETURNEDFROMTHEDATABASEEACHWEBPAGEUSESADIFFERENTMECHANISMTOBINDTHEGRIDVIEWCONTROLWITHTHEDATA,ANDTOSORTANDPAGETHEDATASORTINGFIELDANDPAGENUMBERAREPASSEDTOTHEWEBPAGEINTHEQUERYSTRINGFORTHEHTTPREQUESTWEALSOCREATEDAWINDOWSAPPLICATIONTHATSENDSHTTPREQUESTTOTHEIISWEBSERVERQUERYSTRINGFORTHEHTTPREQUESTCONTAINSARANDOMLYCHOSENPAGENUMBER,ANDTHESORTINGFIELDFIGURE2HTTPREQUESTSINTHETESTENVIRONMENTWEAREINTERESTEDINTHETIMEREQUIREDTOPROCESSAHTTPREQUESTONTHEWEBSERVERREQUESTEDPAGEQUERIESDATAFROMASQLSERVERTABLEWEUSEDTHEASPNETTRACINGTODETERMINEWHENCERTAINEVENTSINTHEPAGELIFECYCLEOCCUR,THATIS,THESTARTANDENDPOINTINTHEPAGEPROCESSINGWESTARTTHETIMERATPAGE_INITEVENTANDENDTHETIMERATPAGE_SAVESTATECOMPLETEEVENT,WHICHISAFTERTHEPAGE_PRERENDEREVENTASTHEREQUESTSARESENTTOASPNET,THEPAGEGETSTHEVARIABLESFROMTHEQUERYSTRINGANDTHEREFORECHOOSESWHICHSTOREDPROCEDURETOUSEWEBPAGESARERESPONSIBLETORECORDTHERESPONSETIMEINATEXTFILE,ANDTHESETIMEMEASUREMENTSARELATERANALYZEDTHEFIRSTPAGEUSESAUTOMATICDATABINDINGADBPAGECONTAINSAGRIDVIEWCONTROL,WITHPAGINGANDSORTINGALLOWEDTHECONTROLISPOPULATEDWITHASTOREDPROCEDURETHATGETSALLTHERECORDSFROMTHEDATABASEASINCODE1THESECONDPAGEPOPULATESAGRIDVIEWCONTROLWITHTHESAMESTOREDPROCEDURECALLEDBYTHEFIRSTPAGE,BUTTHISTIMEWEPOPULATETHEGRIDVIEWCONTROLINTHEPAGE_LOADEVENTHANDLERINSTEADOFAFTERTHEPAGE_PRERENDEREVENTTHETHIRDPAGEUSESACUSTOMSTOREDPROCEDURESEECODE2TOQUERYTHERESULTSTHESTOREDPROCEDUREORDERSTHERESULTSATTHESQLSERVER,ANDRETURNSONLYTHERECORDSTHATWILLBESHOWNINTHEWEBPAGE4MAINRESULTSINFIGURE3FIGURE5WESHOWTHERESULTSWHENTHEDATATABLEHAS1000000RECORDSEVERYFIGURE
下載積分: 10 賞幣
上傳時間:2024-03-14
頁數(shù): 6
大?。?0.58(MB)
子文件數(shù):
-
簡介:畢業(yè)設(shè)計(論計(論文)文)外文文獻翻譯院系專業(yè)班級學生姓名導師姓名職稱起止時間2012年3月8日至2012年6月20日THENETFRAMEWORK,FURTHERMORE,CONTAINSCLASSESTHATREPRESENTALLTHEBASICVARIABLEDATATYPESSUCHASSTRINGS,INTEGERS,BYTES,CHARACTERS,ANDARRAYSMOSTIMPORTANTLY,FORPURPOSESOFTHISBOOK,THENETFRAMEWORKCLASSLIBRARYCONTAINSCLASSESFORBUILDINGASPNETPAGESYOUNEEDTOUNDERSTAND,HOWEVER,THATYOUCANACCESSANYOFTHENETFRAMEWORKCLASSESWHENYOUAREBUILDINGYOURASPNETPAGESUNDERSTANDINGNAMESPACESASYOUMIGHTGUESS,THENETFRAMEWORKISHUGEITCONTAINSTHOUSANDSOFCLASSESOVER3,400FORTUNATELY,THECLASSESARENOTSIMPLYJUMBLEDTOGETHERTHECLASSESOFTHENETFRAMEWORKAREORGANIZEDINTOAHIERARCHYOFNAMESPACESASPCLASSICNOTEINPREVIOUSVERSIONSOFACTIVESERVERPAGES,YOUHADACCESSTOONLYFIVESTANDARDCLASSESTHERESPONSE,REQUEST,SESSION,APPLICATION,ANDSERVEROBJECTSASPNET,INCONTRAST,PROVIDESYOUWITHACCESSTOOVER3,400CLASSESANAMESPACEISALOGICALGROUPINGOFCLASSESFOREXAMPLE,ALLTHECLASSESTHATRELATETOWORKINGWITHTHEFILESYSTEMAREGATHEREDTOGETHERINTOTHESYSTEMIONAMESPACETHENAMESPACESAREORGANIZEDINTOAHIERARCHYALOGICALTREEATTHEROOTOFTHETREEISTHESYSTEMNAMESPACETHISNAMESPACECONTAINSALLTHECLASSESFORTHEBASEDATATYPES,SUCHASSTRINGSANDARRAYSITALSOCONTAINSCLASSESFORWORKINGWITHRANDOMNUMBERSANDDATESANDTIMESYOUCANUNIQUELYIDENTIFYANYCLASSINTHENETFRAMEWORKBYUSINGTHEFULLNAMESPACEOFTHECLASSFOREXAMPLE,TOUNIQUELYREFERTOTHECLASSTHATREPRESENTSAFILESYSTEMFILETHEFILECLASS,YOUWOULDUSETHEFOLLOWINGSYSTEMIOFILESYSTEMIOREFERSTOTHENAMESPACE,ANDFILEREFERSTOTHEPARTICULARCLASSNOTEYOUCANVIEWALLTHENAMESPACESOFTHESTANDARDCLASSESINTHENETFRAMEWORKCLASSLIBRARYBYVIEWINGTHEREFERENCEDOCUMENTATIONFORTHENETFRAMEWORKSTANDARDASPNETNAMESPACES
下載積分: 10 賞幣
上傳時間:2024-03-15
頁數(shù): 19
大小: 0.1(MB)
子文件數(shù):
-
簡介:河北科技師范學院河北科技師范學院本科畢業(yè)設(shè)計外文翻譯本科畢業(yè)設(shè)計外文翻譯ASPNETOVERVIEW院(系、部)名稱數(shù)學與信息科技學院專業(yè)名稱網(wǎng)絡(luò)工程學生姓名張三學生學號0913080104指導教師張三2011年11月21日河北科技師范學院教務(wù)處制1THENETFRAMEWORKCONTAINSCLASSESFORHANDLINGDATABASEACCESS,WORKINGWITHTHEFILESYSTEM,MANIPULATINGTEXT,ANDGENERATINGGRAPHICSINADDITION,ITCONTAINSMORESPECIALIZEDCLASSESFORPERFORMINGTASKSSUCHASWORKINGWITHREGULAREXPRESSIONSANDHANDLINGNETWORKPROTOCOLSTHENETFRAMEWORK,FURTHERMORE,CONTAINSCLASSESTHATREPRESENTALLTHEBASICVARIABLEDATATYPESSUCHASSTRINGS,INTEGERS,BYTES,CHARACTERS,ANDARRAYSMOSTIMPORTANTLY,FORPURPOSESOFTHISBOOK,THENETFRAMEWORKCLASSLIBRARYCONTAINSCLASSESFORBUILDINGASPNETPAGESYOUNEEDTOUNDERSTAND,HOWEVER,THATYOUCANACCESSANYOFTHENETFRAMEWORKCLASSESWHENYOUAREBUILDINGYOURASPNETPAGESUNDERSTANDINGNAMESPACESASYOUMIGHTGUESS,THENETFRAMEWORKISHUGEITCONTAINSTHOUSANDSOFCLASSESOVER3,400FORTUNATELY,THECLASSESARENOTSIMPLYJUMBLEDTOGETHERTHECLASSESOFTHENETFRAMEWORKAREORGANIZEDINTOAHIERARCHYOFNAMESPACESASPCLASSICNOTEINPREVIOUSVERSIONSOFACTIVESERVERPAGES,YOUHADACCESSTOONLYFIVESTANDARDCLASSESTHERESPONSE,REQUEST,SESSION,APPLICATION,ANDSERVEROBJECTSASPNET,INCONTRAST,PROVIDESYOUWITHACCESSTOOVER3,400CLASSESANAMESPACEISALOGICALGROUPINGOFCLASSESFOREXAMPLE,ALLTHECLASSESTHATRELATETOWORKINGWITHTHEFILESYSTEMAREGATHEREDTOGETHERINTOTHESYSTEMIONAMESPACETHENAMESPACESAREORGANIZEDINTOAHIERARCHYALOGICALTREEATTHEROOTOFTHETREEISTHESYSTEMNAMESPACETHISNAMESPACECONTAINSALLTHECLASSES
下載積分: 10 賞幣
上傳時間:2024-03-16
頁數(shù): 12
大小: 0.06(MB)
子文件數(shù):
-
簡介:外文原文翻譯外文原文翻譯ASPNETASPNETCC版ASP動態(tài)服務(wù)器主頁是一種較新的技術(shù),它已經(jīng)過幾個階段的發(fā)展進化它是怎么誕生的呢在七年前,它作為一種簡單的方法來往普通網(wǎng)頁里添加動態(tài)內(nèi)容。自從那時以后,它的發(fā)展勢頭強勁作為高級網(wǎng)頁程序的開發(fā)平臺,包括電子商務(wù)網(wǎng)站、基于事件驅(qū)動的門戶網(wǎng)站和你在網(wǎng)上能看到的其他所有東西。ASPNET20是ASP的最新版本,而且擁有最讓人激動的更新。在ASPNET幫助下,在網(wǎng)絡(luò)編程時,開發(fā)者不再把一大堆HTML源碼和腳本代碼雜亂地放在同一頁面上。你可以完全使用代碼和工具(VISUALSTUDIO2005)來創(chuàng)建網(wǎng)頁程序。這些創(chuàng)新的代價僅僅是多學一些東西。你要學一些高級開發(fā)工具(VISUALSTUDIO)和工具包(THENETFRAMEWORK),而且你需要精通一門編程語言,如C#。網(wǎng)絡(luò)發(fā)展的演化因特網(wǎng)是在1960年末在試驗中誕生的。它的目標是建立一個真實的、有彈性的信息網(wǎng)絡(luò)可以經(jīng)受的起若干數(shù)量的電腦的崩潰,而不至于阻斷其他電腦的正常通信。經(jīng)得起潛在的重大災(zāi)難(如核武器攻擊)。美國國防部提供了剛開始的研究基金。最早的因特網(wǎng)局限在教育機構(gòu)和從事國防的單位。它因為作為學術(shù)研究的一種工具而繁榮,它讓全球的研究人員可以彼此共享信息。到了1990初,偉大的“貓”誕生了,它通過電話線工作,從此,因特網(wǎng)向商業(yè)用戶打開了大門。在1993年,第一個HTML瀏覽器誕生了,標志著因特網(wǎng)革命的到來。我們很難把最早的網(wǎng)頁稱為網(wǎng)頁序。第一代的網(wǎng)頁看起來更像小冊子主要由固定的HTML頁面構(gòu)成,這些也都需要手動修改。一個簡單的HTML頁面有點像一個字處理文檔它包含了格式化的內(nèi)容,可以在你的電腦上顯示,但是并不完成其他任何功能。上面的就是一個最簡單的例子,文檔包括頭信息和單行文本。一個HTML文檔有兩種類型的內(nèi)容文本和標記(告訴瀏覽器如何格式化)。這些標記很容易辨認,因為它們總是出現(xiàn)在之間。HTML定義了不同級別的標題、段落、超鏈接、斜體和粗體格式、水平線等。舉個例子某個文本,告訴瀏覽器用標題1的格式來顯示這個文本,就是用最大的黑體字來顯示。圖1-1顯示了這個頁面在瀏覽器中的效果。提示你不需要精通HTML就能進行ASPNET網(wǎng)頁編程,雖然它(HTML)是很有用的。為了快速介紹一下HTML,給大家介紹一個網(wǎng)上的優(yōu)秀HTML指南。HTML20首次引入了一個網(wǎng)頁編程的新技術(shù),稱為HTML表單。HTML表單擴展了HTML的功能,不僅包含了格式化標簽,而且包含了窗體小部件或者叫控件。這些控件包含了普通的功能部件,如下拉列表、文本框和按鈕。下面是一個由HTML表單控件創(chuàng)建的網(wǎng)頁。網(wǎng)頁表單允許網(wǎng)頁程序設(shè)計師設(shè)計標準的輸入頁面。當用戶單擊圖1-2的提交按鈕,所有在輸入控件中的數(shù)據(jù)(在這個例子中是兩個復(fù)選框)將打包成一個長字符串,接著發(fā)送到服務(wù)器。在服務(wù)器端,一個客戶程序接收和處理這些數(shù)據(jù)。令人驚奇的是這些為HTML表單創(chuàng)建有超過十年之久的控件仍然是你用來創(chuàng)建ASPNET頁面的基礎(chǔ)。不同的是這些程序控件將運行在服務(wù)器端。在過去,當用戶單么這些控件將返回一個含有JAVASCRIPT的更多功能的頁面。盡管如此,不管瀏覽器的功能有多強大,你的代碼始終在服務(wù)器端執(zhí)行。狀態(tài)限制為了保證最佳性能,網(wǎng)絡(luò)設(shè)計成無狀態(tài)的協(xié)議。意思就是一旦頁面已經(jīng)傳送給用戶,連接就關(guān)閉了而且用戶指定的信息也被丟棄了。ASP包括一個SESSIONSTATE(會話狀態(tài))特性允許程序員來解決這個問題。使用SESSIONSTATE,一個網(wǎng)頁程序可以為每一個客戶端暫時保存信息(保存在服務(wù)器的內(nèi)存里)。盡管如此,如果一個網(wǎng)站是放在幾個服務(wù)器上,SESSIONSTATE就無能無力了。在這種情況下,一個客戶要訪問B服務(wù)器,而他的會話信息是被A服務(wù)器保留的,這樣實際上這個會話信息將被丟棄掉。ASPNET糾正了這個問題,允許把狀態(tài)儲存在中央倉庫,就像一個單獨的進程或者一個所有服務(wù)器都可以訪問的數(shù)據(jù)庫。ASPNET通過引進全新的模型解決了上述問題(當然不止這些啦)。這個模型是基于一個偉大的技術(shù),稱之為NETFRAMEWORK。你應(yīng)該知道的是NETFRAMEWORK是幾種技術(shù)的群集(集合)。NET語言包括C#、VBNETVISUALBASICNET一種面向?qū)ο蟮?、現(xiàn)代化的語言(VB60的繼任者);這些語言還包括JSCIRPTNET服務(wù)器端版本的JAVASCRIPT,J#(JAVA的兼容產(chǎn)品),還有C++管理擴充。CLR(公共語言運行庫)CLR是執(zhí)行所有NET程序和為這些程序提供自動服務(wù)的引擎,如安全驗證、內(nèi)存管理和優(yōu)化等。NETFRAMEWORK類庫類庫包含了成千上萬個已經(jīng)預(yù)建好的函數(shù),你可以在你的程序中嵌入它們。這些眾多屬性有時也被成為一個技術(shù)集,如ADONET(用來創(chuàng)建數(shù)據(jù)庫程序的技術(shù))和WINDOWSFORMS(也是一種技術(shù),用來創(chuàng)建基于桌面的用戶界面程序)。ASPNET這是一種主機網(wǎng)頁程序和網(wǎng)絡(luò)服務(wù)的引擎,從NET類庫中包含了幾乎所有特性。ASPNET還包含了網(wǎng)頁特有的服務(wù)。VISUALSTUDIO這個可選的開發(fā)工具包含了眾多提高效率和調(diào)試功能的特性。VS的安裝CD(或DVD)包含了完整的NETFRAMEWORK,所以你不需要額外下載它。有趣的是,C#和VBNET比C#和JAVA要相似多了(或者是VB6和VBNET)。雖然語法是不同的,但是C#和VBNET都使用NET類庫,也都由CLR支持。事實上,幾乎所有的C#代碼塊都可以一行一行翻譯成VBNET的代碼塊。當然也有不行的時候(如C#語言支持一種屬性叫調(diào)用匿名方法,而VBNET不支持)。但是對絕大部分來說,只要開發(fā)者學會了其中一個NET語言,就可以很快學會另一種。簡而言之,C#和VBNET都是一流的,現(xiàn)代的用來開發(fā)下一代網(wǎng)絡(luò)程序的語言。NET10引進了一種全新的語言。盡管如此,NET20語言的變化還是細微的。C2005和VB2005都添加了一些新的特性,但是這些語言絕大部分都沒有變化。因此,任何使用C#10編寫的代碼都可以同樣的在20下運行。在第二、三章,就會學到C#語法和面向?qū)ο缶幊痰幕A(chǔ)。搞定了這些基礎(chǔ),你就可以開始創(chuàng)建簡單的網(wǎng)頁了。這樣你就會少點困惑,學得更快。(向一些高級話題進軍,如數(shù)據(jù)庫訪問和網(wǎng)絡(luò)服務(wù))CLR(公共語言運行庫)只能運行IL代碼,這就意味著它根本不知道你的源代碼是用哪一個語言編寫的,盡管如此,CLR竟然完成了另外一個編譯步驟它接受了IL代碼并把它轉(zhuǎn)換成適合當前平臺的本機機器語言。這個步驟在程序啟動時發(fā)生,而且在代碼被真正執(zhí)行之前。在ASPNET程序中,當網(wǎng)絡(luò)程序正在運行時,這些特定機器文件存儲在高速緩存中,所以它們可以
下載積分: 10 賞幣
上傳時間:2024-03-15
頁數(shù): 10
大?。?0.05(MB)
子文件數(shù):
-
下載積分: 13 賞幣
上傳時間:2023-07-21
頁數(shù): 0
大?。?3.87(MB)
子文件數(shù):
-
下載積分: 13 賞幣
上傳時間:2024-01-07
頁數(shù): 0
大?。?0.43(MB)
子文件數(shù):
-
下載積分: 13 賞幣
上傳時間:2024-01-07
頁數(shù): 0
大?。?0.49(MB)
子文件數(shù):
-
下載積分: 15 賞幣
上傳時間:2023-07-21
頁數(shù): 0
大小: 0.48(MB)
子文件數(shù):
-
下載積分: 13 賞幣
上傳時間:2024-01-07
頁數(shù): 0
大小: 0.17(MB)
子文件數(shù):