資源描述:
《ASP.NET和ASP之間的區(qū)別【外文翻譯】》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、外文翻譯原文DifferencebetweenASP.NETandASPMaterialSource:http://www.codeproject.com/KB/aspnet/ASPNET_vs__ASP.aspxAuthor:ChiranjivDearfriendsherearealistofdifferencesoftheASP.NETtechnologyandtheclassicASPtechnology.Hopeitisinformative.Pleasesendyourfeedbackor/andaddifyouhavea
2、dditionalinformation.IntroductionThesearethelistofdifferenceswhichIcameacrosswhileworkingonASPandASP.NETprojects.BackgroundIhaveseenmanyarticlesonInternetwhereinIcameacrossthedifferencesofASP.NETandASP.Thesearticlesarejumbledacrossthewebsites.Ihavecompiledallthoseandpu
3、blishedthisarticletogivebetterunderstandingonthedifferencesofboth.DescriptionProcessIsolationASPisrunundertheinetinfo.exe(IIS)processspaceandhencesusceptibletoapplicationcrashesasaresulttheIISneedstobestoppedorrestarted.ASPisrelatedtotheprocessisolationsettinginIIS.But
4、,ASP.NetTheASP.NETworkerprocessisadistinctworkerprocess,aspnet_wp.exe,separatefrominetinfo.exe(IISprocess),andtheprocessmodelinASP.NETisunrelatedtoprocessisolationsettingsinIIS.Note:-IISisstilltheentrypointtoaASP.NETapplicationNon-MSPlatformSupportClassicalASPhadnomech
5、anismofrunningitselfonnon-Microsofttechnologyplatformslikethe'TheApacheWebServer'But,ASP.NET12ASP.NETcouldberunonnon-MicrosoftPlatformsalso.CassiniisasampleWebserverproducedbyMicrosoftwhich,amongotherprojects,hasbeenusedtohostASP.NETwithApache.MultiLanguageSupportinWeb
6、pageInASPonlytwolanguageswereavailableforscriptingVBScriptandJscript/JavaScript.ButinASP.NETWearenolongerconstrainedtothetwoscriptinglanguagesavailableintraditionalASP:Anyfullycompliant.NETlanguagecannowbeusedwithASP.NET,includingC#andVB.NET.Note:-(C#andVB.Netarebothse
7、rverSidelanguages.)InterpretationVsCompilationInASP,ASPengineexecutesserver-sidecode,whichisalwaysthroughaninterpreter(JScriptorVBScript).WhenatraditionalASPpageisrequested,thetextofthatpageisparsedlinearly.Allcontentthatisnotserver-sidescriptisrenderedasisbacktotheres
8、ponse.Allserver-sidescriptinthepageisfirstrunthroughtheappropriateinterpreter(JScriptorVBScript),theoutputofwhichisth