ASP.NET – Active Server Pages ASP.NET is a server-side technology for developing web applications based on the.NET Framework.

Slides:



Advertisements
Similar presentations
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Advertisements

Session 1 & 2BBK P1 Module5-May-2007 : [‹#›] PHP: The Basics.
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
George Mason University
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
ASP Tutorial. What is ASP? ASP (Active Server Pages) is a Microsoft technology that enables you to make dynamic and interactive web pages. –ASP usually.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Web-Based Applications
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Course Textbook: Build Your Own ASP.Net Website: Chapter 2
PHP Workshop ‹#› PHP: The Basics. PHP Workshop ‹#› What is it? PHP is a scripting language commonly used on web servers. –Stands for “PHP: Hypertext Preprocessor”
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
August Chapter 1 - Essential PHP spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science and Technology.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Introduction to.Net and ASP.Net Course Introduction Build Your Own ASP.Net Website: Chapter 1 Microsoft ASP.Net Walkthrough: Creating a Basic Web Forms.
4.1 JavaScript Introduction
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
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.
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
CSE3310: Web training A JumpStart for Project.
Server-side Scripting Powering the webs favourite services.
With your friendly Web Developer, Chris.. Terminology  HTML - > Hypertext Markup Language  CSS -> Cascading Style Sheet  open tag  close tag  HTTP->Hypertext.
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Introduction to ASP.NET 1www.tech.findforinfo.com.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
CMPS 211 JavaScript Topic 1 JavaScript Syntax. 2Outline Goals and Objectives Goals and Objectives Chapter Headlines Chapter Headlines Introduction Introduction.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
Dr. Qusai Abuein1 Internet & WWW How to program Chap.(6) JavaScript:Introduction to Scripting.
JavaScript Syntax, how to use it in a HTML document
Overview of Form and Javascript fundamentals. Brief matching exercise 1. This is the software that allows a user to access and view HTML documents 2.
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.
Lecture Note 8: ASP Including Files and The Global.asa file.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
STRUCTURE OF JSP PRESENTED BY: SIDDHARTHA SINGH ( ) SOMYA SHRIVASTAV ( ) SONAM JINDAL ( )
1) PHP – Personal Home Page Scripting Language 2) JavaScript.
Creating PHP Pages Chapter 5 PHP Structure and Syntax.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
CSE3310: Web training A JumpStart for Project. Outline Introduction to Website development Web Development Languages How to build simple Pages in 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.
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.
ASP Mr. Baha & Dr.Husam Osta  What is ASP?  Internet Information Services  How Does ASP Differ from HTML?  What can ASP do for you?  ASP Basic.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
PHP using MySQL Database for Web Development (part II)
Introduction to Dynamic Web Programming
Florida Gulf Coast University
An Introduction to JavaScript
Presentation transcript:

ASP.NET – Active Server Pages

ASP.NET is a server-side technology for developing web applications based on the.NET Framework.

Terminology Reminder: web application – same as dynamic website.

ASP.NET has been created in response to such technologies as CGI, PHP, etc., that allow creating dynamic webpages ASP.NET allows use of multiple languages (C#, VB, others) ASP.NET pages are compiled, not interpreted

Essentially, ASP.NET requires using: Windows, although.NET Framework has been ported to other operating systems, as well Microsoft’s Internet Information Services (IIS) server (although a small server named Cassini exists for hobbyists)

Microsoft SQL Server is also required, if one needs a webpage to interact with a database (required in any serious web development)

Technical details: web pages are text files with.aspx extension web files should be placed in the directory C:\Inetpub\wwwroot files cannot be opened locally from Explorer, only via the web server default.aspx is a default page

Structure of an ASP.NET page: directives code declaration blocks code render blocks ASP.NET server controls server side comments literal text and HTML tags.

Role of the directives: control how the page is compiled allow importing classes specify page caching in a browser assist in debugging. Directives start with Example of a directive:

Code declaration blocks help separate the application logic from HTML contents. The application logic defines variables, subroutines, functions, etc.

Example of a code declaration block: void mySub() { // Code placed here }

Code render blocks define inline code and inline expressions. Inline code render blocks execute one or more statements and are placed inside HTML code delimited by Inline expression render blocks display values of variables/methods.

Example of a code render block: Example of inline expression render block:

ASP.NET server controls are central to every ASP.NET page represent page’s dynamic elements usually must reside within a tag fall into 3 categories: ASP.NET controls, HTML controls, and web user controls.

Server side comments allow including text, which will not be processed by ASP.NET. They are included in special type of brackets:

Literal text and HTML tags provide the structure for presenting dynamic data, give a page the right format, which the browser can understand.

Sample code <!DOCTYPE html PUBLIC ”-//W3C//DTD XHTML 1.0 Strict//EN” ” Sample Page void Page_Load() { messageLabel.Text = ”Hello World”; }

Summary All of the dynamic portions of the web pages in ASP.NET are usually contained within code render blocks or controls located inside a tag: