CIS ASP Tim Brown
.html www
.html www
.html www
.html www
.html www JavaScript VBScript
.html.cgi www PerlJavaScript VBScript
.html.cgi www db OS PerlJavaScript VBScript
.html.cgi.asp www db VBScript JScript JavaScript VBScript Perl
.html.cgi.asp www db
ASP.NET Requirements 1.IIS 5.0 or higher (or equivalent) (component of XP Pro, Vista, and Win 7) 2.Development Environment or Text Editor (Visual Studio is optional, but recommended)
Overview of Unit 1 1.Create Web Forms 2.Code-behind files 3.Redirection 4.Validation controls 5.State Preservation 6.Master Pages
Overview of Unit 2 1.Site Navigation 2.Themes 3.Data Sources 4.ListView control 5.Gridview Control 6.DetailsView and FormView controls
Overview of Unit 3 1.ListView and DataPager Controls 2.Object Data Sources 3.LINQ data sources 4.Optional: SSL, Authentication, Authorization 5.Optional: User Controls, Custom Controls 6.Optional: Web Services
Visual Studio Advantages Solution Explorer - file, folder, and project management tools. Intellisense – syntax assistance HTML editor – WYSIWYG page design Debugger – step-by-step execution
Web Form Control Types HTML HTML Server ASP (Web) Server Validation User and Custom
Server control benefits Server side event procedures State preservation Data binding Browser-version sensitive
controlType is the type of control (Label, TextBox, Button, etc.) name is an identifier used to refer to the control from code
controlType is the type of control (Label, TextBox, Button, etc.) name is an identifier used to refer to the control from code
Page Directive Attributes Language –specifies lanuage of embedded code Codebehind –specifies file name of code-behind file Inherits –name of class aspx will inherit from AutoEventWireup –automatically associates page events with event procedures having correct names
Page and Control Events InitializeComponent Page_Init Page_Load
Exercise 1