视觉感很强微软.net幻灯片模板.pptVIP

  • 1
  • 0
  • 约8.52千字
  • 约 51页
  • 2018-05-05 发布于福建
  • 举报
视觉感很强微软.net幻灯片模板

Dynamically Compiled ASPX File Request ASPX Engine Parse Gen’d Page Class Generate Response Request Instantiate Response Code- behind class Page Class Instantiate, Process Render Compile 2400 1200 1600 800 400 2800 2000 PC Magazine Nile Application Test Pages Served per Second 8-CPU Compaq ProLiant 8500 Application Server 8-CPU Compaq ProLiant 8500 Database Server WebSphere 3.5 JSP RH Linux 7.0 Oracle 8i 370 789 603 8 CPU 4 CPU 2 CPU Microsoft ASP (VBScript) SQL Svr 2000 330 748 637 Microsoft ASP.NET (C#) SQL Svr 2000 1989 1154 2781 ASP.NET Pages can include… Code Blocks Static Text Control Tags HTML Tags Directives Data Binding Expressions Render blocks %= … % Server comments %-- --% Client script Creating Web Forms What Are Web Forms? What Are Server Controls? Types of Server Controls How Do Server Controls Work? Control event processing Demo What Are Web Forms? .aspx extension @Page Directive Framework Is an Object Model Denoted by the runat=server Attribute Contain Client-side and Server-side Code Contain HTML and Server Controls Form runat=server /Form %@ Page Language=“c# % Why Web Forms? New control-based, event-driven execution model for Web UI VB for the Web Cleanly encapsulated functionality Much less code required than ASP Executed via CLR as native code VB, C#, Jscript Faster execution than ASP Web Forms use .ASPX extension Runs side-by-side with ASP applications What Are Server Controls? Server-programmable Objects Denoted by Tag with the runat = server Attribute Encapsulate Both Behavior and Rendering Fully Declarative Render Different HTML to Support Multiple Browsers or other Web Clients Types of Server Controls HTML Controls Exist within the System.Web.UI.HtmlControls namespace Web Controls Exist within the System.Web.UI.WebControls namespace input type=text id=txtName runat=server span id=spnStarter runat=server starter/span asp:TextBox id=txtName runat=server Text=[Entry Keywords]/ Html Control Demo What Are Web Controls? Web C

文档评论(0)

1亿VIP精品文档

相关文档