Introduction to ASP.NET and Web Forms
|
|
|
- Gwenda Simon
- 10 years ago
- Views:
Transcription
1 Introduction to ASP.NET and Web Forms This material is based on the original slides of Dr. Mark Sapossnek, Computer Science Department, Boston University, Mosh Teitelbaum, evoch, LLC, and Joe Hummel, Lake Forest College Outline Background ASP.NET Overview Programming Model Programming Basics Server Controls Data Binding Conclusion
2 Background Web Architecture Client PC/Mac/Unix/... + Browser Request: Network HTTP, TCP/IP Response: <html>.</html> Server Web Server Background Web Development Technologies Client-side technologies XHTML, CSS, DOM, JavaScript Server-side technologies ASP (Active Server Pages) ASP.NET is the next generation of ASP
3 Background What is ASP? Server-side programming technology Consists of static HTML interspersed with script ASP intrinsic objects (Request, Response, Server, Application, Session) provide services Commonly uses ADO to interact with databases Application and session variables Application and session begin/end events ASP manages threads, database connections. Background What is ASP? HTTP request (form data, HTTP header data) HTTP response HTML, XML ASP page (static HTML, server-side logic)
4 Background Example: HelloWorld.asp <html> <head><title>helloworld.asp</title></head> <body> <form method= post"> <input type="submit" id=button1 name=button1 value="push Me" /> <% if (Request.Form("button1") <> "") then Response.Write "<p>hello, the time is " & Now() end if %> </form> </body> </html> Background ASP Challenges Coding overhead (too much code) Everything requires writing code! Code readability (too complex; code and UI intermingled) Maintaining page state [After submit button is clicked, if we click the back button, we expect to maintain scroll position, maintain which control had focus, and restore focus, or allow server code to focus a new control ] requires more code Session state scalability and availability Limited support for caching, tracing, debugging, etc. Performance and safety limitations of script
5 Outline Background ASP.NET Overview Programming Model Programming Basics Server Controls Data Binding Conclusion ASP.NET Overview ASP.NET provides services to allow the creation, deployment, and execution of Web Applications and Web Services Like ASP, ASP.NET is a server-side technology Web Applications are built using Web Forms Web Forms are designed to make building web-based applications as easy as building Visual Basic applications
6 ASP.NET Overview Goals Keep the good parts of ASP and improve the rest Simplify: less code, easier to create and maintain Multiple, compiled languages Fast Scalable Manageable Available Customizable and extensible Secure Tool support ASP.NET Overview Key Features Web Forms Web Services Built on.net Framework Simple programming model Maintains page state Multibrowser support XCOPY deployment XML configuration Complete object model Session management Caching Debugging Extensibility Separation of code and UI Security Simplified form validation Cookieless sessions
7 ASP.NET Overview Example: HelloWorld.aspx Page language="c#" %> <html> <head></head> <script runat="server"> public void B_Click (object sender, System.EventArgs e) { Label1.Text = "Hello, the time is " + DateTime.Now; } </script> <body> <form method="post" runat="server"> <asp:button onclick="b_click" Text="Push Me runat="server /> <br> <asp:label id=label1 runat="server" /> </form> </body> </html> ASP.NET Overview Architecture ASP.NET is built upon.net Framework Internet Information Server (IIS)
8 ASP.NET Overview Architecture Internet Information Server (IIS) IIS MMC Snap-In (Internet Services Manager) Tool to manage IIS Virtual Directories Provides a mapping between URL and file path E.g., on my machine the URL: maps to the file path: C:\cs6910Summer06 ASP.NET Overview Architecture VB C++ C# JScript Common Language Specification ASP.NET: Web Services and Web Forms ADO.NET: Data and XML Base Classes Windows Forms Visual Studio.NET Common Language Runtime
9 Outline Background ASP.NET Overview Programming Model Programming Basics Server Controls Data Binding Conclusion Programming Model Controls and Events Server-side programming model Based on controls and events Just like Visual Basic Not data in, HTML out Higher level of abstraction than ASP Requires less code More modular, readable, and maintainable
10 Programming Model Controls and Events Button Button code... List List code... Text Text code... Browser ASP.NET Event handlers Programming Model ASP.NET Object Model User code executes on the web server in page or control event handlers Controls are objects, available in server-side code Derived from System.Web.UI.Control The web page is an object too Derived from System.Web.UI.Page which is a descendant of System.Web.UI.Control A page can have methods, properties, etc.
11 Programming Model Postbacks A postback occurs when a page generates an HTML form whose values are posted back to the same page A common technique for handling form data In ASP and other server-side technologies the state of the page is lost upon postback... Unless you explicitly write code to maintain state This is tedious, bulky and error-prone Programming Model Postbacks Maintain State By default, ASP.NET maintains the state of all server-side controls during a postback Can use method="post" or method="get" Server-side control objects are automatically populated during postback No state stored on server Works with all browsers
12 Programming Model Server-side Controls Multiple sources of controls Built-in 3 rd party User-defined Controls range in complexity and power: button, text, drop down, calendar, data grid, ad rotator, validation Can be populated via data binding Programming Model Automatic Browser Compatibility Controls can provide automatic browser compatibility Can target UpLevel or DownLevel browsers UpLevel browsers support additional functionality, such as JavaScript and DHTML DownLevel browsers support HTML 3.2
13 Programming Model Automatic Browser Compatibility IE 4 Button Menu Text Netscape Button Menu Text IE 5.5 Button Menu Text Button Control Menu Control Text Control Button code... Menu code... Text code... IE 6 Button Menu Text... ASP.NET Event handlers Programming Model Code-behind pages Two styles of creating ASP.NET pages Controls and code in.aspx file Controls in.aspx file, code in code-behind page Supported in Visual Studio.NET Code-behind pages allow you to separate the user interface design from the code Allows programmers and designers to work independently <%@ Codebehind= WebForm1.cs Inherits=WebApplication1.WebForm1 %>
14 Programming Model Automatic Compilation Just edit the code and hit the page ASP.NET will automatically compile the code into an assembly Compiled code is cached in the CLR Assembly Cache Subsequent page hits use compiled assembly If the text of the page changes then the code is recompiled Works just like ASP: edit, save and run Programming Model Automatic Compilation
15 Outline Background ASP.NET Overview Programming Model Programming Basics Server Controls Data Binding Conclusion Programming Basics Page Syntax The most basic page is just static text Any HTML page can be renamed.aspx Pages may contain: Directives: Page Language= C# %> Server controls: <asp:button runat= server > Code blocks: <script runat= server > </script> Data bind expressions: <%# %> Server side comments: <%-- --%> Render code: <%= %> and <% %> Use is discouraged; use <script runat=server> with code in event handlers instead
16 Programming Basics The Page Directive Lets you specify page-specific attributes, e.g. AspCompat: Compatibility with ASP Buffer: Controls page output buffering CodePage: Code page for this.aspx page ContentType: MIME type of the response ErrorPage: URL if unhandled error occurs Inherits: Base class of Page object Language: Programming language Trace: Enables tracing for this page Transaction: COM+ transaction setting Only one page directive per.aspx file Programming Basics Server Control Syntax Controls are declared as HTML tags with runat= server attribute <input type=text id=text2 runat= server /> <asp:calendar id=mycal runat= server /> Tag identifies which type of control to create Control is implemented as an ASP.NET class The id attribute provides programmatic identifier It names the instance available during postback Just like Dynamic HTML
17 Programming Basics Server Control Properties Tag attributes map to control properties <asp:button id= c1" Text="Foo" runat= server > <asp:listbox id= c2" Rows="5" runat= server > Tags and attributes are case-insensitive Control properties can be set programmatically c1.text = Foo ; c2.rows = 5; Programming Basics Maintaining State By default. controls maintain their state across multiple postback requests Implemented using a hidden HTML field: VIEWSTATE Works for controls with input data (e.g. TextBox, CheckBox), non-input controls (e.g. Label, DataGrid), and hybrids (e.g. DropDownList, ListBox) Can be disabled per control or entire page Set EnableViewState= false Lets you minimize size of VIEWSTATE
18 Programming Basics Maintaining State Example: MaintainingState.aspx Programming Basics Server Code Blocks Server code lives in a script block marked runat= server <script language="c#" runat=server> <script language="vb" runat=server> <script language="jscript" runat=server> Script blocks can contain Variables, methods, event handlers, properties They become members of a custom Page object
19 Programming Basics Page Events Pages are structured using events Enables clean code organization Avoids the Monster IF statement Less complex than ASP pages Code can respond to page events e.g. Page_Load, Page_Unload Code can respond to control events Button1_Click Textbox1_Changed Programming Basics Page Event Lifecycle Initialize Restore Control State Load Page Control Events 1. Change Events 2. Action Events Save Control State Render Unload Page Page_Init Page_Load Textbox1_Changed Button1_Click Page_Unload
20 Programming Basics Page Loading Page_Load fires at beginning of request after controls are initialized Input control values already populated protected void Page_Load(Object s, EventArgs e) { message.text = textbox1.text; } Programming Basics Page Loading Page_Load fires on every request Use Page.IsPostBack to execute conditional logic If a Page/Control is maintaining state then need only initialize it when IsPostBack is false protected void Page_Load(Object s, EventArgs e) { if (! Page.IsPostBack) { // Executes only on initial page load Message.Text = "initial value"; } // Rest of procedure executes on every request }
21 Change Events Programming Basics Server Control Events By default, these execute only on next action event E.g. OnTextChanged, OnCheckedChanged Change events fire in random order Action Events Cause an immediate postback to server E.g. OnClick Works with any browser No client script required, no applets, no ActiveX Controls! Programming Basics Wiring Up Control Events Control event handlers are identified on the tag <asp:button onclick="btn1_click runat=server> <asp:textbox onchanged="text1_changed runat=server> Event handler code protected void btn1_click(object s, EventArgs e) { Message.Text = Button1 clicked ; }
22 Programming Basics Event Arguments Events pass two arguments: The sender, declared as type object Usually the object representing the control that generated the event Allows you to use the same event handler for multiple controls Arguments, declared as type EventArgs Provides additional data specific to the event EventArgs itself contains no data; a class derived from EventArgs will be passed Programming Basics Page Unloading Page_Unload fires after the page is rendered Don t try to add to output Useful for logging and clean up protected void Page_Unload(Object s, EventArgs e) { MyApp.LogPageComplete(); }
23 Programming Basics Import Directive Adds code namespace reference to page Avoids having to fully qualify.net types and class names Equivalent to the C# using directive Import Namespace="System.Data" %> Import Namespace="System.Net" %> Import Namespace="System.IO" %> Programming Basics Page Class The Page object is always available when handling server-side events Provides a large set of useful properties and methods, including: Application, Cache, Controls, EnableViewState, EnableViewStateMac, ErrorPage, IsPostBack, IsValid, Request, Response, Server, Session, Trace, User, Validators DataBind(), LoadControl(), MapPath(), Validate()
24 Outline Background ASP.NET Overview Programming Model Programming Basics Server Controls Data Binding Conclusion Server Controls ASP.NET ships with ~50 built-in controls Organized into logical families HTML controls Controls / properties map 1:1 with HTML Web controls Richer functionality More consistent object model
25 Server Controls HTML Controls Work well with existing HTML designers Properties map 1:1 with HTML table.bgcolor ="red ; Can specify client-side event handlers Good when quickly converting existing pages Derived from System.Web.UI.HtmlControls.HtmlControl Supported controls have custom class, others derive from HtmlGenericControl Server Controls HTML Controls Supported controls <a> <img> <form> <table> <tr> <td> <th> <select> <textarea> <button> <input type=text> <input type=file> <input type=submit> <input type=button> <input type=reset> <input type=hidden>
26 Server Controls HTML Controls Example: HTMLControls.aspx Basic page lifecycle with HTML Controls Consistent object model Server Controls Web Controls Label1.BackColor = Color.Red; Table.BackColor = Color.Blue; Richer functionality E.g. AutoPostBack, additional methods Automatic uplevel/downlevel support E.g. validation controls Strongly-typed; no generic control Enables better compiler type checking
27 Server Controls Web Controls Web controls appear in HTML markup as namespaced tags Web controls have an asp: prefix <asp:button onclick="button1_click runat=server> <asp:textbox onchanged="text1_changed runat=server> Defined in the System.Web.UI.WebControls namespace This namespace is automatically mapped to the asp: prefix Server Controls Web Controls Web Controls provide extensive properties to control display and format, e.g. Font BackColor, ForeColor BorderColor, BorderStyle, BorderWidth Style, CssClass Height, Width Visible, Enabled
28 Server Controls Web Controls Four types of Web Controls Intrinsic controls List controls Rich controls Validation controls Server Controls Intrinisic Controls Correspond to HTML controls Supported controls <asp:button> <asp:radiobutton> <asp:imagebutton> <asp:linkbutton> <asp:image> <asp:hyperlink> <asp:label> <asp:textbox> <asp:panel> <asp:checkbox> <asp:table> Specify AutoPostBack=true to make change events cause a postback
29 Server Controls List Controls Controls that handle repetition Supported controls <asp:dropdownlist> <asp:listbox> <asp:radiobuttonlist> <asp:checkboxlist> <asp:repeater> <asp:datalist> <asp:datagrid> Server Controls CheckBoxList & RadioButtonList Provides a collection of check box or radio button controls Can be populated via data binding <asp:checkboxlist id=check1 runat="server"> <asp:listitem>item 1</asp:ListItem> <asp:listitem>item 2</asp:ListItem> <asp:listitem>item 3</asp:ListItem> <asp:listitem>item 4</asp:ListItem> <asp:listitem>item 5</asp:ListItem> </asp:checkboxlist>
30 Server Controls Intrinisic & Simple List Controls Example: WebControls.aspx Assorted intrinsic and list controls with AutoPostBack Server Controls Rich Controls Custom controls with rich functionality Supported Controls <asp:calendar> <asp:adrotator> More will be added 3 rd party controls are coming Example: RichControls.aspx
31 Server Controls Validation Controls Rich, declarative validation Validation declared separately from input control Extensible validation framework Supports validation on client and server Automatically detects uplevel clients Avoids roundtrips for uplevel clients Server-side validation is always done Prevents users from spoofing Web Forms Server Controls Validation Controls <asp:requiredfieldvalidator> Ensures that a value is entered <asp:rangevalidator> Checks if value is within minimum and maximum values <asp:comparevalidator> Compares value against constant, another control or data type <asp:regularexpressionvalidator> Tests if value matches a predefined pattern <asp:customvalidator> Lets you create custom client- or server-side validation function <asp:validationsummary> Displays list of validation errors in one place
32 Server Controls Validation Controls Validation controls are derived from System.Web.UI.WebControls.BaseValidator, which is derived from the Label control Validation controls contain text which is displayed only if validation fails Text property is displayed at control location ErrorMessage is displayed in validation summary Server Controls Validation Controls Validation controls are associated with their target control using the ControlToValidate property <asp:textbox id=textbox1 runat=server /> <asp:requiredfieldvalidator id="req1" ControlToValidate="TextBox1" Text="Required Field" runat=server /> Can create multiple validation controls with the same target control
33 Server Controls Validation Controls Page.IsValid indicates if all validation controls on the page succeed void Submit_click(object s, EventArgs e) { if (Page.IsValid) { Message.Text = "Page is valid!"; } } Server Controls Validation Controls Display property controls layout Static: fixed layout, display won t change if invalid Dynamic: dynamic layout None: no display; can still use ValidationSummary and Page.IsValid Type property specifies expected data type: Currency, Date, Double, Integer, String
34 Server Controls Validation Controls Can force down-level option Only server-side validation Page Language="c#" ClientTarget="DownLevel" %> Server Controls Validation Controls Example: ValidationControls.aspx
Agenda. ASP.NET Overview Programming Basics Server Controls
Agenda ASP.NET Overview Programming Basics Server Controls ASP.NET Overview public void B_Click (object sender, System.EventArgs e)
ICS 434 Advanced Database Systems
ICS 434 Advanced Database Systems Dr. Abdallah Al-Sukairi [email protected] Second Semester 2003-2004 (032) King Fahd University of Petroleum & Minerals Information & Computer Science Department Outline
ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT
ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT Dr. Mike Morrison, University of Wisconsin-Eau Claire, [email protected] Dr. Joline Morrison, University of Wisconsin-Eau Claire, [email protected]
Transition your MCPD Web Developer Skills to MCPD ASP.NET Developer 3.5 (VB)
Transition your MCPD Web Developer Skills to MCPD ASP.NET Developer 3.5 (VB) Course Number: 70-567 UPGRADE Certification Exam 70-567 - UPGRADE: Transition your MCPD Web Developer Skills to MCPD ASP.NET
HTML Forms and CONTROLS
HTML Forms and CONTROLS Web forms also called Fill-out Forms, let a user return information to a web server for some action. The processing of incoming data is handled by a script or program written in
Internet Technologies
QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department [email protected] http://ce.qu.edu.az/~aadamov What are forms?
Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT
Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT AGENDA 1. Introduction to Web Applications and ASP.net 1.1 History of Web Development 1.2 Basic ASP.net processing (ASP
HTML Form Widgets. Review: HTML Forms. Review: CGI Programs
HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate
ASP.NET and Web Forms
ch14.fm Page 587 Wednesday, May 22, 2002 1:38 PM F O U R T E E N ASP.NET and Web Forms 14 An important part of.net is its use in creating Web applications through a technology known as ASP.NET. Far more
Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)
Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) [This is the second of a series of white papers on implementing applications with special requirements for data
4.2 Understand Microsoft ASP.NET Web Application Development
L E S S O N 4 4.1 Understand Web Page Development 4.2 Understand Microsoft ASP.NET Web Application Development 4.3 Understand Web Hosting 4.4 Understand Web Services MTA Software Fundamentals 4 Test L
Web Development 1 A4 Project Description Web Architecture
Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:
http://msdn.microsoft.com/en-us/library/4w3ex9c2.aspx
ASP.NET Overview.NET Framework 4 ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. ASP.NET is
Introduction to XHTML. 2010, Robert K. Moniot 1
Chapter 4 Introduction to XHTML 2010, Robert K. Moniot 1 OBJECTIVES In this chapter, you will learn: Characteristics of XHTML vs. older HTML. How to write XHTML to create web pages: Controlling document
MOVING THE SENIOR DEVELOPMENT CLASS FROM WEB DEVELOPMENT TO LIFE CYCLE DEVELOPMENT A CASE FOR VISUAL STUDIO 2005
MOVING THE SENIOR DEVELOPMENT CLASS FROM WEB DEVELOPMENT TO LIFE CYCLE DEVELOPMENT A CASE FOR VISUAL STUDIO 2005 Thom Luce, Ohio University, [email protected] ABSTRACT Information Systems programs in Business
2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led
2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led Introduction This three-day, instructor-led course provides students with the knowledge and skills
CIS 445 Advanced Visual Basic.NET ASP.NET
California State University Los Angeles CIS 445 Advanced Visual Basic.NET ASP.NET (Part 1), PhD [email protected] California State University, LA Department Computer s Part1 The Fundamentals of ASP.NET
Introduction to ASP.NET Web Development Instructor: Frank Stepanski
Introduction to ASP.NET Web Development Instructor: Frank Stepanski Overview From this class, you will learn how to develop web applications using the Microsoft web technology ASP.NET using the free web
VB.NET - WEB PROGRAMMING
VB.NET - WEB PROGRAMMING http://www.tutorialspoint.com/vb.net/vb.net_web_programming.htm Copyright tutorialspoint.com A dynamic web application consists of either or both of the following two types of
c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form.
Practice Problems: These problems are intended to clarify some of the basic concepts related to access to some of the form controls. In the process you should enter the problems in the computer and run
Client-side Web Engineering From HTML to AJAX
Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions
JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript
Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011
Hands-On Lab Client Workflow Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: DEFINING A PROCESS IN VISIO 2010... 4 Task 1 Define the Timesheet Approval process... 4 Task 2
JavaScript and Dreamweaver Examples
JavaScript and Dreamweaver Examples CSC 103 October 15, 2007 Overview The World is Flat discussion JavaScript Examples Using Dreamweaver HTML in Dreamweaver JavaScript Homework 3 (due Friday) 1 JavaScript
Yandex.Widgets Quick start
17.09.2013 .. Version 2 Document build date: 17.09.2013. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2013 Yandex LLC. All rights reserved.
Microsoft.Realtests.98-363.v2014-08-23.by.ERICA.50q
Microsoft.Realtests.98-363.v2014-08-23.by.ERICA.50q Number: 98-363 Passing Score: 800 Time Limit: 120 min File Version: 26.5 MICROSOFT 98-363 EXAM QUESTIONS & ANSWERS Exam Name: Web Development Fundamentals
(Ch: 1) Building ASP.NET Pages. A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP.
(Ch: 1) Building ASP.NET Pages A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP.NET Page D. the structure of an ASP.NET Page ASP.NET and the.net Framework
07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers
1 About Forms For a website to be successful, it is important to be able to get feedback from visitors to your site. This could be a request for information, general comments on your site or even a product
Advanced Web Application Development using Microsoft ASP.NET
Course Outline Other Information MS2311 Days 3 Starting Time 9:00 Finish Time 4:30 Lunch & refreshments are included with this course. Advanced Web Application Development using Microsoft ASP.NET Course
HTML Tables. IT 3203 Introduction to Web Development
IT 3203 Introduction to Web Development Tables and Forms September 3 HTML Tables Tables are your friend: Data in rows and columns Positioning of information (But you should use style sheets for this) Slicing
Novell Identity Manager
AUTHORIZED DOCUMENTATION Manual Task Service Driver Implementation Guide Novell Identity Manager 4.0.1 April 15, 2011 www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with
Sample Chapters. To learn more about this book visit Microsoft Learning at: http://go.microsoft.com/fwlink/?linkid=206094
Sample Chapters Copyright 2010 by Tony Northrup and Mike Snell. All rights reserved. To learn more about this book visit Microsoft Learning at: http://go.microsoft.com/fwlink/?linkid=206094 Contents Acknowledgments
Working with Data in ASP.NET 2.0 :: Paging and Sorting Report Data Introduction. Step 1: Adding the Paging and Sorting Tutorial Web Pages
1 of 18 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.
Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring
Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring Estimated time to complete this lab: 45 minutes ASP.NET 2.0 s configuration API fills a hole in ASP.NET 1.x by providing an easy-to-use and extensible
CS412 Interactive Lab Creating a Simple Web Form
CS412 Interactive Lab Creating a Simple Web Form Introduction In this laboratory, we will create a simple web form using HTML. You have seen several examples of HTML pages and forms as you have worked
SQL Server Database Web Applications
SQL Server Database Web Applications Microsoft Visual Studio (as well as Microsoft Visual Web Developer) uses a variety of built-in tools for creating a database-driven web application. In addition to
Visual COBOL ASP.NET Shopping Cart Demonstration
Visual COBOL ASP.NET Shopping Cart Demonstration Overview: The original application that was used as the model for this demonstration was the ASP.NET Commerce Starter Kit (CSVS) demo from Microsoft. The
Dynamic Web-Enabled Data Collection
Dynamic Web-Enabled Data Collection S. David Riba, Introduction Web-based Data Collection Forms Error Trapping Server Side Validation Client Side Validation Dynamic generation of web pages with Scripting
Further web design: HTML forms
Further web design: HTML forms Practical workbook Aims and Learning Objectives The aim of this document is to introduce HTML forms. By the end of this course you will be able to: use existing forms on
Advanced Web Application Development using Microsoft ASP.NET
Key Data Course #: 2311A Number of Days: 3 Format: Instructor-Led Certification Exams: Exam 70-305: Developing and Implementing Web Applications with Microsoft Visual Basic.NET and Microsoft Visual Studio.NET
Enabling AJAX in ASP.NET with No Code
Enabling AJAX in ASP.NET with No Code telerik s r.a.d.ajax enables AJAX by simply dropping a control on a Web page, without otherwise modifying the application or writing a single line of code By Don Kiely
Government Girls Polytechnic, Bilaspur
Government Girls Polytechnic, Bilaspur Name of the Lab: Internet & Web Technology Lab Title of the Practical : Dynamic Web Page Design Lab Class: CSE 6 th Semester Teachers Assessment:20 End Semester Examination:50
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator Written by: Chris Jaun ([email protected]) Sudha Piddaparti ([email protected]) Objective In this
InPost UK Limited GeoWidget Integration Guide Version 1.1
InPost UK Limited GeoWidget Integration Guide Version 1.1 Contents 1.0. Introduction... 3 1.0.1. Using this Document... 3 1.0.1.1. Document Purpose... 3 1.0.1.2. Intended Audience... 3 1.0.2. Background...
Real SQL Programming 1
Real 1 We have seen only how SQL is used at the generic query interface an environment where we sit at a terminal and ask queries of a database. Reality is almost always different: conventional programs
ASP &.NET. Microsoft's Solution for Dynamic Web Development. Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon
ASP &.NET Microsoft's Solution for Dynamic Web Development Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon Introduction Microsoft's Server-side technology. Uses built-in
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation Credit-By-Assessment (CBA) Competency List Written Assessment Competency List Introduction to the Internet
Performance Testing for Ajax Applications
Radview Software How to Performance Testing for Ajax Applications Rich internet applications are growing rapidly and AJAX technologies serve as the building blocks for such applications. These new technologies
Viewing Form Results
Form Tags XHTML About Forms Forms allow you to collect information from visitors to your Web site. The example below is a typical tech suupport form for a visitor to ask a question. More complex forms
Website Login Integration
SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2
Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010
Introducing Apache Pivot Greg Brown, Todd Volkert 6/10/2010 Speaker Bios Greg Brown Senior Software Architect 15 years experience developing client and server applications in both services and R&D Apache
HOUR 3 Creating Our First ASP.NET Web Page
HOUR 3 Creating Our First ASP.NET Web Page In the last two hours, we ve spent quite a bit of time talking in very highlevel terms about ASP.NET Web pages and the ASP.NET programming model. We ve looked
Creating Form Rendering ASP.NET Applications
Creating Form Rendering ASP.NET Applications You can create an ASP.NET application that is able to invoke the Forms service resulting in the ASP.NET application able to render interactive forms to client
Developing and Implementing Web Applications with Microsoft Visual C#.NET and Microsoft Visual Studio.NET
Unit 39: Developing and Implementing Web Applications with Microsoft Visual C#.NET and Microsoft Visual Studio.NET Learning Outcomes A candidate following a programme of learning leading to this unit will
Short notes on webpage programming languages
Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of
Introduction to Web Design Curriculum Sample
Introduction to Web Design Curriculum Sample Thank you for evaluating our curriculum pack for your school! We have assembled what we believe to be the finest collection of materials anywhere to teach basic
Forms, CGI Objectives. HTML forms. Form example. Form example...
The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms Common Gateway Interface (CGI) Later: Servlets Generation of dynamic Web content
Ajax Development with ASP.NET 2.0
Ajax Development with ASP.NET 2.0 Course No. ISI-1071 3 Days Instructor-led, Hands-on Introduction This three-day intensive course introduces a fast-track path to understanding the ASP.NET implementation
ASP.NET Using C# (VS2012)
ASP.NET Using C# (VS2012) This five-day course provides a comprehensive and practical hands-on introduction to developing applications using ASP.NET 4.5 and C#. It includes an introduction to ASP.NET MVC,
Bookstore Application: Client Tier
29 T U T O R I A L Objectives In this tutorial, you will learn to: Create an ASP.NET Web Application project. Create and design ASPX pages. Use Web Form controls. Reposition controls, using the style attribute.
Script Handbook for Interactive Scientific Website Building
Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step
MASTERTAG DEVELOPER GUIDE
MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...
<option> eggs </option> <option> cheese </option> </select> </p> </form>
FORMS IN HTML A form is the usual way information is gotten from a browser to a server HTML has tags to create a collection of objects that implement this information gathering The objects are called widgets
OVERVIEW OF ASP. What is ASP. Why ASP
OVERVIEW OF ASP What is ASP Active Server Pages (ASP), Microsoft respond to the Internet/E-Commerce fever, was designed specifically to simplify the process of developing dynamic Web applications. Built
Working With Virtual Hosts on Pramati Server
Working With Virtual Hosts on Pramati Server 13 Overview Virtual hosting allows a single machine to be addressed by different names. There are two ways for configuring Virtual Hosts. They are: Domain Name
JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.
1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,
4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development
4 Understanding Web Applications IN THIS CHAPTER 4.1 Understand Web page development 4.2 Understand Microsoft ASP.NET Web application development 4.3 Understand Web hosting 4.4 Understand Web services
General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support
General principles and architecture of Adlib and Adlib API Petra Otten Manager Customer Support Adlib Database management program, mainly for libraries, museums and archives 1600 customers in app. 30 countries
XHTML Forms. Form syntax. Selection widgets. Submission method. Submission action. Radio buttons
XHTML Forms Web forms, much like the analogous paper forms, allow the user to provide input. This input is typically sent to a server for processing. Forms can be used to submit data (e.g., placing an
Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf
1 The Web, revisited WEB 2.0 [email protected] Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)
Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect
Introduction Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect This document describes the process for configuring an iplanet web server for the following situation: Require that clients
Tracing and Debugging in ASP.NET
Tracing and Debugging in ASP.NET Tracing and Debugging in ASP.NET Objectives Learn how to set up traces in Visual Studio.NET. Configure tracing and debugging in Visual Studio.NET. Step through code written
Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is.
Intell-a-Keeper Reporting System Technical Programming Guide Tracking your Bookings without going Nuts! http://www.acorn-is.com 877-ACORN-99 Step 1: Contact Marian Talbert at Acorn Internet Services at
2- Forms and JavaScript Course: Developing web- based applica<ons
2- Forms and JavaScript Course: Cris*na Puente, Rafael Palacios 2010- 1 Crea*ng forms Forms An HTML form is a special section of a document which gathers the usual content plus codes, special elements
WIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
JOSSO 2.4. Internet Information Server (IIS) Tutorial
JOSSO 2.4 Internet Information Server (IIS) Tutorial JOSSO 2.4 : Internet Information Server (IIS) Tutorial 1. Introduction... 1 2. Prerequisites... 2 3. Defining Identity Appliance Elements... 3 3.1.
Single Page Web App Generator (SPWAG)
Single Page Web App Generator (SPWAG) Members Lauren Zou (ljz2112) Aftab Khan (ajk2194) Richard Chiou (rc2758) Yunhe (John) Wang (yw2439) Aditya Majumdar (am3713) Motivation In 2012, HTML5 and CSS3 took
Web Pages. Static Web Pages SHTML
1 Web Pages Htm and Html pages are static Static Web Pages 2 Pages tagged with "shtml" reveal that "Server Side Includes" are being used on the server With SSI a page can contain tags that indicate that
Introduction to Ingeniux Forms Builder. 90 minute Course CMSFB-V6 P.0-20080901
Introduction to Ingeniux Forms Builder 90 minute Course CMSFB-V6 P.0-20080901 Table of Contents COURSE OBJECTIVES... 1 Introducing Ingeniux Forms Builder... 3 Acquiring Ingeniux Forms Builder... 3 Installing
Web services can convert your existing applications into web applications.
i About the Tutorial Web services are open standard (XML, SOAP, HTTP, etc.) based web applications that interact with other web applications for the purpose of exchanging data Web services can convert
Fast track to HTML & CSS 101 (Web Design)
Fast track to HTML & CSS 101 (Web Design) Level: Introduction Duration: 5 Days Time: 9:30 AM - 4:30 PM Cost: 997.00 Overview Fast Track your HTML and CSS Skills HTML and CSS are the very fundamentals of
Custom Error Pages in ASP.NET Prabhu Sunderaraman [email protected] http://www.durasoftcorp.com
Custom Error Pages in ASP.NET Prabhu Sunderaraman [email protected] http://www.durasoftcorp.com Abstract All web applications are prone to throw two kinds of errors, conditional and unconditional.
J j enterpririse. Oracle Application Express 3. Develop Native Oracle database-centric web applications quickly and easily with Oracle APEX
Oracle Application Express 3 The Essentials and More Develop Native Oracle database-centric web applications quickly and easily with Oracle APEX Arie Geller Matthew Lyon J j enterpririse PUBLISHING BIRMINGHAM
WHITEPAPER. Skinning Guide. Let s chat. 800.9.Velaro www.velaro.com [email protected]. 2012 by Velaro
WHITEPAPER Skinning Guide Let s chat. 2012 by Velaro 800.9.Velaro www.velaro.com [email protected] INTRODUCTION Throughout the course of a chat conversation, there are a number of different web pages that
BarTender s ActiveX Automation Interface. The World's Leading Software for Label, Barcode, RFID & Card Printing
The World's Leading Software for Label, Barcode, RFID & Card Printing White Paper BarTender s ActiveX Automation Interface Controlling BarTender using Programming Languages not in the.net Family Contents
Analytics Configuration Reference
Sitecore Online Marketing Suite 1 Analytics Configuration Reference Rev: 2009-10-26 Sitecore Online Marketing Suite 1 Analytics Configuration Reference A Conceptual Overview for Developers and Administrators
DotNet Web Developer Training Program
DotNet Web Developer Training Program Introduction/Summary: This 5-day course focuses on understanding and developing various skills required by Microsoft technologies based.net Web Developer. Theoretical
Tutorial 6 Creating a Web Form. HTML and CSS 6 TH EDITION
Tutorial 6 Creating a Web Form HTML and CSS 6 TH EDITION Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create input boxes and form labels
DNNCentric Custom Form Creator. User Manual
DNNCentric Custom Form Creator User Manual Table of contents Introduction of the module... 3 Prerequisites... 3 Configure SMTP Server... 3 Installation procedure... 3 Creating Your First form... 4 Adding
Expanded contents. Section 1. Chapter 2. The essence off ASP.NET web programming. An introduction to ASP.NET web programming
TRAINING & REFERENCE murach's web programming with C# 2010 Anne Boehm Joel Murach Va. Mike Murach & Associates, Inc. I J) 1-800-221-5528 (559) 440-9071 Fax: (559) 44(M)963 [email protected] www.murach.com
Enhancing your Web Experiences with ASP.NET Ajax and IIS 7
Enhancing your Web Experiences with ASP.NET Ajax and IIS 7 Rob Cameron Developer Evangelist, Microsoft http://blogs.msdn.com/robcamer Agenda IIS 6 IIS 7 Improvements for PHP on IIS ASP.NET Integration
