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/>
小白云是一家国人自营的企业IDC,主营国内外VPS,致力于让每一个用户都能轻松、快速、经济地享受高端的服务,成立于2019年,拥有国内大带宽高防御的特点,专注于DDoS/CC等攻击的防护;海外线路精选纯CN2线路,以确保用户体验的首选线路,商家线上多名客服一对一解决处理用户的问题,提供7*24无人全自动化服务。商家承诺绝不超开,以用户体验为中心为用提供服务,一直坚持主打以产品质量用户体验性以及高效...
目前,我们都在用哪个FTP软件?喜欢用的是WinSCP,是一款免费的FTP/SFTP软件。今天在帮助一个网友远程解决问题的时候看到他用的是FlashFXP FTP工具,这个工具以前我也用过,不过正版是需要付费的,但是网上有很多的绿色版本和破解版本。考虑到安全的问题,个人不建议选择破解版。但是这款软件还是比较好用的。今天主要是遇到他的虚拟主机无法通过FTP连接主机,这里我就帮忙看看到底是什么问题。一...
Krypt这两天发布了ION平台9月份优惠信息,提供一款特选套餐年付120美元(原价$162/年),开设在洛杉矶或者圣何塞机房,支持Windows或者Linux操作系统。ion.kryptcloud.com是Krypt机房上线的云主机平台,主要提供基于KVM架构云主机产品,相对于KT主站云服务器要便宜很多,产品可选洛杉矶、圣何塞或者新加坡等地机房。洛杉矶机房CPU:2 cores内存:2GB硬盘:...
asp.net为你推荐
客户flashcentos6.5如何安装linux centos6.5ipad代理苹果官网购买ipad要几天正大天地网天地网微信移动办公平台什么是seoseo怎么学呢?网站后台密码破解网站后台管理密码忘记了怎么破解啊高手进来.powerbydedecms如何去掉底部的 powered by dedecms怎样发帖子怎么发帖啊,joomla安装巡更怎么安装谷歌新漏洞谷歌浏览器真的有沙箱吗?真的不中毒?
虚拟主机排名 ip查域名 Oray域名注册服务商 ftp空间 hkbn 国外私服 60g硬盘 阿里云浏览器 创建邮箱 空间登陆首页 华为云建站 工信部icp备案查询 沈阳idc 美国主机侦探 godaddy域名 nic shuangshiyi 饭桶 网络安装 海尔t68驱动 更多