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.

Slides:



Advertisements
Similar presentations
1 CGICGI Common Gateway Interface Server-side Programming Lecture.
Advertisements

Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
DT228/3 Web Development WWW and Client server model.
11 ASP.NET Slides based off:. 22 B ACKGROUND - W EB A RCHITECTURE Web Server PC/Mac/Unix/... + Browser Client Server Request:
Languages for Dynamic Web Documents
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Forms Describe common uses of forms on web pages
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Introduction to Web Interface Technology (CSE2030)
Multiple Tiers in Action
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Active Server Pages Chapter 1. Introduction Understand how browsers and servers interacted when the Web was young Understand what early Internet and intranet.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Introduction to ASP.NET
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Web Form Fundamentals MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
DR.JOHN ABRAHAM PROFESSOR UTPA ASP.NET. ACTIVE SERVER PAGES (ASP) Web application development environment Web applications use web browser to display.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Comp2513 Forms and CGI Server Applications Daniel L. Silver, Ph.D.
Object-Oriented Application Development Using VB.NET 1 Chapter 12 Web Forms, HTML, and ASP.NET.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
Chapter 1: Introduction to Web
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
Web Application Programming Carol Wolf Computer Science.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Introduction to ASP.NET 1www.tech.findforinfo.com.
CSCI 6962: Server-side Design and Programming Introduction to Active Server Pages.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Jsp (Java Server Page) Is a server side program.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
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.
The Module Road Map Assignment 1 Road Map We will look at… Internet / World Wide Web Aspects of their operation The role of clients and servers ASPX.
ASP.NET 4 Unleashed Chapter 1. .aspx page: contains C# script and HTML code including tags. Listing 1.1 FirstPage.aspx.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
Java for networking Module Introduction Data Communications Communication architecture Application.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
1 10/19/05CS360 Windows Programming ASP.NET. 2 10/19/05CS360 Windows Programming ASP.NET  ASP.NET works on top of the HTTP protocol  Takes advantage.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
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.
ASP.NET WEB Applications. ASP.NET  Web application framework developed by Microsoft  Build dynamic data driven web applications and web services  Subset.
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
National College of Science & Information Technology.
Computing with C# and the .NET Framework
Section 6.3 Server-side Scripting
Web Forms, HTML, and ASP.NET
Introduction to Servlets
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Presentation transcript:

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 is usually programmed as “extensions” to an HTTP server (aka web server) The client part is usually executed by a web browser The HTTP protocol is used for communication between the client and the server

Introduction to ASP.NET3 Some web application frameworks Sun/Oracle Java Servlets + JSP PHP CGI (Common Gateway Interface) –Very old Ruby on Rails Microsoft ASP.NET Microsoft ASP –From before ASP.NET

Introduction to ASP.NET4 ASP.NET web applications ASP.NET is Microsoft’s way of making web application ASP.NET is programmed using a programming language –Usually VB.Net or C# The web server is usually Microsoft IIS –Internet Information Service

Introduction to ASP.NET5 ASP.NET ASP.NET is executed on the server side ASP.NET produces HTML, JavaScript,etc. to be shown / executed on the client side –By the browser

Introduction to ASP.NET6 Controls ASP.NET pages consists of –Pure HTML –Forms To accept user input –Code Usually written in VB.NET or C# –Controls Code + controls are executed on the server producing HTML, JavaScript, etc.

Introduction to ASP.NET7 Postback Forms –Accept user input –Data is sent back to the same ASP.NET page Using HTTP POST request Called postback Sometimes the ASP.NET pages wants to know if it’s executing a first request or postback

Introduction to ASP.NET8 Events Many ASP.NET controls sends events –Button has a ”button_click” event, etc. –Page has ”page_load” event, etc. –TextBox has ”textChanged” event Event handlers (methods) are usually placed in the codebehind file Event code are executed at the server –Events generate a HTTP request/response

Introduction to ASP.NET9 viewState HTTP is stateless ASP.NET keeps track of the state between postbacks –Hidden FORM field where the state of other FORM fields is kept –Encoded, but not encrypted –Decoded at the server side

Introduction to ASP.NET10 Code behind / beside ASP.NET pages are generally split into two parts –View HTML + controls –Code Often called “code behind” or “code beside” Event handlers Separation of concerns C# syntax: Partial class