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/>
DiyVM是一家成立于2009年的国人主机商,提供的产品包括VPS主机、独立服务器租用等,产品数据中心包括中国香港、日本大阪和美国洛杉矶等,其中VPS主机基于XEN架构,支持异地备份与自定义镜像,VPS和独立服务器均可提供内网IP功能。商家VPS主机均2GB内存起步,三个地区机房可选,使用优惠码后每月69元起;独立服务器开设在香港沙田电信机房,CN2线路,自动化开通上架,最低499元/月起。下面以...
阿里云国际版注册认证教程-免绑卡-免实名买服务器安全、便宜、可靠、良心,支持人民币充值,提供代理折扣简介SunthyCloud成立于2015年,是阿里云国际版正规战略级渠道商,也是阿里云国际版最大的分销商,专业为全球企业客户提供阿里云国际版开户注册、认证、充值等服务,通过SunthyCloud开通阿里云国际版只需要一个邮箱,不需要PayPal信用卡就可以帮你开通、充值、新购、续费阿里云国际版,服务...
IT狗为用户提供 在线ping、在线tcping、在线路由追踪、域名被墙检测、域名被污染检测 等实用工具。【工具地址】https://www.itdog.cn/【工具特色】1、目前同类网站中,在线ping 仅支持1次或少量次数的测试,无法客观的展现目标服务器一段时间的网络状况,IT狗Ping工具可持续的进行一段时间的ping测试,并生成更为直观的网络质量柱状图,让用户更容易掌握服务器在各地区、各线...
asp.net为你推荐
strategicsnsflashwind用flashwind这个加速器玩游戏,会被盗号吗?会被封号吗?新iphone也将禁售iPhone8plus在2020年还会有货吗internetexplorer无法打开Internet Explorer 打不开了internetexplorer无法打开Internet Explorer 无法打开?asp.net网页制作怎么用ASP.NET 做一个网页注册。简单的就行360防火墙在哪里电脑或电脑360有联网防火墙吗,在哪里设置汉字cuteftpcsamy缤纷网缤纷的意思是什么
便宜域名注册 域名空间购买 香港vps 国外服务器网站 网站被封 服务器架设 一元域名 秒杀汇 阿里校园 ftp免费空间 香港新世界中心 国外ip加速器 中国电信网络测速 ebay注册 数据库空间 电信网络测速器 攻击服务器 域名和主机 中国电信宽带测速 葫芦机 更多