1. Trang chủ
  2. » Công Nghệ Thông Tin

Asp.net slide1

18 246 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

Asp.net slide

Session 1ASP.NET and Web Forms Exploring ASP.NET / Session 1 / 2 of 18ObjectivesExplore Active Server Pages State the Drawbacks and advantages of ASP Explain the features of ASP.NET Explain the Features of Web Forms State the differences between pages created in Web Forms and Editors Exploring ASP.NET / Session 1 / 3 of 18Active Server Pages <HTML><BODY><CENTER><I><FONT COLOR="HOTPINK" size = 5><%If Time >= #12:00:00 AM# And Time < #12:00:00 PM# Then%> "Now the time is between 12:00 am and 12:00 pm"<%Else%>" Now the time is between 12:00 pm and 12:00 am"<%End If%></FONT></I></CENTER></BODY></HTML>Executed on server Exploring ASP.NET / Session 1 / 4 of 18Processing of ASP fileClient (Browser)ASP.DLLIISVBScriptJavaScriptActiveX Data Objects(ADO)DatabaseASP file Exploring ASP.NET / Session 1 / 5 of 18Advantages of ASP Exploring ASP.NET / Session 1 / 6 of 18ASP file in a Web-based application Client (Browser)Active Server ComponentsDatabaseActive Server Pages (ASP)•JavaScript•VBScriptActive Server Pages (ASP)•JavaScript•VBScriptActive Server Pages (ASP)•JavaScript•VBScript Exploring ASP.NET / Session 1 / 7 of 18Evolution of ASP.NET Exploring ASP.NET / Session 1 / 8 of 18Drawbacks of ASPInterpreted ASP pagesOnly two non-typed languages VBScript and JavaScriptSpaghetti-like mixture of code, HTML and text Using the same file. Extra code for functionalityNo code Re-useNo debugging mechanismShut down of web server to install a new version of a DLL Exploring ASP.NET / Session 1 / 9 of 18Advantages of ASP.NETASP.NETSupports strongly typed languages like C#, VB Compiled pages improve execution speedSupports re-use of code by the mechanism of inheritance ASP code is separated from the HTML design and textProvides server controls that are declarative An inbuilt method Trace, helps in debugging a page No need to register component. Exploring ASP.NET / Session 1 / 10 of 18Features of ASP.NET ASP.NETRecognizes the type of client browser, and accordingly displays the contents to the client. Adds functionality using C# or VB.NET Uses server - side caching Ships with many built-in server controls [...]...Features of ASP.NET Contd… Refers hierarchical namespaces   Global.asax file holds additional events ASP.NET  Web service - a function deployed and used over the web Exploring ASP.NET / Session 1 / 11 of 18 Web Form IDE Exploring ASP.NET / Session 1 / 12 of 18 WebForms Toolbox Exploring ASP.NET / Session 1 / 13 of 18 WebForms Toolbox Contd… Exploring ASP.NET / Session 1 / 14 of 18... Project files - Web Forms     WebForm1.aspx and WebForm1.aspx.cs AssemblyInfo.cs Web.config Global.asax Exploring ASP.NET / Session 1 / 15 of 18 Differences between pages created in Web Forms and Editors  Most of the features supported by Web Forms can be achieved with the help of ASP.NET programs, written using editors  The different web pages of an application created using Web Forms, and the... (.dll) file  In the editor based web application, separate dynamic link libraries (.dlls) are created for each file  The web pages created using Web Forms will have the Codebehind attribute Exploring ASP.NET / Session 1 / 16 of 18 Summary       Active Server Pages (ASP) is a server-side scripting environment, that provides a web server with the capability to process application logic, and return... version, and culture information Once the code has been compiled, the CLR further compiles the IL to native code when the request for the web page is encountered, providing improved performance Exploring ASP.NET / Session 1 / 17 of 18 Summary Contd…       Web.config is an XML based file It holds unique configuration information about each URL used in the project Global.asax is an optional file that... Web Forms, will have the Codebehind attribute, that informs Web Forms IDE about the code file that has to be changed, whenever a change is made to the Design, or the HTML view of the Web Form Exploring ASP.NET / Session 1 / 18 of 18 . over the webASP .NET Exploring ASP. NET / Session 1 / 12 of 18Web Form IDE Exploring ASP. NET / Session 1 / 13 of 18WebForms Toolbox Exploring ASP. NET / Session. ASP. NET / Session 1 / 7 of 18Evolution of ASP. NET Exploring ASP. NET / Session 1 / 8 of 18Drawbacks of ASPInterpreted ASP pagesOnly two non-typed languages

Ngày đăng: 15/11/2012, 14:44

Xem thêm

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN