ASP NET入门C#版毕业论文外文文献翻译.docx

上传人:wj 文档编号:345549 上传时间:2023-04-29 格式:DOCX 页数:16 大小:35.56KB
下载 相关 举报
ASP NET入门C#版毕业论文外文文献翻译.docx_第1页
第1页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第2页
第2页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第3页
第3页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第4页
第4页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第5页
第5页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第6页
第6页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第7页
第7页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第8页
第8页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第9页
第9页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第10页
第10页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第11页
第11页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第12页
第12页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第13页
第13页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第14页
第14页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第15页
第15页 / 共16页
ASP NET入门C#版毕业论文外文文献翻译.docx_第16页
第16页 / 共16页
亲,该文档总共16页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

ASP NET入门C#版毕业论文外文文献翻译.docx

《ASP NET入门C#版毕业论文外文文献翻译.docx》由会员分享,可在线阅读,更多相关《ASP NET入门C#版毕业论文外文文献翻译.docx(16页珍藏版)》请在冰点文库上搜索。

ASP NET入门C#版毕业论文外文文献翻译.docx

D科技译文

… BeginningASP.NET2.0inC#

… ASP(ActiveServerPages)isarelativelynewtechnologythat’salready

… leaptthroughseveralstagesofevolution.Itwasintroducedaboutsevenyears

… agoasaneasywaytoadddynamiccontenttoordinarywebpages.Sincethen,

… it’sgrownintosomethingmuchmoreambitious:

aplatformforcreating

… advancedwebapplications,includingmerceshops,data.drivenportalsites,

… andjustaboutanythingelseyoucanfindontheInternet.ASP.NET2.0isthe

… latestversionofASP,anditrepresentsthemostdramaticchangeyet.With

… ASP.NET,developersnolongerneedtopastetogetherajumbleofHTMLand

… scriptcodeinordertoprogramtheWeb.Instead,youcancreatefull.scaleweb

订 applicationsusingnothingbutcodeandadesigntoolsuchasVisualStudio2008

… Thecostofallthisinnovationisthelearningcurve.Notonlydo youneedto

… learnhowtouseanadvanceddesigntool(VisualStudio)andatoolkitofobjects

… (the.NETFramework),youalsoneedtomasteraprogramminglanguagesuch

… asC#.TheInternetbeganinthelate1960sasanexperiment.Itsgoalwasto

… createatrulyresilientinformationnetwork—onethatcouldwithstandthelossof

线

… severalcomputerswithoutpreventingtheothersfromcommunicating.Driven

… bypotentialdisasterscenarios(suchasnuclearattack),theU.S.Departmentof

… Defenseprovidedtheinitialfunding.TheearlyInternetwasmostlylimitedto

… educationalinstitutionsanddefensecontractors.Itflourishedasatoolfor

… academic collaboration, allowing researchers across the globe to share

… information.Intheearly1990s,modemswerecreatedthatcouldworkoverexistingphonelines,andtheInternetbegantoopenuptocommercialusers.In

1993,thefirstHTMLbrowserwascreated,andtheInternetrevolutionbegan.It

… wouldbedifficulttodescribeearlywebsitesaswebapplications.Instead,the

… firstgenerationofwebsitesoftenlookedmorelikebrochures,consistingmostly

… offixedHTMLpagesthatneededtobeupdatedbyhand.BasicHTMLpageisa

… littlelikeaword.processingdocument—itcontainsformattedcontentthatcanbe

… displayedonyourcomputer,butitdoesn’tactuallydoanything.Thefollowing

装 exampleshowsHTMLatitssimplest,withadocumentthatcontainsaheading

… andsinglelineoftext:

AnHTMLdocumenthastwotypesofcontent:

thetext

… andthetagsthattellthebrowserhowtoformatit.Thetagsareeasily

… recognizable,becausetheyoccurinsideangledbrackets(<>).HTMLdefines

… tagsfordifferentlevelsofheadings,paragraphs,hyperlinks,italicandbold

… formatting,horizontallines,andsoon.Forexample,

SomeText

tells

… thebrowsertodisplaySomeTextintheHeading1style,whichusesalarge,

… boldfont.Figure1.1showsthesimpleHTMLpageinabrowser.HTML2.0

… introducedthefirstseedofwebprogrammingwithatechnologycalledHTML

… forms.HTMLformsexpandHTMLsothatitincludesnotonlyformattingtags

… butalsotagsforgraphicalwidgets,orcontrols.Thesecontrolsincludecommon

… ingredientssuchasdrop.downlists,textboxes,andbuttons.Here’sasample

… web pagecreated with HTMLformcontrols:

HTMLforms allow web

线 applicationdeveloperstodesignstandardinputpages.Whentheuserclicksthe

… SubmitbuttononthepageshowninFigure1.2,allthedataintheinputcontrols

… (inthiscase,thetwocheckboxes)ispatchedtogetherintoonelongstringand

… senttothewebserver.Ontheserverside,acustomapplicationreceivesand

… processesthedata.Amazinglyenough,thecontrolsthatwerecreatedforHTML

… formsmorethantenyearsagoarestillthebasicfoundationthat you’lluseto

builddynamicASP.NETpages!

Thedifferenceisthetypeofapplicationthat

… runsontheserverside.Inthepast, whentheuserclickedabuttononaform

… page,theinformationmighthavebeene.mailedtoasetaccountorsenttoan

… applicationontheserverthatusedthechallengingCGI(CommonGateway

… Interface)standard.Today,you’llworkwiththemuchmorecapableandelegant

… ASP.NETplatform.TounderstandwhyASP.NETwascreated,ithelpsto

装 understandtheproblemsofotherwebdevelopmenttechnologies.Withthe

… originalCGIstandard,forexample,thewebservermustlaunchacompletely

… separateinstanceoftheapplicationforeachwebrequest.Ifthewebsiteis

… popular,thewebservermuststruggleundertheweightofhundredsofseparate

… copiesoftheapplication,eventuallybecomingavictimofitsownsuccessor

… counterthisproblem,MicrosoftdevelopedISAPI(InternetServerApplication

… ProgrammingInterface),ahigher.levelprogrammingmodel.ISAPIsolvedthe

… performanceproblembutatthecostofsignificantcomplexity.EvenafterISAPI

… developersmasterthetrickyC++programminglanguage,theystilllieawakeat

… nightworryingaboutconfoundingissuessuchasmultithreading. ISAPI

… programmingisdefinitelynotforthefainthearted.SAPIneverreallywentaway.

… Instead,Microsoftusedittobuildhigher.leveldevelop.mintplatforms,suchas

… ASPandASP.NET.Bothofthesetechnologiesallowdeveloperstoprogram

线 dynamicwebpageswithoutworryingaboutthelow.levelimplementationdetails.

… Forthatreason,bothplatformshavebecomeincrediblysuccessful.Theoriginal

… ASPplatformgarneredahugeaudienceofnearlyonemilliondevelopers.When

… ASP.NETwasfirstreleased,itgeneratedevenmoreinterestasthecenterpieceof

… the.NETFrame.work.Infact,ASP.NET1.0wasenthusiasticallyputtoworkin

… dozensoflarge.scalecommercialwebsitesevenwhenitwasonlyinlatebeta.

Despitehavingsimilarunderpinnings,ASPandASP.NETareradicallydifferent.

… ASPis ascript.based programminglanguage that requiresa thorough

… understandingofHTMLandagooddealofpainfulcoding.ASP.NET,onthe

… otherhand,isanobject.orientedpro.gammingmodelthatletsyouputtogethera

… webpageaseasilyasyouwouldbuildaWindowsapplication.Inmanyrespects,

… it’seasiertolearnASP.NETthantomasterASP,eventhoughASP.NETisfar

装 morepowerful.Atthesametimethatserver.sidewebdevelopmentwasmoving

… throughanalphabetsoupoftechnologies,anewtypeofprogrammingwas

… gainingpopularity.Developersbegantoexperimentwiththedifferentwaysthey

… couldenhancewebpagesbyembed.dingmultimediaandminiatureappletsbuilt

… withJavaScript,DHTML(DynamicHTML),andJavacode.Theseclient.side

… technologiesdon’tinvolveanyserverprocessing. Instead,thecomplete

… applicationisdownloadedtotheclientbrowser,whichexecutesitlocally.The

… greatestproblemwithclient.sidetechnologiesisthattheyaren’tsupported

… equallybyallbrowsersandoperatingsystems.Oneofthereasonsthatweb

… developmentissopopularinthefirstplaceisbecausewebapplicationsdon’t

… requiresetupCDs,down.loads,andothertedious(anderror.prone)deployment

… steps.Instead,awebapplicationcanbeusedonanycomputerthathasInternet

… access.Butwhendevelopersuseclient.sidetechnologies,theyencounterafew

线 familiarheadaches.Suddenly,cross.browsercompatibilitybecomesaproblem.

… Developersareforcedtotesttheirwebsiteswithoperatingsystemsand

… browsers,andtheymightevenneedtodistributebrowserupdatestotheirclients.

… Inotherwords,theclient.sidemodelsacrificessomeofthemostimportant

… benefitsofwebdevelopment.orthatreason,ASP.NETisdesignedasa

… server.sidetechnology.AllASP.NETcodeexecutesontheserver.Whenthecode

isfinishedexecuting,theuserreceivesanordinaryHTMLpage,whichcanbe

… viewedinanybrowser.Figure1.3showsthedifferencebetweentheserver.side

… andclient.sidemodel.Thesearesomeotherreasonsforavoidingclient.side

… programming:

Isolation:

Client.sidecodecan’taccessserver.sideresources.For

… example,aclient.sideapplicationhasnoeasywaytoreadafileorinteractwith

… adatabaseontheserver(atleastnotwithoutrunningintoproblemswithsecurity

装 andbrowsercompatibility).Security:

Enduserscanviewclient.sidecode.And

… oncemalicioususersunderstandhowanapplicationworks,theycanoften

… tamperwithit.mecases,ASP.NETallowsyoutocombinethebestofclient.side

… programmingwithserver.sideprogramming.Forexample,thebestASP.NET

… controlscanintelligentlydetectthefeaturesoftheclientbrowser.Ifthebrowser

… supportsJavaScript,thesecontrolswillreturnawebpagethatincorporates

… JavaScriptforaricher,moreresponsiveuserinterface.However,nomatterwhat

… thecapabilitiesofthebrowser,yourcodeisalwaysexecutedontheserver.State

… limitations:

Toensureoptimumperformance,theWebisbuiltonstateless

… protocols,whichmeansassoonasapageissenttoauser,theconnectionis

… closedandanyuser.specificinformationisdiscarded.ASPincludesasession

… statefeaturethatallowsprogrammerstoworkaroundthisproblem.Using

… sessionstate,awebapplicationcanretaintemporary

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2