仓酷云
标题:
ASP网页设计谈谈关于ASP+ PDC bits的履历
[打印本页]
作者:
不帅
时间:
2015-1-16 23:22
标题:
ASP网页设计谈谈关于ASP+ PDC bits的履历
源代码保护方面其实现在考虑得没那么多了..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服务器,所以性能稳定性也一般
作者:
飘灵儿
时间:
2015-1-17 05:03
我们必须明确一个大方向,不要只是停留在因为学而去学,我们应有方向应有目标.
作者:
海妖
时间:
2015-1-20 12:30
如何更好的使自己的东西看上去很不错等等。其实这些都不是问题的实质,我们可以在实践中不断提升自己,不断充实自己。
作者:
精灵巫婆
时间:
2015-2-10 11:33
掌握asp的特性而且一定要知道为什么。
作者:
小魔女
时间:
2015-3-1 09:51
封装性使得代码逻辑清晰,易于管理,并且应用到ASP.Net上就可以使业务逻辑和Html页面分离,这样无论页面原型如何改变,业务逻辑代码都不必做任何改动;继承性和多态性使得代码的可重用性大大提高。
作者:
谁可相欹
时间:
2015-3-10 13:07
我想问如何掌握学习节奏(先学什么再学什么)最好详细点?
作者:
兰色精灵
时间:
2015-3-17 08:08
虽然ASP也有很多网络教程。但是这些都不系统。都是半路出家,只是从一个例子告诉你怎么用。不会深入讨论,更不会将没有出现在例子里的方法都一一列举出来。
作者:
简单生活
时间:
2015-3-24 02:26
Response:从字面上讲是“响应”,因此这个是服务端向客户端发送东西的,例如Response.Write
欢迎光临 仓酷云 (http://ckuyun.com/)
Powered by Discuz! X3.2