开发员最好的和必备的资源(英文版)

上传人:j****s 文档编号:54757724 上传时间:2018-09-18 格式:PPT 页数:50 大小:726.50KB
返回 下载 相关 举报
开发员最好的和必备的资源(英文版)_第1页
第1页 / 共50页
开发员最好的和必备的资源(英文版)_第2页
第2页 / 共50页
开发员最好的和必备的资源(英文版)_第3页
第3页 / 共50页
开发员最好的和必备的资源(英文版)_第4页
第4页 / 共50页
开发员最好的和必备的资源(英文版)_第5页
第5页 / 共50页
点击查看更多>>
资源描述

《开发员最好的和必备的资源(英文版)》由会员分享,可在线阅读,更多相关《开发员最好的和必备的资源(英文版)(50页珍藏版)》请在金锄头文库上搜索。

1、MSDN 开发员最好的和必备的资源,站在微软技术最前沿!,为开发者创建的网络 提供一年12期的光盘资料 分三个级别 开发库最新的开发文档,示例代码 专业版开发库+全部微软操作系统+SDK+DDK 宇宙版专业版+其他所有微软产品 目的: 为开发人员提供最先进的技术资料,产品,并提供相互帮助的机会,Introduction To Active Server Pages.NET,Overview,Introducing ASP.NET Creating Web Forms Web Forms Data Binding User Controls Using Web Services,ASP Toda

2、y (the Pros),The leading web app development platform Nearly 1 million developers using ASP todaySimple and approachable model for web developers to get started No compilers required “just hit save” Easy to use languages and object modelWell established developer support base Good book/consulting/co

3、nference support,ASP Today (the Cons),Weak tools Poor layout, debuggers, profilers Confusing security architecture Doesnt work well for Internet apps Poor deployment COM components a nightmare Metabase configuration options confusing Scalability challenges No web farm or caching infrastructure,Intro

4、ducing ASP.NET,Your existing ASP skills still apply, but there are lots more features to leverage Platform for creating scalable Web applications and services Improved developer productivity Modular, factored architecture Easier to deploy Enhanced reliability & availability Improved performance & sc

5、alability,ASP.NET Features,Multiple Language Support Increased Performance Compiled code Cache Classes and Namespaces Server Controls Web Services,ASP.NET Features (continued),Improved Security Greater Scalability Cookie-less Sessions Easy Configuration and Deployment,ASP.NET Web Page Demo,Part Decl

6、arative, Part Code,Declarative “tags“HTML, server controls tags, static text Unlike ASP, good separation provided between code and tags,Form1.aspx,code,Form1.aspx,code,Form1.vb,single file,separate files (“code-behind“),Dynamically Compiled,2400,1200,1600,800,400,2800,2000,PC Magazine Nile Applicati

7、on 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,8 CPU 4 CPU 2 CPU,Microsoft ASP (VBScript) SQL Svr 2000,Microsoft ASP.NET (C#) SQL Svr 2000,ASP.NET Pages can include,Code Blocks,Static T

8、ext,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 Dir

9、ectiveFramework Is an Object Model Denoted by the runat=“server“ AttributeContain Client-side and Server-side Code Contain HTML and Server Controls,Why Web Forms?,New control-based, event-driven execution model for Web UI “VB for the Web“ Cleanly encapsulated functionality Much less code required th

10、an 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 Fu

11、lly 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 namespaceWeb Controls Exist within the System.Web.UI.WebControls namespace,starter,Html Control Demo,What Are Web Controls?,Web C

12、ontrols Intrinsic controls asp:list, asp:button, asp:checkbox, asp:table Input Validation controls asp:RangeValidator, asp:RegularExpressionValidator Rich controls asp:calendar, asp:adrotator List-bound controls asp: datagrid, asp:repeater, asp:datalist,How Do Server Controls Work?,Declared with run

13、at=“server“ AttributeWhen the ASP.NET Page is Executed: Creates action and method attributes of form Adds unique id and name attributes to controls Adds value attribute to controls Adds a hidden control to the form to save view state information,void SubmitBtn_Click(Object sender, EventArgs E) Messa

14、ge.Text=“Hi “ + Name.Text; Name:,Other Microsoft Controls,Mobile Controls Renders Web UI to Mobile devices including WAP phones, Msft Mobile Explorer phones, CE devices, etc. Download: http:/ Internet Explorer Controls Take advantage of IE 5.5 DHTML Behaviors for richer client experience TabStrip, T

15、reeView and Toolbar More info: http:/ Explorer Control Demo,Control event processing,Events are: Triggered on the client Handled in server code Requires a postback to the same page ViewState helps restore control to its previous state Implemented as a hidden form field Disable via: EnableViewState=false Tip: Data Binding resets control state,Handling Control Events,Wire up the handler on the tag:Or, in code (VS.NET does this automatically) btn1.Click += new EventHandler(btn1_click); Event handler code:public void btn1_Click(sender Object,e EventArgs)Message.Text = “Button1 clicked“,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 其它文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号