An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
11 ASP.NET Slides based off:. 22 B ACKGROUND - W EB A RCHITECTURE Web Server PC/Mac/Unix/... + Browser Client Server Request:
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Introduction to ASP.NET What is.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting.
ISYS 512 Business Application Design and Development with.Net David Chao.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
ASP.NET
Rajeswari Indupuri Introduction to.NET Framework.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Introduction to.NET Content : – Introduction to.NET Technology – Introduction to Web Based Applications – Introduction to ASP.NET 1 By : Amrendra Sharan.
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
© 2004 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Programming the Web Using ASP.Net Chapter 2: The ASP.Net Template Dave.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
Introduction to .Net Framework
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Overview of Previous Lesson(s) Over View  Server controls are small building blocks of the graphical user interface, which includes  Text boxes  Buttons.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
Christopher M. Pascucci.NET Programming: Basic ASPX Scripting & HTML Embedment.
Enticy GROUP THE A Framework for Web and WinForms (Client-Server) Applications “Enterprise Software Architecture”
Chapter 9 Programming with Web Forms Programming In Visual Basic.NET.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
© Minder Chen, ASP.NET 2.0: Introduction - 1 ASP.NET 2.0 Minder Chen, Ph.D. Framework Base Class Library ADO.NET: Data & XML.
ASP.NET application. Roadmap ASP.NET file types Bin directory Application updates Simple application from start to finish using a virtual directory Behind.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Cross-Language Demo Demonstrates mixing C# and VB.NET code C# Class CSDemoClass.cs VB.NET Class VBDemoClass.vb “Main” class (C#) Demo.cs.
CIS 451: ASP.NET Concepts Dr. Ralph D. Westfall January, 2009.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
COMP3241 E-Business Technologies Richard Henson University of Worcester October 2012.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Christopher M. Pascucci.NET Programming CodeBehind.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
The Problem of State. We will look at… Sometimes web development is just plain weird! Internet / World Wide Web Aspects of their operation The role of.
Module 1: Overview of the Microsoft .NET Framework
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Introduction to ASP.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting languages.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Introduction to ASP.NET What is.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting.
ISYS 512 Business Application Design and Development with.Net David Chao.
July 22, 2001Introduction to.NET1 Introduction to.NET Framework Gholamali Semsarzadeh July 2001.
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
Introducing the Microsoft® .NET Framework
Haritha Dasari Josue Balandrano Coronel -
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
CIS16 Application Development – Programming with Visual Basic
ASP.NET
ASP.NET 4.0 State Management Improvements – Deep Dive
Chapter 9 Programming with Web Forms
Presentation transcript:

An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7

Agenda What is ASP? Architecture Visual Studio (demo) Controls (demo) Validation (demo) Viewstate (demo)

‘Classic’ ASP Launched in 1996 VBScript.aspProcedural Inline scripting Executed ‘on the fly’ Manual state maintenance

ASP.NET Launched in 2002 C#, VB.NET or any.NET language.aspx Object Orientated – Events Driven Code-behind Compiled and cached Automatic state maintenance – ViewState Controls including forms validation

Architecture -.NET Common Language Runtime Visual Studio.NET.NET Framework Class Library ASP.NETASP.NETWindows Forms FormsWindows ASP.NET Web Services ASP.NET Enterprise Services ADO.NETADO.NETMore...More... Common Language Specification C#C#VB.NETVB.NETJ#J#CobolCobolMore...More... FrameworkIDE

Architecture -.NET Source Code Compilation Language Compiler Assembly Execution JIT Compiler NativeCode Code (IL) Metadata

Architecture - ASP.NET Compilation Manual compilation Locally compiled to MSIL (dll) Automatic compilation Compiled to MSIL on first access Compiled to native code on first access Cached by server for performance Recompiled if source is modified

Benefits – ASP.NET Compilation Performance Compiled code is closer representation to machine codeSecurity Compiled code is more difficult to reverse engineerStability Code is checked at compile time for syntax errors, type safety, and other problemsInteroperability MSIL supports all.NET languages Assemblies written in different languages work together

ASP.NET Compilation - Details Each ASP.NET page compiled into a class that extends System.Web.UI.Page Implements IHttpHandler Exposes HttpContext Properties as own Response, Request and Server objects are available as properties of the class Methods for rendering are provided (eg. Response.Write) Events associated with generating the page are defined (eg. Page_Load)

Server-side code placement in page compilation

ASP.NET Model ASP.NET – Just-In-Time Compilation Response Response PageClass Instantiate, process and render Gen’d Page Class FileGenerate Instantiate Parse ASPXEngine ASPX File Request Request Code- behind class file ASPX File Web Browser

Visual Studio IDE for.NET development Desktop/Web/Mobile/XBOXIntellisenseDebugging ASP.NET enabled test server Drag and drop GUI Integration with Expression Suite MSDNAA Express Editions

Visual Studio Express Tools for Windows, Web, Database and Games Development Include optional components Express MSDN Library SQL Server 2005 Express Edition Client Web/Web Services { Database {{

Controls Large control library available Similar to Windows Forms Inherit from base class Web.UI.WebControls Custom controls can be built Can be easily added and manipulated through Visual Studio 2005 GUI HTML and ASP.NET controls runat=“server” Fewer events supported than Windows Forms

Validation Full validation architecture Custom error messages Preset + custom validation controls Validation summary Validation groups Client side validation through JavaScript Saves unnecessary round trip for invalid input Server side validation Added security + backup for downlevel browsers

Maintaining State HTTP is a stateless protocol Sessions tracked with cookies or URL Viewstate stores unposted control states Posted control states restored automatically Session used to store custom variables Profile for persistent state based on user