仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 456|回复: 7
打印 上一主题 下一主题

[学习教程] ASP网页设计谈谈关于ASP+ PDC bits的履历

[复制链接]
不帅 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-16 23:22:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

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服务器,所以性能稳定性也一般
飘灵儿 该用户已被删除
沙发
发表于 2015-1-17 05:03:54 | 只看该作者
我们必须明确一个大方向,不要只是停留在因为学而去学,我们应有方向应有目标.
海妖 该用户已被删除
板凳
发表于 2015-1-20 12:30:19 | 只看该作者
如何更好的使自己的东西看上去很不错等等。其实这些都不是问题的实质,我们可以在实践中不断提升自己,不断充实自己。
精灵巫婆 该用户已被删除
地板
发表于 2015-2-10 11:33:49 | 只看该作者
掌握asp的特性而且一定要知道为什么。
小魔女 该用户已被删除
5#
发表于 2015-3-1 09:51:56 | 只看该作者
封装性使得代码逻辑清晰,易于管理,并且应用到ASP.Net上就可以使业务逻辑和Html页面分离,这样无论页面原型如何改变,业务逻辑代码都不必做任何改动;继承性和多态性使得代码的可重用性大大提高。
谁可相欹 该用户已被删除
6#
发表于 2015-3-10 13:07:47 | 只看该作者
我想问如何掌握学习节奏(先学什么再学什么)最好详细点?
兰色精灵 该用户已被删除
7#
发表于 2015-3-17 08:08:20 | 只看该作者
虽然ASP也有很多网络教程。但是这些都不系统。都是半路出家,只是从一个例子告诉你怎么用。不会深入讨论,更不会将没有出现在例子里的方法都一一列举出来。
简单生活 该用户已被删除
8#
发表于 2015-3-24 02:26:03 | 只看该作者
Response:从字面上讲是“响应”,因此这个是服务端向客户端发送东西的,例如Response.Write
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-11-17 07:49

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表