|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
源代码保护方面其实现在考虑得没那么多了..NET也可以反编译.ASP写得复杂的话别人能看得懂的话.他也有能力自己写了.这方面担心的倒不太多.纵观现在网上可以下载的那些所谓BBS还有什么网站等等的源代码asp+MyExperienceswithASP+PDCbits
NowthattheASP+sdk"pre-beta"hasbeenreleasedtothemasses.Manypeoplearescramblingtogetit
installedandstarttoplaywithC#,ASP+andmanyothertoysthatcomewiththeSDK.Beingthe
webmasterofASPFree,IvehadtheprivilegetoworkwithtwoversionsofASP+builds.AndImayadd,how
stablebothversionshavebeen!Itsdefinitelybeenanexperience,thisarticleIhopetoexpresssomeof
thethingstohelpguideindividualswhohavetoinstallandsupportthisintheirenvironment.
Firstofall,"DONTINSTALLONYOURPRODUCTIONSERVERS!!",Icantstressthisenough,thisis"pre-beta"
software.MicrosoftWILLNOTsupportpre-betasoftware.ASPFreeis"production"Iguess,butitdoesnt
hurtanythingifthesitecrashesorsomepagesdontdisplay.Theworldwontcometoanend,Iusethis
environmenttolearnnewtechnologyandsharewithothers.IdohaveadevelopmentmachinethatItest
thingsbeforeinstallingontheserverthatrunsASPFree.SomeofthetricksIshareinthisarticle
arejustmyownexperiences.ThesearethethingsIfoundhelpfulinkeepingthesamplesupandworking
formyvisitorsonASPFree.com.
HowdoIgetASP+installedthen?
BeforeIddoanything,doacompletebackup...evenonyourdevelopmentmachine.Idrecommendafresh
builtmachinewithWindows2000andIIS5.0,theninstallIE5.5andlastlythePDCASP+bits.Manyof
thenewsgroupsImonitor,somepeoplearehavingissuesiftheyinstalledthePDCVisualStudio7beta
thentryingtoputontheASP+sdk.IcantcommenttothisbecauseIhaventinstalledVS7beta.AllI
cansayinstallinthisorder,afreshinstallofWindows2000w/IIS5.0,IE5.5andPDCbuildofASP+.
Thingsshouldworkfine!.
WhatifIhaveClassicASPapplicationsonmyserver?
IfyourinstallingASP+onadevelopmentmachinewithexistingtraditionalASPapplications,thingswill
workjustfine.IveinstalledtheASP+bitsmanytimesandhaveyettoblowupanyofmyASPpages.
ASP+isdesignedtorunside-by-sidewithexistingASPpages.Ifyoudoubtthisclaim,viewASPFree.com.
Sincedayone,Ivemixed.aspand.aspxpagestogetherwithNOproblemsatall!
TheFirstBuildstory
WehadacoupleofsmallissueswiththefirstbuildthatwasinstalledonASPFree.Itranprettygood
foraboutaweekorsothenwehadafewoddthingshappen.Being"Pre-beta",Idexpectedthistohappen
sooner.IwasveryhappyhowstablethebetaswereandthesmallamountofissuesIreallyhad!When
thesampleswoulddieorsomeothererrorpopped-up,Idre-compilethesamplesandthatwouldtakecare
ofthem.ConsideringthetrafficloadASPFree.comvisitorsputonthem,theyheldupverywell.
YouaskhowdidIre-compilethesamples?
1.Openacommandprompt.
2MaptotheNGWSSDKsamplesdirectory.Ifyoutookthedefaultinstall,itsc:program
files
gwssdksamplesdirectory.
3.runnmake/allThiswillcompileallofthesamplesagain.
AnothertrickIfoundhelpfulwhenweirderrorswouldcomeup,Idusethe"KILL.EXE"commandthatcomes
withtheNT/2000resourcekit.Thisallowsyoutoterminateprocesseswithoutrestartingtheserver.
To"killtheASP+"process,
Openthetaskmanager(Rightclickonthestart-bar)
Findtheprocessxspwp.exeand/orthePID(ProcessIdentifer)
openacommandwindow(Start,run,cmd)
Typein"killxspwp.exe"or"killxxxx(4-digitidnumber)
HereisapictureofwhatImreferringtoo.
UsingthekillcommandhasprovedusefulinbothbuildsoftheSDKthathasbeenusedonASPFree.The
1stbuildwassomewhatbuggyandonceinawhilethingsbasicallystoppedworking.ThePDCbuild,the
oneMicrosoftjustreleasedtotheworldthisweek,ismuchmorestableandIhaventhadanyproblems.
Otherstrangethingssuchas"ThisEVILProcess,NULLStringinXXX"orwhatevertheerror.Usually
killingthexspwp.exeprocessandlettinganotheronestartupusuallyfixesthings.Pleasekeepinmind
thisarticleisbasedon"Pre-beta"software,usingthekillcommandtofixtheseproblemsarerarenow
withoneexception.
WhatistheXSPWP.exeprocess?
ThisistheworkerprocessthathandlesalloftheASP+tasks.
UsingtheKILLcommandtohelpcleanupvirtualmemory
NowthispartismyowntwistedwayIcameupwithtokeepthevirt</p>asp可以使用微软的activeX使得网页功能无比强大,不过安全性也较差,而且是基于的windows服务器,所以性能稳定性也一般 |
|