Presentation is loading. Please wait.

Presentation is loading. Please wait.

ASP.NET Module Subtitle.

Similar presentations


Presentation on theme: "ASP.NET Module Subtitle."— Presentation transcript:

1 ASP.NET Module Subtitle

2 Objectives Introduction to ASP.NET ASP.NET and Ajax
Concepts and Architecture ASP.NET Features Advanced ASP.NET ASP.NET and Ajax How to build website.

3 Looking Back: Active Server Pages
What is ASP? Server-side scripting technology Files containing HTML and scripting code Access via HTTP requests Scripting code is interpreted on server side What can I do with ASP? Easily and quickly create simple Web applications Generate dynamic Web content Client-side scripting for validation

4 What’s Wrong with That? Mixes layout (HTML) and logic (scripting code)
Interpreting ASP code leads to performance loss Uses scripting languages that are not strongly typed Microsoft JScript® Microsoft Visual Basic® Scripting Edition (VBScript) Browser compatibility No real state management No state sharing across Web forms State is lost when IIS fails Update files only when server is down

5 ASP.NET Core Concepts Separate layout and business logic
Use services provided by the .NET Framework Code is compiled the first time a page is requested State management Make use of programming languages Update files while the server is running!

6 Supported Languages Visual Basic JScript C# C++
VBScript is unmanaged ! JScript C# New component-based language C++ Managed Extensions for C++ Others: Cobol, Smalltalk, ...

7 State Management Session State What is a session? Functionality
Restricted to a logical application Context in which a user communicates with a server Functionality Request identification and classification Store data across multiple requests Session events Release of session data

8 Security 1/2 Reasons for Security Security Configuration
Prevent access to areas of your Web server Record and store secure relevant user data Security Configuration <security> tag in Config.web file Authentication, Authorization.

9 Security 2/2 Authentication Authorization Validates user credentials
Awards an authenticated identity Types of authentication Windows, integrating with IIS 5.0 Passport, centralized services provided by Microsoft Cookie, request attachment Authorization Determine whether request is permitted File and URL authorization

10 Caching Enhance performance of your Web application Output Caching
Store and retrieve pages or objects Page caching Fragment caching

11 Working with Data 1/2 SQL and XML Essential Objects Namespaces
Access and manipulate data Essential Objects SQLConnection, SQLCommand, and DataSet Namespaces System.Data and System.Data.SQL

12 Working with Data 2/2 ADO.NET Overview Disconnected data architecture
Datasets are complete relational views of data XML and XML schema Windows Form Web Form B2B Internet Data Object Dataset XML

13 ASP.NET Application Structure
ASP.NET Folders App_Data App_Code App_LocalResources App_GlobalResources App_Themes Bin

14 Server Controls Overview
Web Forms Server Controls HTML control. ASP.NET control. Validation control. User control.

15 ASP.Net Feature Master Page. Custom User control. Theme and skin.

16 ASP.NET and Ajax Ajax referred to (Asynchronous JavaScript And XML).
Make web apps more responsive Update only a portion of the page Users don’t have to: Wait for the entire page to refresh Re-orient themselves after a page refresh Provide real time updates Simulate “pushing” data to the browser

17 ASP.NET and Ajax Script Manager. Update Panel. Ajax Toolkit control.

18 Referenece The official ASP.NET website: http://asp.net/
The ASP.NET AJAX Control Toolkit: The official ASP.NET AJAX site:


Download ppt "ASP.NET Module Subtitle."

Similar presentations


Ads by Google