Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.

Slides:



Advertisements
Similar presentations
Introduction to Web Design, HTML & WordPress. What is Web Design? Web Design encompasses many different skills and disciplines in the building and maintenance.
Advertisements

Copyright © 2003 Pearson Education, Inc. Slide 1-1 The Web Wizards Guide to PHP by David A. Lash.
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
The Client-Server Model for the Web 1. A Web Client (usually in the form of a web browser) makes an HTTP request to a specific web server. 2. The Web Server.
11 ASP.NET Slides based off:. 22 B ACKGROUND - W EB A RCHITECTURE Web Server PC/Mac/Unix/... + Browser Client Server Request:
Mark Dixon, SoCCE SOFT 131Page 1 20 – Web applications: HTML and Client-side code.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
FrontPage 2003 Web Fundamentals Web Site Design. World Wide Web System based on Hypertext Transfer Protocol (HTTP) Provides access to information Information.
1 Web Wizards Guide To PHP David Lash Chapter 1 Introduction to PHP.
Internet – Part II. What is the World Wide Web? The World Wide Web is a collection of host machines, which deliver documents, graphics and multi-media.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
1 Lesson 1 Quick HTML Know-How HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
HTML Comprehensive Concepts and Techniques Intro Project Introduction to HTML.
Chapter 9 Web Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
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.
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
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.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Object-Oriented Application Development Using VB.NET 1 Chapter 12 Web Forms, HTML, and ASP.NET.
HTML, GUI, ASP.NET Rina Zviel-Girshin Lecture 2
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
OV Copyright © 1998 Ziff-Davis Education, a division of Ziff-Davis Inc. All rights reserved. The Internet World-wide network of computers connected.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
HTML Structure & syntax
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
Chapter 9 Programming with Web Forms Programming In Visual Basic.NET.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Introduction to ASP.NET 1www.tech.findforinfo.com.
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Programming with Visual Web Developer Chapter 9.
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
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.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
Christopher M. Pascucci.NET Programming CodeBehind.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
PROGRAMMING IN VISUAL BASIC.NET CREATING YOUR FIRST WEB APPLICATION Bilal Munir Mughal 1 Chapter-3.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Introduction to the World Wide Web & Internet CIS 101.
HTML HyperText Markup Language Victoria E. Kozlek.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
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.
Computing with C# and the .NET Framework
Web Forms, HTML, and ASP.NET
Web Page Concept and Design :
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Intro Project Introduction to HTML.
Presentation transcript:

Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 2 Objectives Understand the relationship between HTML and ASP.NET Understand how web applications work in terms of the client/server model Develop ASP.NET applications using a text editor

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 3 Objectives (cont.) Develop ASP.NET applications using Visual Studio.NET Understand the similarities and differences between Windows Forms and Web Forms Develop interesting web applications using ASP.NET and Visual Studio

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall HTML and Static Web Pages HTML stands for Hypertext Markup Language, a language for displaying text in a web browser such as Internet Explorer or Netscape Navigator. Text is marked by tags consisting of a left angle bracket ( ).

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall HTML and Static Web Pages (cont.) Tags are usually paired to start and end the tag instruction. The end tag looks like the start tag except a slash (/) precedes the text with the brackets. Some tags can be used without an end tag.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall HTML and Static Web Pages (cont.)

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall Web Applications A web application is a client/server application that lives on a web server. The client is the user’s machine with an Internet browser. The web server is a machine that stores the web documents, including web pages and server scripts.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 8 Round Trips Postback is when a user action occurs that requires server processing and the form is posted back to the server. The web server processes the request and generates new HTML that is returned to the client browser. This sequence of events is referred to as a round trip.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 9 Round Trip (cont.)

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall ASP.NET ASP.NET is a platform for developing and running web applications on a web server. ASP.NET web applications can be developed with a simple text editor or with the assistance of Visual Studio.NET. Microsoft’s Internet Information Services (IIS) is a web server for use on Windows machines.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall Visual Studio and Web Forms Visual Studio provides the following tools: –Visual designers –Code-aware editors –Integrated compilation and debugging –Project management facilities for creating and managing application files

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall Visual Studio and Web Forms (cont.) Visual Studio supports Web Forms to quickly and easily create the user interface for ASP.NET web applications. A Web Form is composed of two files, the user interface form and the code-behind file. Web Forms are similar to Windows forms in that they are event driven.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall Visual Studio and Web Forms (cont.)

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 14 ASP.NET Illustrated: Jake’s Problem Begin by starting a New Project and selecting ASP.NET Web Application. If Visual Studio is successfully able to communicate with the web server, then it will create a project on the server and open WebForm1.aspx for editing.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 15 ASP.NET Illustrated: Jake’s Problem (cont.)

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 16 ASP.NET Illustrated: Jake’s Problem (cont.)

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 17 ASP.NET Illustrated: Jake’s Problem (cont.) The programming logic resides in a code- behind file with an.aspx.vb extension. The logic written in the code-behind could have been written with any.NET language such as C#. When the application is run Visual Studio launches Internet Explorer and connects to the ASPX page on the server.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 18 ASP.NET Illustrated: Jake’s Problem (cont.)

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 19 ASP.NET Illustrated: Jake’s Problem (cont.)

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 20 Chapter Summary HTML stands for Hypertext Markup Language, a language for displaying text in a web browser such as Internet Explorer or Netscape Navigator. Web applications are web sites that go beyond normal, static web sites by adding the ability to process code in response to user input.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 21 Chapter Summary (cont.) Web applications are also client/server applications. When a user action occurs that requires web server processing, the form must be posted back to the server. ASP.NET is a platform for developing and running web applications on the web server.

Crews/Murphy – Programming Right From the Start with Visual Basic.NET 1/e – ©2004 Prentice Hall 22 Chapter Summary (cont.) Web Forms allow quick and easy creation of ASP.NET web applications. Web Forms are similar to Windows Forms in that they are event driven.

Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12