machineasp.net
asp.net 时间:2021-04-18 阅读:(
)
ASP.
NETPart1Instructor:CharlesMoenCSCI/CINF4230*ASP.
NETMicrosofttechnologyforbuildingdynamic,interactivewebsitesPartoftheMicrosoft.
NETFrameworkServer-sidetechnologythatmustbeusedonaMicrosoftserverIt'susedonsomeofthebiggestwebsites-Microsoft.
com-Costco.
com-Dell.
com-Monster.
com-MySpace.
com-Match.
comASP.
NET(Walther,Wikipedia,Ding,Microsoft)*ASP.
NETHistoryNamedASP+whilestillinbetaASP.
NET1.
0wasreleasedbyMicrosoftinJanuary2002ItsnameissimilartoanearlierMicrosofttechnologyfordynamically-createdWebpagesthatiscalledASP(forActiveServerPages),buttheyareincompatibleandareverydifferentTheearlyversionissometimescalled"ClassicASP"ASP.
NET3.
5CurrentversionReleasedinNovember2007ASP.
NET(Wikipedia)*.
NETFrameworkAmarketingtermthatMicrosoftusesforacollectionoftechnologiesLanguages,suchasC#andVBThe.
NETclasslibraryASP.
NET–theengineforhostingdynamicwebpagesADO.
NET–thetechnologyforconnectingtodatabaseVisualStudioASP.
NET(MacDonald)*.
NETFrameworkFrameworkClassLibraryMorethan13,000classesAlltheclassesaredividedintonamespacesTheclassesarestoredin.
dllfiles,whicharecalled"assemblies,"e.
g.
System.
Web.
dllCommonLanguageRuntimeExecutesyourapplicationcodeAcompilerconvertsthesourcecodeintoMSIL(MicrosoftIntermediateLanguage),whichisplatform-independentTheJITTER(Just-In-Timecompiler)convertstheMSILcodeintomachinecodewhentheapplicationexecutesASP.
NET(Walther)*DevelopmentEnvironmentsIDEVisualWebpagedevelopment,drag-and-dropcontrols,codecompletion,integrateddebugging,automaticcompiling,more.
.
.
MicrosoftVisualStudio2008MicrosoftVisualWebDeveloper2008ExpressEditionFreewww.
microsoft.
com/express/vwdServersIISASP.
NETDevelopmentServerrunbytheIDEOSWindowsXPProfessionalWindowsVistaASP.
NET(Wikipedia,Walther,Ding)*Server-sideProcessingASP.
NET(MacDonald)IISistheserverhttp://dcm.
uhcl.
edu/moen/welcome.
aspxCharles+MoenServerlooksattheextensionoftherequestedfileIfitishtmlTheserverlocatesthefileThenreturnsittotheuseragentinsideanHTTPresponseIfitisaspxTheserverfindstheprogramthatcanprocessitSendstherequesttotheASP.
NETengineinaspnet_isapi.
dllASP.
NETprocessesthepageintheaspxfileTheservergetstheHTMLfromASP.
NET;returnsittotheuseragentinsideanHTTPresponseASP.
NET*FileTypes.
aspxASP.
NETwebpages.
aspx.
csCode-behindfilesthatcontainC#codeSeparatesapplicationlogicfromthestructureandpresentationofthewebpage.
ascxUsercontrolsthatyou'vedeveloped.
asmxWebservices–methodsthatcanbecalledovertheInternetweb.
configXMLconfigurationfileGlobal.
asaxGlobalapplicationfile–defineglobalvariablesandeventhandlersASP.
NET(MacDonald)*.
aspxFileExampleasp:LabelID="Label1"runat="server"Text="Enteryourname:">ASP.
NET(MacDonald)A.
aspxpageisreferredtoasaWebFormMost.
aspxpageshaveaformelementDifferentfromanHTMLformbecauseitusesASP.
NETcontrols*PageDirectiveASP.
NET(MacDonald)AlwaysthefirstlineTellsASP.
NETbasicinformationabouthowtocompilethepageLanguageusedforthecodeThewaythateventhandlersareconnectedIfyou'reusingcode-behind,itspecifiesthecode-behindfileandthenameoftheclassinthecode-behindfileExampleasp:LabelID="Label1"runat="server"Text="Enteryourname:">*DOCTYPEASP.
NET(MacDonald)FollowsthepagedirectiveDefaultstotransitionalExampleasp:LabelID="Label1"runat="server"Text="Enteryourname:">*HTMLElementsASP.
NET(MacDonald)HTMLelements–html,head,bodyFormelementIncludedbydefaultContainsanesteddivelementbydefaultExampleasp:LabelID="Label1"runat="server"Text="Enteryourname:">*ASP.
NETWebControlsASP.
NET(MacDonald)OrdinaryXHTMLelementsaremixedwithASP.
NETwebcontrolsIndentifiedbytheasp:namespaceWhenthepageisprocessedintheASP.
NETengine,theASP.
NETwebcontrolsarerenderedasXHTMLmarkupPagesenttotheclientisalwaysstandardXHTML,andmayincludeCSSandJavaScriptExampleasp:LabelID="Label1"runat="server"Text="Enteryourname:">*ASP.
NETControlsHTMLservercontrolsEquivalenttostandardHTMLelementsProcessedontheserversideWebcontrolsASP.
NETversionsofstandardcontrolsbuttons,inputfields,labelsValidationcontrolsrequiredfield,range,regularexpressionDatacontrolsforworkingwithdatainadatabaseNavigationcontrolsmenus,treeviews,breadcrumbtrailsRichcontrolscalendar,fileupload,wizards,banneradsLogincontrolsASP.
NET(Walther,MacDonald)*HTMLServerControlsEquivalenttostandardHTMLelementsProcessedontheserversideEachcontrolhasaclassthatisdefinedinSystem.
Web.
UI.
HtmlControls(MacDonald,p.
138)AdvantagesTheyretaintheirstateTheyfireserver-sideevents,whichyourcodecanrespondtoEasytoconvertfromanexistingpageAddrunat="server"ASP.
NET(Walther,MacDonald)*ConvertingfromHTMLtoASP.
NETASP.
NET(MacDonald)CurrencyConverterConvert: inputtype="text"id="US"nbsp;U.
S.
dollarstoEuros.
br/>
vollcloud LLC创立于2020年,是一家以互联网基础业务服务为主的 技术型企业,运营全球数据中心业务。致力于全球服务器租用、托管及云计算、DDOS安 全防护、数据实时存储、 高防服务器加速、域名、智能高防服务器、网络安全服务解决方案等领域的智 能化、规范化的体验服务。所有购买年付产品免费更换香港原生IP(支持解锁奈飞),商家承诺,支持3天内无条件退款(原路退回)!点击进入:vollclo...
快快CDN主营业务为海外服务器无须备案,高防CDN,防劫持CDN,香港服务器,美国服务器,加速CDN,是一家综合性的主机服务商。美国高防服务器,1800DDOS防御,单机1800G DDOS防御,大陆直链 cn2线路,线路友好。快快CDN全球安全防护平台是一款集 DDOS 清洗、CC 指纹识别、WAF 防护为一体的外加全球加速的超强安全加速网络,为您的各类型业务保驾护航加速前进!价格都非常给力,需...
舍利云怎么样?舍利云推出了6核16G超大带宽316G高性能SSD和CPU,支持全球范围,原价516,折后价200元一月。原价80美元,现价30美元,支持地区:日本,新加坡,荷兰,法国,英国,澳大利亚,加拿大,韩国,美国纽约,美国硅谷,美国洛杉矶,美国亚特兰大,美国迈阿密州,美国西雅图,美国芝加哥,美国达拉斯。舍利云是vps云服务器的销售商家,其产品主要的特色是适合seo和建站,性价比方面非常不错,...
asp.net为你推荐
小企业如何做品牌一个小企业,如何做大做强?centos6.5centos7和centos6.5的区别正大天地网天地网微信移动办公平台pintang深圳御品堂怎么才能保证他们卖的东西都是有机食品?中国保健养猪网最具权威的养猪信息网站是哪个 啊骑士人才系统公司要采购一套人才系统源码,看了一下骑士和嘉缘的,谁家的比较好一点呢?托就不要回答了。地址栏图标网站添加地址栏图标代码怎么写?discuz教程Discuz! Database Error怎么解决啊?我的电脑打不开这个网啊很久了。其他电脑可以。社区动力我是一名新入职社区员工,怎样做好社区工作?无忧登陆无忧登陆这个软件有毒吗
域名劫持 百度域名 个人注册域名 江西服务器租用 广州主机租用 香港vps主机 二级域名申请 linuxapache虚拟主机 php探针 云主机51web 远程登陆工具 嘟牛 ibox官网 anylink idc资讯 刀片式服务器 稳定免费空间 中国电信宽带测速网 服务器监测 申请免费空间和域名 更多