ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.

Slides:



Advertisements
Similar presentations
Unit 02. ASP.NET Introduction HTML & Server controls Postbacks Page Lifecycle.
Advertisements

Introduction to .NET Framework
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.
11 ASP.NET Slides based off:. 22 B ACKGROUND - W EB A RCHITECTURE Web Server PC/Mac/Unix/... + Browser Client Server Request:
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
1 Classic ASP vs. ASP.NET Technical Information and Market Adoption Lance Welker University of San Diego Dr. Rebman MSIT 526 December 20, 2005.
Platforms and tools for Web Services and Mobile Applications Introduction to.Net Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Rajeswari Indupuri Introduction to.NET Framework.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
XML Web Services in Visual Studio.NET Peter Ty Developer Evangelist.NET and Developer Group.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
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.
1 Presented by Bikash Shrestha. 2 What is ASP.NET or ASP+? ASP.NET/ASP+ is a programming framework built on the common language runtime that can be used.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
3/8/00asp00 1 Active Server Pages from Microsoft Nancy McCracken Northeast Parallel Architectures Center at Syracuse.
VS.NET Syllabus By Peter Huang.
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
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.
Introduction to .NET Rui Ye.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
ASP.Net Web Applications. Characteristics of a typical data driven web application Web Server HTML Graphics Active-X Java Applets HTTP Request ADO / JDBC.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
ISYS 573 Special Topic – VB.Net David Chao. The History of VB Early 1960s:BASIC-Beginner’s All-Purpose Symbolic Instruction Code –Teaching –Simple syntax,
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
CIS 451: ASP.NET Concepts Dr. Ralph D. Westfall January, 2009.
Rajiv and Shipra Introduction to.NET (asp.net,c#,vb)
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
From DNA to.NET Design Path. Objectives Sketch up a typical Win DNA Application Sketch up the.NET version Compare Design and Implementation Advantages.
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.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
Module 1: Working with ASP.NET. Overview Introducing ASP.NET Creating Web Forms Adding ASP.NET Code to a Page Handling Page Events Discussion: ASP vs.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
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,
Key Components of.NET Framework  Common Language Runtime  CLR at Design time  CLR at Runtime  Class Library  Assemblies  Namespaces  ASP.NET  Applications.
Module 1: Overview of the Microsoft .NET Framework
Module 4: Creating a Web Application with Web Forms
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Migrating ASP to ASP.NET Matt Gibbs ASP.NET Development Manager.
Overview of Previous Lesson(s) Over View  ASP is a technology that enables scripts in web pages to be executed by an Internet server.  ASP.NET is a.
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.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
Introduction to .NET Framework
Introduction to .NET Framework
Introduction to Client-Server Programming
Haritha Dasari Josue Balandrano Coronel -
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
Moving from ASP to ASP.NET
Web Development Using ASP .NET
BHUBANESWAR,KHURDA,ODISHA
Module 10: Creating a Web Application with Web Forms
ASP.NET Module Subtitle.
Introducing the .NET Framework
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Introduction to .NET Framework
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Presentation transcript:

ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005

Contents  Overview  History of ASP .NET Framework  Features of ASP.NET  How ASP.NET works  Example of ASP.NET  Controls of ASP.NET  Web Form  Web Form Control  Data Control  Online Resources

Overview  ASP  The leading web app development platform  Nearly 1 million developers using ASP today  Simple and approachable model for web developers to get started  No compilers required – “ just hit save ”  Easy to use languages and object model  ASP.NET is a revolutionary advance of ASP  Making it easier to build web apps  Making it easier to deploy web apps  Making it easier to operate web apps  Providing great performance and scalability  Supported platforms  Windows NT 4 / IIS 4, Windows 2000 / IIS 5, ++  Open hosting APIs

History of ASP.NET(1/2)  ASP 1.0 (1996)  Introduced as an add-on of IIS 3.0  Based on VBScript  Use ADO to query database within an ASP page  ASP 2.0 (1997)  Introduced with NT option pack 4.0(IIS 4.0)  Can use external components  ASP 3.0 (1999)  IIS 5.0(Windows 2000)  Improved to use COM+ services IIS : Internet Information Services ADO : ActiveX Data Object

History of ASP.NET(2/2)  ASP.NET 1.0 (2000)  Not simple ASP 4.0 but total changes of framework :.NET framwork  Challenges of classical ASP  Code readability : spaghetti code  Coding overhead : require a lot of code  Performance : interpreted every time they executed  Sessions can’t be shared across Web servers  No intrinsic support for caching  etc…  ASP.NET 2.0 is released (2004)  Increase developer productivity: Reduce the number of lines of code required by 70%

.NET Framework(1/3) .NET Framework is a collection of technologies for the development and deployment of.NET software systems  Common Language Runtime (CLR)  Unifies programming models  Provides robust and secure execution environment  Supports multiple programming languages  Provides core services  Memory management (Garbage Collection)  Thread management  Remoting  Manage Code Execution  “Like” Java Runtime Environment (JRE)  Code is NOT interpreted by CLR, but managed  Common Language Specification  Set of features guaranteed to be in all languages

.NET Framework(2/3)  Aim of.NET : seamless interoperability  A component in any.NET language can:  Inherit from any other.NET language class  Call the methods of any other.NET language class  Benefits of.Net  Rich UI Toolkit, even for the web (ASP.Net)  Language independence (VB.Net, C#, J#, C++, COBOL, and others)  Standard based (XML, SOAP, HTTP)  Interoperability with COM .Net Framework Library  Rich set of classes

Common Language Runtime.NET Framework(3/3) Base Class Library ADO.NET: Data and XML ASP.NET: Web Services and Web Forms Windows Forms Common Language Specification Visual Basic Visual Basic ®C++C# JScript JScript ®…

Features of ASP.NET  Object Oriented and Event Driven Programming  Code behind : separate HTML and server script  Language independent programming  Developer can use Visual Basic, C#, Visual C++ or …  Independency to client  Developer doesn’t need consider user’s web browser  Improved performance and security  Runtime compilation : not a scripting language  Support caching  Supports XML web service  UDDI, WSDL, SOAP  Speed and ease of deployment

Main Differences ASP  VB Script – Less Powerful  Top-down programming - like most scripting languages  No separation between logic and presentation  Multiple Forms per page ASP.Net  VB.Net or C# - More Powerful  Language independent  Control/Event based programming – similar to VB6  Separation between logic and presentation  Only one form per page

How ASP.NET works (1/3).ASPX Compiled User’s request Find ASP page Make compiled image Not interpreted! Cache the image Return results Initial Request

How ASP.NET works (2/3).ASPX Compiled User’s request Return results Another Request for the same page

How ASP.NET works (3/3).ASPX Compiled User’s request Find ASP page Recompile the image Cache the image Return results If a change is made to the ASPX

Example of ASP.NET (1/4) void btnSubmit_OnClick(Object sender, EventArgs e) { lbl1.Text = “Hello World!"; } start.aspx ASP.NET Directive Specify used language Server side script ASP.NET web form Note one page can have only one web form ASP.NET web control Event Handler

Example of ASP.NET (2/4)  Result Click Hello World! Client Web Browser

Example of ASP.NET (3/4)  Result Click Hello World! Client Web Browser void btnSubmit_OnClick(Object sender, EventArgs e) { lbl1.Text = “Hello World!"; } ASP.NET server control Before user clicks the button, this control is invisible ASP.NET server control All have Id and Text attributes Create browser-specific HTML Event handler function This function specifies what to do when some event occurs. In these case, it changes “lbl1” control’s text

Example of ASP.NET (4/4)  Round trip start.aspx Client Browser lbl1 btn1 Post Data lbl1=“” submit=btn1 Event occurs Send data Event handler btnSubmit_OnClick Server Event occurs

Web Form  Web Form  Stands ASPX page  Contains several controls and event handlers (like Window Programming Form)  Event driven programming  Can control each properties, events and methods of web form control at server side  Render results to various type  DHTML, HTML3.2, WML, etc…  Automatically check client browser type

Web form control (1/2)  HTML control  Primitive control  One-to-one correspondence with the XHTML elements  Web control  MS defined control  A larger and richer collection than the HTML controls  A weaker connection to the XHTML elements  Data control  Using for data manipulation  DataGrid, DataList, Repeater, etc …  Rich control : combination of several controls  Validation control : validating user input data

Web form control (2/2)  Web control structure

Data Control  Bind to many data sources  Collections  Array  HashTable  ADO.NET  DataReader  DataSet  XML

Summary  ASP.NET is a rich web application platform  Combines simplicity and power  Easy to deploy and maintain  Reliable, highly available and scalable

Online Resources  VS.Net us/vsintro7/html/vbconVisualStudioSharedWalkthroughs.asp us/vsintro7/html/vbconVisualStudioSharedWalkthroughs.asp  ASP.Net  ASP.NET Quick Tutorial  ADO.Net