Florida Gulf Coast University

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.
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
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…
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.
Web-Based Applications
Java Server Pages Russell Beale. What are Java Server Pages? Separates content from presentation Good to use when lots of HTML to be presented to user,
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.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
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”
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.
Creating a Basic Web Page
DR.JOHN ABRAHAM PROFESSOR UTPA ASP.NET. ACTIVE SERVER PAGES (ASP) Web application development environment Web applications use web browser to display.
.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 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
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.
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.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
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.
Creating PHP Pages Chapter 5 PHP Structure and Syntax.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
11 Getting Started with ASP.NET Beginning ASP.NET in C# and VB Chapters 1 and 2.
ASP.NET – Active Server Pages ASP.NET is a server-side technology for developing web applications based on the.NET Framework.
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.
 Lecture  Website language: ASP.net  Book name Beginning ASP.NET 4 in C# and VB 2.
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.
Getting Started with HTML
PHP using MySQL Database for Web Development (part II)
Module 1 Introduction to JavaScript
Web Basics: HTML/CSS/JavaScript What are they?
Computing with C# and the .NET Framework
ASP.NET Forms.
Introduction to Dynamic Web Programming
Active Server Pages Computer Science 40S.
Introduction and Principles
JavaScript is a programming language designed for Web pages.
Basic HTML PowerPoint How Hyper Text Markup Language Works
PHP (PHP: Hypertext Preprocessor)
Haritha Dasari Josue Balandrano Coronel -
برمجه صفحات الانترنتASP
מבוא ל ASP.NET שיעור 1 : מבוא ל ASP.NET מצגת מס' 1
JavaScript an introduction.
Chapter 27 WWW and HTTP.
Static and Dynamic Web Pages
ASP.NET.
CIS 133 mashup Javascript, jQuery and XML
An Introduction to JavaScript
PHP an introduction.
Introduction to JavaScript
Presentation transcript:

Florida Gulf Coast University Software Project in Computer Networks CNT 4104 Dr. Janusz Zalewski Florida Gulf Coast University

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 <%@ and end with %> Example of a directive: <%@ Page Language=“C#” %>

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: <script runat=”server”> void mySub() { // Code placed here } </script>

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: <% string Title=”text”; %> Example of inline expression render block: <%= Title %>

ASP.NET server controls are central to every ASP.NET page represent page’s dynamic elements usually must reside within a <form runat=“server”> 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: <%-- comments go here --%>

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 <%@ Page Language=”C#” %> <!DOCTYPE html PUBLIC ”-//W3C//DTD XHTML 1.0 Strict//EN” ”http://www.w3.org/TR/xtml1/DTD/html1-strict.dtd”> <HTML> <HEAD> <TITLE>Sample Page</TITLE> <SCRIPT runat=”server”> void Page_Load() { messageLabel.Text = ”Hello World”; } </SCRIPT> </HEAD> <BODY> <FORM runat=”server”> <P> <ASP:Label id=”messageLabel” runat=”server” /> <P> <%-- Declare title as string and set it --%> <% string Title=”From code render block”; %> <%= Tiltle %> </FORM> </BODY> </HTML>

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: <form runat=”server”>