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/>
春节期间我们很多朋友都在忙着吃好喝好,当然有时候也会偶然的上网看看。对于我们站长用户来说,基本上需要等到初八之后才会开工,现在有空就看看是否有商家的促销。这里看到来自HMBcloud半月湾服务商有提供两款春节机房方案的VPS主机88折促销活动,分别是来自洛杉矶CN2 GIA和日本CN2的方案。八八折优惠码:CNY-GIA第一、洛杉矶CN2 GIA美国原生IP地址、72小时退款保障、三网回程CN2 ...
UCloud优刻得近日针对全球大促活动进行了一次改版,这次改版更加优惠了,要比之前的优惠价格还要低一些,并且新增了1核心1G内存的快杰云服务器,2元/首年,47元/年,这个价格应该是目前市面上最低最便宜的云服务器产品了,有需要国内外便宜VPS云服务器的朋友可以关注一下。UCloud好不好,UCloud服务器怎么样?UCloud服务器值不值得购买UCloud是优刻得科技股份有限公司旗下拥有的云计算服...
达州创梦网络怎么样,达州创梦网络公司位于四川省达州市,属于四川本地企业,资质齐全,IDC/ISP均有,从创梦网络这边租的服务器均可以备案,属于一手资源,高防机柜、大带宽、高防IP业务,一手整C IP段,四川电信,一手四川托管服务商,成都优化线路,机柜租用、服务器云服务器租用,适合建站做游戏,不须要在套CDN,全国访问快,直连省骨干,大网封UDP,无视UDP攻击,机房集群高达1.2TB,单机可提供1...
asp.net为你推荐
Securityasp操作httpcentos6.5centos7和centos6.5的区别资费标准中国移动4g18元套餐介绍开放平台微信的开放平台是干什么用的购物车通过自己的体会总结购物车的作用传奇域名谁能帮忙查查传奇的IP和域名温州都市报招聘在温州哪里好找工作?discuz伪静态DZ怎么开启全站伪静态dezender如何将shopex和phpwind两个伪静态规则写在一起
3322动态域名注册 到期域名查询 seovip 日本空间 空间出租 国外免费全能空间 1g空间 ftp免费空间 33456 512mb 域名与空间 免费ftp 数据库空间 lamp怎么读 空间申请 葫芦机 美国asp空间 最新优惠 hosting 游戏服务器 更多