You are on page 1of 28

5/10/21 14:53 ASP.

NET Web Forms | Microsoft Docs

ASP.NET Web Forms


08/08/2011 • 29 minutes to read • +1

Guidance

Getting Started

Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013
Getting Started with Web Forms and Visual Studio
Create the Project
Create the Data Access Layer
UI and Navigation
Display Data Items and Details
Shopping Cart
Checkout and Payment with PayPal
Membership and Administration
URL Routing
ASP.NET Error Handling

Creating a Basic Web Forms Page in Visual Studio 2013

Code Editing ASP.NET Web Forms in Visual Studio 2013

Using Page Inspector for Visual Studio 2012 in ASP.NET Web Forms

Visual Studio 2012 Hands On Labs


What's New in ASP.NET and Web Development in Visual Studio 2012
What's New in Web Forms in ASP.NET 4.5
Using Page Inspector in Visual Studio 2012

Working with Data

Model Binding and Web Forms in Visual Studio 2013


Retrieving and Displaying Data
Updating, Deleting, and Creating Data
Sorting, Paging, and Filtering Data
Integrating JQuery UI Datepicker
Using Query String Values to Filter Data
Adding Business Logic Layer

Security, Authentication, and Authorization

https://docs.microsoft.com/en-us/aspnet/web-forms/ 1/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Create a secure ASP.NET Web Forms app with user registration, email
confirmation and password reset (C#)
Create an ASP.NET Web Forms app with SMS Two-Factor Authentication (C#)

Performance
Using Asynchronous Methods in ASP.NET 4.5

Deployment

ASP.NET Web Deployment using Visual Studio


Introduction
Preparing for Database Deployment
Web.config File Transformations
Project Properties
Deploying to Test
Setting Folder Permissions
Deploying to Production
Deploying a Code Update
Deploying a Database Update
Command Line Deployment
Deploying Extra Files
Troubleshooting

ASP.NET 4 - Enterprise Deployment Introduction


Deploying Web Applications in Enterprise Scenarios using Visual Studio
2010
Enterprise Web Deployment: Scenario Overview
Application Lifecycle Management: From Development to Production

ASP.NET 4 - Enterprise Deployment Series 1


Web Deployment in the Enterprise
The Contact Manager Solution
Setting Up the Contact Manager Solution
Understanding the Project File
Understanding the Build Process
Building and Packaging Web Application Projects
Configuring Parameters for Web Package Deployment
Deploying Web Packages
Deploying Database Projects
Creating and Running a Deployment Command File
Manually Installing Web Packages

ASP.NET 4 - Enterprise Deployment Series 2 Configuring Servers


Configuring Server Environments for Web Deployment
https://docs.microsoft.com/en-us/aspnet/web-forms/ 2/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Choosing the Right Approach to Web Deployment


Scenario: Configuring a Test Environment for Web Deployment
Scenario: Configuring a Staging Environment for Web Deployment
Scenario: Configuring a Production Environment for Web Deployment
Configuring a Web Server for Web Deploy Publishing (Remote Agent)
Configuring a Web Server for Web Deploy Publishing (Web Deploy
Handler)
Configuring a Web Server for Web Deploy Publishing (Offline
Deployment)
Configuring a Database Server for Web Deploy Publishing
Creating a Server Farm with the Web Farm Framework
Configuring Deployment Properties for a Target Environment

ASP.NET 4 - Enterprise Deployment Series 3 Configuring TFS


Configuring Team Foundation Server for Web Deployment
Creating a Team Project in TFS
Adding Content to Source Control
Configuring a TFS Build Server for Web Deployment
Creating a Build Definition That Supports Deployment
Deploying a Specific Build
Configuring Permissions for Team Build Deployment

ASP.NET 4 - Enterprise Deployment Series 4 Advanced Topics


Advanced Enterprise Web Deployment
Performing a "What If" Deployment
Customizing Database Deployments for Multiple Environments
Deploying Database Role Memberships to Test Environments
Deploying Membership Databases to Enterprise Environments
Excluding Files and Folders from Deployment
Taking Web Applications Offline with Web Deploy
Running Windows PowerShell Scripts from MSBuild Project Files
Troubleshooting the Packaging Process

Advanced
ASP.NET Web Forms Connection Resiliency and Command Interception

Older Versions - Getting Started

ASP.NET 4 - Tailspin Spyworks


Part 1: File-> New Project
Part 2: Data Access Layer
Part 3: Layout and Category Menu
Part 4: Listing Products

https://docs.microsoft.com/en-us/aspnet/web-forms/ 3/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Part 5: Business Logic


Part 6: ASP.NET Membership
Part 7: Adding Features
Part 8: Final Pages, Exception Handling, and Conclusion

ASP.NET 4 - Getting Started with Entity Framework 4 and Web Forms


Getting Started with Entity Framework 4.0 Database First
Getting Started with Entity Framework 4.0 Database First - Part 2
Getting Started with Entity Framework 4.0 Database First - Part 3
Getting Started with Entity Framework 4.0 Database First - Part 4
Getting Started with Entity Framework 4.0 Database First - Part 5
Getting Started with Entity Framework 4.0 Database First - Part 6
Getting Started with Entity Framework 4.0 Database First - Part 7
Getting Started with Entity Framework 4.0 Database First - Part 8

ASP.NET 4 - Continuing with Entity Framework 4 and Web Forms


Entity Framework 4.0 and the ObjectDataSource Control, Part 1: Getting
Started
Entity Framework 4.0 and the ObjectDataSource Control, Part 2: Adding a
Business Logic Layer and Unit Tests
Entity Framework 4.0 and the ObjectDataSource Control, Part 3: Sorting
and Filtering
Handling Concurrency with the Entity Framework 4.0 in ASP.NET 4
Maximizing Performance with the Entity Framework 4.0 in ASP.NET 4
What's New in the Entity Framework 4.0

ASP.NET 4 - Web Deployment with SQL Server Compact using Visual Studio
Visual Studio Web Deployment with SQL Server Compact - Introduction
Visual Studio Web Deployment with SQL Server Compact- Deploying SQL
Server Compact Databases
Visual Studio Web Deployment with SQL Server Compact - Web.Config
File Transformations
Visual Studio Web Deployment with SQL Server Compact - Configuring
Project Properties
Visual Studio Web Deployment with SQL Server Compact - Deploying to
IIS as a Test Environment
Visual Studio Web Deployment with SQL Server Compact - Setting Folder
Permissions
Visual Studio Web Deployment with SQL Server Compact - Deploying to
the Production Environment
Visual Studio Web Deployment with SQL Server Compact - Deploying a
Code-Only Update

https://docs.microsoft.com/en-us/aspnet/web-forms/ 4/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Visual Studio Web Deployment with SQL Server Compact - Deploying a


Database Update
Visual Studio Web Deployment with SQL Server Compact - Migrating to
SQL Server
Visual Studio Web Deployment with SQL Server Compact - Deploying a
SQL Server Database Update
Visual Studio Web Deployment with SQL Server Compact -
Troubleshooting

ASP.NET 3.5 - AJAX


Understanding Partial Page Updates with ASP.NET AJAX
Understanding ASP.NET AJAX UpdatePanel Triggers
Understanding ASP.NET AJAX Authentication and Profile Application
Services
Understanding ASP.NET AJAX Localization
Understanding ASP.NET AJAX Web Services
Understanding ASP.NET AJAX Debugging Capabilities

ASP.NET 3.5 - Web Forms Master Pages


Creating a Site-Wide Layout Using Master Pages (C#)
Multiple ContentPlaceHolders and Default Content (C#)
Specifying the Title, Meta Tags, and Other HTML Headers in the Master
Page (C#)
URLs in Master Pages (C#)
Control ID Naming in Content Pages (C#)
Interacting with the Master Page from the Content Page (C#)
Interacting with the Content Page from the Master Page (C#)
Master Pages and ASP.NET AJAX (C#)
Specifying the Master Page Programmatically (C#)
Nested Master Pages (C#)
Creating a Site-Wide Layout Using Master Pages (VB)
Multiple ContentPlaceHolders and Default Content (VB)
Specifying the Title, Meta Tags, and Other HTML Headers in the Master
Page (VB)
URLs in Master Pages (VB)
Control ID Naming in Content Pages (VB)
Interacting with the Master Page from the Content Page (VB)
Interacting with the Content Page from the Master Page (VB)
Master Pages and ASP.NET AJAX (VB)
Specifying the Master Page Programmatically (VB)
Nested Master Pages (VB)

https://docs.microsoft.com/en-us/aspnet/web-forms/ 5/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Deploying Web Site Projects in Visual Studio 2008 and earlier


ASP.NET Hosting Options (C#)
Determining What Files Need to Be Deployed (C#)
Deploying Your Site Using an FTP Client (C#)
Deploying Your Site Using Visual Studio (C#)
Common Configuration Differences Between Development and
Production (C#)
Core Differences Between IIS and the ASP.NET Development Server (C#)
Deploying a Database (C#)
Configuring a Website that Uses Application Services (C#)
Strategies for Database Development and Deployment (C#)
Displaying a Custom Error Page (C#)
Processing Unhandled Exceptions (C#)
Logging Error Details with ASP.NET Health Monitoring (C#)
Logging Error Details with ELMAH (C#)
Precompiling Your Website (C#)
Users and Roles On Production Website (C#)
ASP.NET Hosting Options (VB)
Determining What Files Need to Be Deployed (VB)
Deploying Your Site Using an FTP Client (VB)
Deploying Your Site Using Visual Studio (VB)
Common Configuration Differences Between Development and
Production (VB)
Core Differences Between IIS and the ASP.NET Development Server (VB)
Deploying a Database (VB)
Configuring a Website that Uses Application Services (VB)
Strategies for Database Development and Deployment (VB)
Displaying a Custom Error Page (VB)
Processing Unhandled Exceptions (VB)
Logging Error Details with ASP.NET Health Monitoring (VB)
Logging Error Details with ELMAH (VB)
Precompiling Your Website (VB)
Users and Roles On Production Website (VB)

Older Versions - Ajax Control Toolkit

Getting Started
Get Started with the AJAX Control Toolkit (C#)
Using AJAX Control Toolkit Controls and Control Extenders (C#)
Creating a Custom AJAX Control Toolkit Control Extender (C#)
Get Started with the AJAX Control Toolkit (VB)
Using AJAX Control Toolkit Controls and Control Extenders (VB)

https://docs.microsoft.com/en-us/aspnet/web-forms/ 6/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Creating a Custom AJAX Control Toolkit Control Extender (VB)

Accordion
Databinding to an Accordion (C#)
Dynamically Adding Accordion Pane (C#)
Databinding to an Accordion (VB)
Dynamically Adding Accordion Pane (VB)

Animation
Adding Animation to a Control (C#)
Executing Several Animations at Same Time (C#)
Executing Several Animations after Each Other (C#)
Animation Depending On a Condition (C#)
Picking One Animation Out Of a List (C#)
Animating in Response To User Interaction (C#)
Disabling Actions during Animation (C#)
Triggering an Animation in another Control (C#)
Modifying Animations From Server Side (C#)
Executing Animations Using Client-Side Code (C#)
Changing an Animation Using Client-Side Code (C#)
Animating an UpdatePanel Control (C#)
Dynamically Controlling UpdatePanel Animations (C#)
Adding Animation to a Control (VB)
Executing Several Animations at Same Time (VB)
Executing Several Animations after Each Other (VB)
Animation Depending On a Condition (VB)
Picking One Animation Out Of a List (VB)
Animating in Response To User Interaction (VB)
Disabling Actions during Animation (VB)
Triggering an Animation in another Control (VB)
Modifying Animations From Server Side (VB)
Executing Animations Using Client-Side Code (VB)
Changing an Animation Using Client-Side Code (VB)
Animating an UpdatePanel Control (VB)
Dynamically Controlling UpdatePanel Animations (VB)

CascadingDropdown
Filling a List Using CascadingDropDown (C#)
Using CascadingDropDown with a Database (C#)
Presetting List Entries with CascadingDropDown (C#)
Using Auto-Postback with CascadingDropDown (C#)
Filling a List Using CascadingDropDown (VB)

https://docs.microsoft.com/en-us/aspnet/web-forms/ 7/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Using CascadingDropDown with a Database (VB)


Presetting List Entries with CascadingDropDown (VB)
Using Auto-Postback with CascadingDropDown (VB)

CollapsiblePanel
Collapsing and Expanding a Panel from JavaScript (C#)
Collapsing and Expanding a Panel from JavaScript (VB)

ColorPicker
ColorPicker Control Extender (C#)
ColorPicker Control Extender (VB)

ComboBox
ComboBox Control (C#)
ComboBox Control (VB)

ConfirmButton
Using a ConfirmButton In a Repeater (C#)
Using a ConfirmButton In a Repeater (VB)

DropShadow
Adjusting the Z-Index of a DropShadow (C#)
Manipulating DropShadow Properties from Client Code (C#)
Adjusting the Z-Index of a DropShadow (VB)
Manipulating DropShadow Properties from Client Code (VB)

DynamicPopulate
Dynamically Populating a Control (C#)
Dynamically Populating a Control Using JavaScript Code (C#)
Using DynamicPopulate with a User Control And JavaScript (C#)
Dynamically Populating a Control (VB)
Dynamically Populating a Control Using JavaScript Code (VB)
Using DynamicPopulate with a User Control And JavaScript (VB)

FilteredTextBox
Allowing Only Certain Characters in a Text Box (C#)
Allowing Only Certain Characters in a Text Box (VB)

HoverMenu
Using HoverMenu with a Repeater Control (C#)
Using HoverMenu with a Repeater Control (VB)

HTMLEditor
HTML Editor Control (C#)
HTML Editor Control (VB)
https://docs.microsoft.com/en-us/aspnet/web-forms/ 8/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

ModalPopup
Launching a Modal Popup Window from Server Code (C#)
Using ModalPopup with a Repeater Control (C#)
Handling Postbacks from a ModalPopup (C#)
Positioning a ModalPopup (C#)
Launching a Modal Popup Window from Server Code (VB)
Using ModalPopup with a Repeater Control (VB)
Handling Postbacks from a ModalPopup (VB)
Positioning a ModalPopup (VB)

MutuallyExclusiveCheckbox
Creating Mutually Exclusive Checkboxes (C#)
Creating Mutually Exclusive Checkboxes (VB)

NoBot
Fighting Bots (C#)
Fighting Bots (VB)

NumericUpDown
Creating a Numeric Up/Down Control with a Web Service Backend (C#)
Creating a Numeric Up/Down Control with a Web Service Backend (VB)

PasswordStrength
Testing the Strength of a Password (C#)
Testing the Strength of a Password (VB)

Popup
Using Multiple Popup Controls (C#)
Handling Postbacks from A Popup Control With an UpdatePanel (C#)
Handling Postbacks from A Popup Control Without an UpdatePanel (C#)
Using Multiple Popup Controls (VB)
Handling Postbacks from A Popup Control With an UpdatePanel (VB)
Handling Postbacks from A Popup Control Without an UpdatePanel (VB)

Rating
Creating a Rating Control (C#)
Creating a Rating Control (VB)

ReorderList
Using Postbacks with ReorderList (C#)
Drag and Drop via ReorderList (C#)
Using Postbacks with ReorderList (VB)
Drag and Drop via ReorderList (VB)

https://docs.microsoft.com/en-us/aspnet/web-forms/ 9/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Slider
Slider Control With Auto-Postback (C#)
Databinding the Slider Control (C#)
Slider Control With Auto-Postback (VB)
Databinding the Slider Control (VB)

TextBoxWatermark
Using TextBoxWatermark in a FormView (C#)
Using TextBoxWatermark With Validation Controls (C#)
Using TextBoxWatermark in a FormView (VB)
Using TextBoxWatermark With Validation Controls (VB)

Older Versions - Data Access

Introduction
Creating a Data Access Layer (C#)
Creating a Business Logic Layer (C#)
Master Pages and Site Navigation (C#)
Creating a Data Access Layer (VB)
Creating a Business Logic Layer (VB)
Master Pages and Site Navigation (VB)

Basic Reporting
Displaying Data With the ObjectDataSource (C#)
Declarative Parameters (C#)
Programmatically Setting the ObjectDataSource's Parameter Values (C#)
Displaying Data With the ObjectDataSource (VB)
Declarative Parameters (VB)
Programmatically Setting the ObjectDataSource's Parameter Values (VB)

Master/Detail
Master/Detail Filtering With a DropDownList (C#)
Master/Detail Filtering With Two DropDownLists (C#)
Master/Detail Filtering Across Two Pages (C#)
Master/Detail Using a Selectable Master GridView with a Details
DetailView (C#)
Master/Detail Filtering With a DropDownList (VB)
Master/Detail Filtering With Two DropDownLists (VB)
Master/Detail Filtering Across Two Pages (VB)
Master/Detail Using a Selectable Master GridView with a Details
DetailView (VB)

Custom Formatting
Custom Formatting Based Upon Data (C#)
https://docs.microsoft.com/en-us/aspnet/web-forms/ 10/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Using TemplateFields in the GridView Control (C#)


Using TemplateFields in the DetailsView Control (C#)
FormView's Templates (C#)
Displaying Summary Information in the GridView's Footer (C#)
Custom Formatting Based Upon Data (VB)
Using TemplateFields in the GridView Control (VB)
Using TemplateFields in the DetailsView Control (VB)
FormView's Templates (VB)
Displaying Summary Information in the GridView's Footer (VB)

Editing, Inserting, and Deleting Data


Overview of Inserting, Updating, and Deleting Data (C#)
Examining the Events Associated with Inserting, Updating, and Deleting
(C#)
Handling BLL- and DAL-Level Exceptions in an ASP.NET Page (C#)
Adding Validation Controls to the Editing and Inserting Interfaces (C#)
Customizing the Data Modification Interface (C#)
Implementing Optimistic Concurrency (C#)
Adding Client-Side Confirmation When Deleting (C#)
Limiting Data Modification Functionality Based on the User (C#)
Overview of Inserting, Updating, and Deleting Data (VB)
Examining the Events Associated with Inserting, Updating, and Deleting
(VB)
Handling BLL- and DAL-Level Exceptions in an ASP.NET Page (VB)
Adding Validation Controls to the Editing and Inserting Interfaces (VB)
Customizing the Data Modification Interface (VB)
Implementing Optimistic Concurrency (VB)
Adding Client-Side Confirmation When Deleting (VB)
Limiting Data Modification Functionality Based on the User (VB)

Paging and Sorting


Paging and Sorting Report Data (C#)
Efficiently Paging Through Large Amounts of Data (C#)
Sorting Custom Paged Data (C#)
Creating a Customized Sorting User Interface (C#)
Paging and Sorting Report Data (VB)
Efficiently Paging Through Large Amounts of Data (VB)
Sorting Custom Paged Data (VB)
Creating a Customized Sorting User Interface (VB)

Custom Button Actions


Adding and Responding to Buttons to a GridView (C#)

https://docs.microsoft.com/en-us/aspnet/web-forms/ 11/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Adding and Responding to Buttons to a GridView (VB)

Displaying Data with the DataList and Repeater


Displaying Data with the DataList and Repeater Controls (C#)
Formatting the DataList and Repeater Based Upon Data (C#)
Showing Multiple Records per Row with the DataList Control (C#)
Nested Data Web Controls (C#)
Displaying Data with the DataList and Repeater Controls (VB)
Formatting the DataList and Repeater Based Upon Data (VB)
Showing Multiple Records per Row with the DataList Control (VB)
Nested Data Web Controls (VB)

Filtering Scenarios with the DataList and Repeater


Master/Detail Filtering With a DropDownList (C#)
Master/Detail Filtering Across Two Pages (C#)
Master/Detail Using a Bulleted List of Master Records with a Details
DataList (C#)
Master/Detail Filtering With a DropDownList (VB)
Master/Detail Filtering Across Two Pages (VB)
Master/Detail Using a Bulleted List of Master Records with a Details
DataList (VB)

Editing and Deleting Data Through the DataList


Overview of Editing and Deleting Data in the DataList (C#)
Performing Batch Updates (C#)
Handling BLL- and DAL-Level Exceptions (C#)
Adding Validation Controls to the DataList's Editing Interface (C#)
Customizing the DataList's Editing Interface (C#)
Overview of Editing and Deleting Data in the DataList (VB)
Performing Batch Updates (VB)
Handling BLL- and DAL-Level Exceptions (VB)
Adding Validation Controls to the DataList's Editing Interface (VB)
Customizing the DataList's Editing Interface (VB)

Paging and Sorting with the DataList and Repeater


Paging Report Data in a DataList or Repeater Control (C#)
Sorting Data in a DataList or Repeater Control (C#)
Paging Report Data in a DataList or Repeater Control (VB)
Sorting Data in a DataList or Repeater Control (VB)

Custom Button Actions with the DataList and Repeater


Custom Buttons in the DataList and Repeater (C#)
Custom Buttons in the DataList and Repeater (VB)

https://docs.microsoft.com/en-us/aspnet/web-forms/ 12/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Accessing the Database Directly from an ASP.NET Page


Querying Data with the SqlDataSource Control (C#)
Using Parameterized Queries with the SqlDataSource (C#)
Inserting, Updating, and Deleting Data with the SqlDataSource (C#)
Implementing Optimistic Concurrency with the SqlDataSource (C#)
Querying Data with the SqlDataSource Control (VB)
Using Parameterized Queries with the SqlDataSource (VB)
Inserting, Updating, and Deleting Data with the SqlDataSource (VB)
Implementing Optimistic Concurrency with the SqlDataSource (VB)

Enhancing the GridView


Adding a GridView Column of Radio Buttons (C#)
Adding a GridView Column of Checkboxes (C#)
Inserting a New Record from the GridView's Footer (C#)
Adding a GridView Column of Radio Buttons (VB)
Adding a GridView Column of Checkboxes (VB)
Inserting a New Record from the GridView's Footer (VB)

Working with Binary Files


Uploading Files (C#)
Displaying Binary Data in the Data Web Controls (C#)
Including a File Upload Option When Adding a New Record (C#)
Updating and Deleting Existing Binary Data (C#)
Uploading Files (VB)
Displaying Binary Data in the Data Web Controls (VB)
Including a File Upload Option When Adding a New Record (VB)
Updating and Deleting Existing Binary Data (VB)

Caching Data
Caching Data with the ObjectDataSource (C#)
Caching Data in the Architecture (C#)
Caching Data at Application Startup (C#)
Using SQL Cache Dependencies (C#)
Caching Data with the ObjectDataSource (VB)
Caching Data in the Architecture (VB)
Caching Data at Application Startup (VB)
Using SQL Cache Dependencies (VB)

Database-Driven Site Maps


Building a Custom Database-Driven Site Map Provider (C#)
Building a Custom Database-Driven Site Map Provider (VB)

Working with Batched Data

https://docs.microsoft.com/en-us/aspnet/web-forms/ 13/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Wrapping Database Modifications within a Transaction (C#)


Batch Updating (C#)
Batch Deleting (C#)
Batch Inserting (C#)
Wrapping Database Modifications within a Transaction (VB)
Batch Updating (VB)
Batch Deleting (VB)
Batch Inserting (VB)

Advanced Data Access Scenarios


Creating New Stored Procedures for the Typed DataSet's TableAdapters
(C#)
Using Existing Stored Procedures for the Typed DataSet's TableAdapters
(C#)
Updating the TableAdapter to Use JOINs (C#)
Adding Additional DataTable Columns (C#)
Working with Computed Columns (C#)
Configuring the Data Access Layer's Connection- and Command-Level
Settings (C#)
Protecting Connection Strings and Other Configuration Information (C#)
Debugging Stored Procedures (C#)
Creating Stored Procedures and User-Defined Functions with Managed
Code (C#)
Creating New Stored Procedures for the Typed DataSet's TableAdapters
(VB)
Using Existing Stored Procedures for the Typed DataSet's TableAdapters
(VB)
Updating the TableAdapter to Use JOINs (VB)
Adding Additional DataTable Columns (VB)
Working with Computed Columns (VB)
Configuring the Data Access Layer's Connection- and Command-Level
Settings (VB)
Protecting Connection Strings and Other Configuration Information (VB)
Debugging Stored Procedures (VB)
Creating Stored Procedures and User-Defined Functions with Managed
Code (VB)

Older Versions - Security

ASP.NET 3.5 - Introduction to Security


Security Basics and ASP.NET Support (C#)
Overview of Forms Authentication (C#)

https://docs.microsoft.com/en-us/aspnet/web-forms/ 14/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Security Basics and ASP.NET Support (VB)


Overview of Forms Authentication (VB)

ASP.NET 3.5 - Membership


Creating the Membership Schema in SQL Server (C#)
Creating User Accounts (C#)
Validating User Credentials Against the Membership User Store (C#)
User-Based Authorization (C#)
Storing Additional User Information (C#)
Creating the Membership Schema in SQL Server (VB)
Creating User Accounts (VB)
Validating User Credentials Against the Membership User Store (VB)
User-Based Authorization (VB)
Storing Additional User Information (VB)

ASP.NET 3.5 - Roles


Creating and Managing Roles (C#)
Assigning Roles to Users (C#)
Role-Based Authorization (C#)
Creating and Managing Roles (VB)
Assigning Roles to Users (VB)
Role-Based Authorization (VB)

ASP.NET 3.5 - Security Administration


Building an Interface to Select One User Account from Many (C#)
Recovering and Changing Passwords (C#)
Unlocking and Approving User Accounts (C#)
Building an Interface to Select One User Account from Many (VB)
Recovering and Changing Passwords (VB)
Unlocking and Approving User Accounts (VB)

Older Versions - ASP.NET 2.0


Improvements in Visual Studio 2005
ASP.NET 2.0 Page Model
Server Controls
Master Pages
Data Source Controls
Data Bound Controls
Caching
Membership
Configuration and Instrumentation
Profiles, Themes, and Web Parts

https://docs.microsoft.com/en-us/aspnet/web-forms/ 15/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Videos

How Do I?
Learn the Tips and Tricks of Experts
Create a Multi-Lingual Site with Localization
Make use of Caching
Make Greater use of Caching
Utilize Web Parts and Personalization
Customize my Site with Profiles and Themes
Secure my Site using Membership and Roles
Create a "Contact Us" Page
Create a Full-Featured Customer Login Portal
Use Master Pages and Site Navigation
Create Data-Driven Web Sites
Implement an HttpModule
Set Up the SQL Membership Provider
Implement URL Rewriting
Utilize the CSS Friendly Control Adapters
Handle Application Events using an HttpModule
Use Cascading Style Sheets for Web Page Layout
Create a Custom Membership Provider
Create a Custom Profile Provider
Implement Site Navigation in ASP.NET
Use Validation Controls in ASP.NET
Create a Custom User Control in ASP.NET
Implement Health Monitoring for an ASP.NET Application
Implement Tracing in an ASP.NET Web Site
Event Handlers in ASP.NET Web Pages and Controls
Implement a Custom Health Monitoring Event
Use Control State to Persist Information for a Custom Web Server Control
Read, Write, and Delete Cookies in ASP.NET
Save and Load View State Information for a Custom Web Server Control
Create and Use Application Level Events in ASP.NET
Simple File Uploads in ASP.NET
Multiple File Uploads in ASP.NET 2
Multiple File Uploads in ASP.NET 1
File Uploads with an AJAX Style Interface
Work with Master Pages Declaratively and Programmatically
Handle Events in Master and Content Pages
Use the ObjectDataSource with a Data Access Class and Business Object
Create User Selectable Themes for a Web Site
Share Data Between Client JavaScript and Server Code Using a Hidden Field
https://docs.microsoft.com/en-us/aspnet/web-forms/ 16/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Add JavaScript to ASP.NET Page


Add JavaScript Event Handlers to ASP.NET Server Controls
Create and Call a Simple Web Service in ASP.NET
Deploy a Web Site Copy Web Site Tool
Create and Use a Custom Configuration Section in an ASP.NET Configuration
File
Configure an ASP.NET Web Site for a .NET Framework Version
Use the ASP.NET IIS Registration Tool to Configure ASP.NET
Extend and Customize an ASP.NET Server Control for a Specific Purpose
Use the Ability to Create Groups with the ListView Control for Different Data
Make HTML elements accessible from server side code
Use Roles to Segment Functionality in an ASP.NET Web Site
Work with Nested Master Pages to Create Standard Content Layouts
Detect Browser Capabilities in ASP.NET Web Pages
Map an ASP.NET Server Control to the Adaptor Used to Render It
Pass Information From One Page to Another Using a Query String
Use the aspnet_merge.exe Utility to Merge Assemblies
Implement a Cross Page PostBack in ASP.NET
Add Controls to an ASP.NET Web Page Programmatically
Use a Hidden Field to Store and Manipulate Client-Side Information
Use the Fixednames Option with the Compiler Utility for Maximum Flexibility
Implement Command Buttons for Individual Items
Use Skins with CSS for a Flexible and Maintainable ASP.NET Web Site
Determine Whether to Use a Web Site or a Web Application Project
Write Web Events to a SQL Server Database SqlWebEventProvider
Use ASP.NET to Send Email from a Web Site
Configure Email Notification for Health Monitoring on an ASP.NET Web Site
Use a Visual Studio 2008 Web Deployment Project
Send Templated Emails for Health Monitoring Events in ASP.NET
Send Email Asynchronously with ASP.NET
Embed an Image in an Email with ASP.NET
Implement Error Handling when Sending Email with ASP.NET
Create a Custom Provider for Logging Health Monitoring Events
Create a Reusable Component for Sending Email to a Distribution List
Precompile an ASP.NET Website
Use the FtpWebRequest Class to Create an FTP Connection to a FTP Server
Export Data to a Comma Delimited (CSV) File for an Application Like Excel
Use the Reponse.Filter Property to Replace HTML in an ASP.NET Page
Use OutputCache to Cache an ASP.NET Page
Cache Portions of an ASP.NET Page
Control the Caching of an ASP.NET Page Based Upon Custom Information

https://docs.microsoft.com/en-us/aspnet/web-forms/ 17/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Cache an ASP.NET Page Based Upon Information in the HTTP Header


Synchronize Data in Secondary User Control(s) Based Upon User Selections
Use the ASP.NET Cache Object to Cache Application Information
Persist the State of a User Control During a Postback
Add Client Script Event Handlers Controls on an ASP.NET Page
Understand and Defend Against Script Injection Attacks in ASP.NET
ASP.NET Data Access Technologies, an Intro to LINQ
Create and Use Classes in JavaScript
Create an Efficient and Standardized Approach for Implementing CSS Styles
What is ASP.NET
Choosing the Right Programming Model
Build Your First ASP.NET Application with ASP.NET Web Forms
Build Your First ASP.NET Application with ASP.NET MVC
Best Learn ASP.NET Web Forms
5 Minute Intro to ASP.NET Web Forms
Install ASP.NET and Tools

Tailspin Spyworks
Tailspin Spyworks - Creating and Popular Products Control
Tailspin Spyworks - Implementing and Also Purchased Control
Tailspin Spyworks - Intro UI and EDM
Tailspin Spyworks - Directory Organization
Tailspin Spyworks - Category Menu
Tailspin Spyworks - Display the Product List
Tailspin Spyworks - Display Per Product Details
Tailspin Spyworks - Adding Items to the Shopping Cart
Tailspin Spyworks - Display Shopping Cart
Tailspin Spyworks - Update the Shopping Cart
Tailspin Spyworks - Migrate the Shopping Cart
Tailspin Spyworks - Final Check Out
Tailspin Spyworks - Adding User Product Reviews
Tailspin Spyworks - Displaying User Reviews

Building 3.5 Applications


Intro to Visual Web Developer
IntelliSense
Intro to Web Forms
Page Layout
Page Lifecycle Events
Intro to ASP.NET Controls
Submit and Postback
Application Level Objects

https://docs.microsoft.com/en-us/aspnet/web-forms/ 18/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Session Level Objects


Debugging
CSS
MasterPages
Intro to SOAP Based Web Services with Visual Web Developer 2008
AJAX Style Services with Microsoft Visual Web Developer 2008
Validation
Login Controls

Authentication
Using Basic Forms Authentication in ASP.NET
Change the Forms Authentication Properties
Setup and Use Cookie-less Authentication in an ASP.NET Application
ASP Forms Login Relocation
Forms Login Custom Key Configuration
Add Custom Data to the Authentication Method
Use Custom Principal Objects
Understanding ASP.NET Memberships
Configuring SQL To Work with Membership Schemas
Changing Membership Settings in the Default Membership Schema
Creating User Accounts with the Create User Wizard
Creating User Accounts Programmatically
Validating Users Manually
Validating Users with the Login Control
Adding Users to Your Membership System
Logging Users Into Your Membership System
Implement the Registration Verification Pattern
Simple Web Service Authentication
Creating Inactive Users
SQL Injection Defense

SQL 2005
What is a Database
Understanding Database Tables and Records
More about Column Data Types and Other Properties
Designing Relational Database Tables
Manipulating Database Data
More Structured Query Language
Understanding Security and Network Connectivity
Connecting your Web Application to SQL Server 2005 Express Edition
Using SQL Server Management Studio
Getting Started with Reporting Services

https://docs.microsoft.com/en-us/aspnet/web-forms/ 19/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Building and Customizing Reports in Business Intelligence Development


Studio
Creating and Using Stored Procedures
Enabling Full-Text Search in your Text Data

Visual Studio 2005


Intro to Unit Testing with Team System
Intro to Testing Web Applications with Team System
Intro to Load Testing Web Applications with Team System
Intro to Manual Testing with Team System
Intro to Managing and Running Tests with Team System
Measuring the Business Value of AJAX
Code Coverage of Automated Tests
Custom Extraction Rules and Coded Web Tests
Effects of Caching
Load Test Agent
Effects of ViewState
Integrate Defect Tracking with Testing
Create My Own Bug Work Item
Write Code More Quickly with Unit Tests
Practice Test-Driven Development
Load Test a Web Application
Tune Web Application Performance with Profiling
Set Up Distributed Load Testing for High Volume Tests
Enforce Coding Standards with Code Analysis
Use Generic Tests
Publish and Analyze Test Results
Discover Application Changes Prior to Deployment
Implement Continuous Integration with Team Foundation
Automate Testing using Team Build
Deploy a Web Application during a Team Build
Run Unit Tests against a Deployed Database
Enable Code Coverage and Profiling in Production Applications
Web Deployment Projects
Web Application Projects & Web Deployment Projects

Migrating
[Intro to ASP.NET 2.0:] ASP.NET 2.0 Fundamentals
[Intro to ASP.NET 2.0:] User Interface Elements
[Migrating from] Classic ASP to ASP.NET
Intro to ASP.NET for JSP Developers: Welcome to ASP.NET 2.0
Intro to ASP.NET for JSP Developers: Building Applications

https://docs.microsoft.com/en-us/aspnet/web-forms/ 20/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Intro to ASP.NET for ColdFusion Developers: Adding ASP.NET to Your


Repertoire
Intro to ASP.NET for ColdFusion Developers: Building an ASP.NET
Application
Interop between PHP and the Windows Platform

Building 2.0 Applications


[Lesson 1:] Getting Started with Visual Web Developer Express
[Lesson 2:] Creating a Web Forms User Interface
[Lesson 3:] Understanding More About Events and Postback
[Lesson 4:] Understanding Web Application State
[Lesson 5:] Debugging and Tracing Your Website
[Lesson 6:] Working with Stylesheets and Master Pages
[Lesson 7:] Databinding to User Interface Controls
[Lesson 8:] Working with the GridView and FormView
Watch ASP.NET Development in Action

General IIS Tips


Developing and Deploying In a Shared Hosting
Working with IIS7 Delegated Admin
Feature Specific Delegated Management
Troubleshooting Production ASP.NET Apps
Creating a Site with IIS7 Manager
Installing FTP7
Bit Rate Throttling
IIS7 Playlists

General VS 2010 Tips


Code Optimized Profile
Code Search View Hierarchy
IntelliSense Smart Lists
Multi-Monitor Support
New Web Project Template
New Multi-Targeting
Websites Instead of Web Projects
Snippets IntelliSense

Ajax Control Toolkit


Get Started with the ASP.NET AJAX Control Toolkit
ASP.NET AJAX CascadingDropDown Control Extender
ASP.NET AJAX TextBoxWatermark Control Extender
ASP.NET AJAX Popup Control Extender
ASP.NET AJAX ModalPopup Extender Control
https://docs.microsoft.com/en-us/aspnet/web-forms/ 21/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

ASP.NET AJAX AlwaysVisible Control Extender


ASP.NET AJAX Accordion Control
ASP.NET AJAX Collapsable Panel Extender
ASP.NET AJAX Draggable Panel Extender
ASP.NET AJAX DynamicPopulate Extender
ASP.NET AJAX FilteredTextbox Extender
ASP.NET AJAX HoverMenu Extender
ASP.NET AJAX ToggleButton Extender
ASP.NET AJAX DropShadow Extender
ASP.NET AJAX PasswordStrength Extender
Get Started with the ASP.NET AJAX Animation Extender Control
ASP.NET AJAX ConfirmButton Extender
ASP.NET AJAX Slider Control
ASP.NET AJAX AutoComplete Control
Configure the ASP.NET AJAX Calendar Control
ASP.NET AJAX DropDown Control
ASP.NET AJAX MaskedEdit Controls
ASP.NET AJAX MutuallyExclusive Checkbox Extender
ASP.NET AJAX NoBot Control
ASP.NET AJAX ListSearch Extender
PagingBulletedList Extender Control
NumericUpDown Extender Control
ASP.NET AJAX ValidatorCallout Extender
ASP.NET AJAX ResizableControl Extender
ASP.NET AJAX Tabs Control
ASP.NET AJAX SlideShow Extender
ASP.NET AJAX UpdatePanelAnimation Extender
AJAX Toolkit Reorder Control
Utilize the AJAX Rating Control in the ASP.NET Toolkit
Control Extenders
Color Picker
Combo Box
Editor Control
Editor Control Custom
Create a New Custom Extender

ASP.NET AJAX
Get Started with ASP.NET AJAX
Implement Dynamic Partial-Page Updates with ASP.NET AJAX
Make Client-Side Network Callbacks with ASP.NET AJAX
Add ASP.NET AJAX Features to an Existing Web Application
ASP.NET AJAX Enable an Existing Web Service
https://docs.microsoft.com/en-us/aspnet/web-forms/ 22/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

ASP.NET AJAX Client Library Controls


Use an ASP.NET AJAX ScriptManagerProxy
ASP.NET AJAX RoundedCorners Extender
ASP.NET AJAX Timer Control
Implement the Predictive Fetch Pattern for AJAX
Implement the AJAX Paging Pattern
Implement the AJAX Incremental Page Display Pattern
Implement the Incremental Page Display Pattern using HTTP GET and POST
ASP.NET AJAX UpdateProgress Control
ASP.NET AJAX History Control
Implement the AJAX After Processing Pattern
Update Multiple Regions of a Page with ASP.NET AJAX
Choose Between Methods of AJAX Page Updates
Use Other JavaScript User Interface Libraries with ASP.NET AJAX
Use the ASP.NET AJAX Profile Services
Debug ASP.NET AJAX Applications Using Visual Studio 2005
Build a Custom ASP.NET AJAX Server Control
Use JavaScript to Refresh an ASP.NET AJAX UpdatePanel
Determine Whether an Asynchronous Postback has Occurred
Use the Conditional UpdateMode of the UpdatePanel
Implement the Persistent Communications Pattern with the UpdatePanel
Localize an ASP.NET AJAX Application
Implement the Persistent Communications Pattern using Web Services
Trigger an UpdatePanel Refresh from a DropDownList Control
Create an ASP.NET AJAX Extender from Scratch
Build Custom Server Controls that Work With or Without ASP.NET AJAX
Associate AJAX Client Behavior with an ASP.NET Server Control
Retrieve Values From Server Side AJAX Controls
Two Simple Techniques for Triggering Updates to Update Panels
Use ASP.NET AJAX Cascading Drop Down Control to Access a Database
Implement Infinite Data Patterns in AJAX
Basic ASP.NET Authentication in an AJAX Enabled Application
Dynamically Change CSS ASP.NET AJAX UpdatePanel
Dynamically Add Controls to a Web Page
Set Up Your Development Environment for ASP.NET 3.5
Set Up Your Development Environment for ASP.NET 2.0
Customize Error Handling for the ASP.NET AJAX UpdatePanel
Use ASP.NET AJAX Client Templates

Data Access

ADO.NET Data Services

https://docs.microsoft.com/en-us/aspnet/web-forms/ 23/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Data Access Layers in ASP.NET Applications


Manually Bind a Dataset to a Datagrid
Work with Datasets and Filters from an ASP Application

How Do I with LINQ


LINQ to SQL: Overview
LINQ to SQL: Data Model
LINQ to SQL: Querying the Database
LINQ to SQL: Updating the Database
LINQ to SQL: LinqDataSource
LINQ to SQL: Custom LinqDataSource
LINQ to SQL: Using Stored Procedures
LINQ to SQL: Updating with Stored Procedures
LINQ to SQL: Executing Arbitrary SQL

LINQ Videos from the VB Team


Get Started with LINQ
Perform Group and Aggregate Queries
Upgrade Visual Basic Projects to Enable LINQ
Get Started with LINQ to XML
Enable XML IntelliSense and Use XML Namespaces
Create XML Documents from SQL Data
Create Excel Spreadsheets using LINQ to XML

ASP.NET Dynamic Data


Your First Scaffold and What is Dynamic Data
Enable Inline GridView Editing
Change how my Fields render
Handle Business Logic Exceptions
Make Custom Pages
Display Unknown datatypes
Use a DynamicControl in ListView and DetailsView Controls
Getting Started with Dynamic Data
Begin Editing the Templates in ASP.NET Dynamic Data Applications
Begin Modifying Dynamic Data Applications with URL Routing
Enable In-Line Editing in ASP.NET Dynamic Data Applications
Enable Table Specific Routing in Dynamic Data Applications
Use Attribute Validation in ASP.NET Dynamic Data Applications
Implement Custom Field Validation with Imperative Logic in VB or C#
Remove Columns From Your DynamicData Data Grids
Create Table Specific Custom Forms in an ASP.NET Dynamic Data Application
ASP.NET Dynamic Data Custom Form Formatting

https://docs.microsoft.com/en-us/aspnet/web-forms/ 24/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

ASP.NET 3.5

How Do I
Create a Master Page in Visual Studio 2008
Create Nested Master Page in Visual Studio 2008
Cascading Style Sheets in Visual Studio 2008
Working with Visual Studio 2008 .NET Framework
Adding Elements to a CSS File and Create New CSS on the Fly
Advance Cascading Style Sheet Features and Management
Converting a .NET 2.0 Windows Forms Application to .NET 3.5
Get Started with the Entity Framework
Use the New Entity Data Source
Serialize a Graph with the Entity Framework
Use MSBuild to Automate the ASP.NET Compiler and Merge Utilities

ASP.NET Ajax
ASP.NET AJAX Support in Visual Studio 2008
Adding AJAX Functionality to an Existing ASP.NET Page
Creating and Using an AJAX-enabled Web Service in a Web Site
ASP.NET AJAX: A demonstration of ASP.NET AJAX
ADO.NET Data Services with ASP.NET AJAX Support
Intro to ASP.NET Ajax History
Using Script Combining to improve AJAX performance

Data Controls
ListView Control
DataPager Control

Visual Studio Designer


Visual Studio 2008 and Nested Masterpages

Visual Studio Editor


New Designer Support in Visual Studio 2008
JavaScript Intellisense Support in Visual Studio 2008
JavaScript Debugging in Visual Studio 2008
Multi Targeting Support in Visual Studio 2008
IntelliSense for Jscript and ASP.NET AJAX
Quick Tour of the Visual Studio 2008 Integrated Development
Environment
Creating and Modifying a CSS File

jQuery
Make Ajax Calls Using jQuery

https://docs.microsoft.com/en-us/aspnet/web-forms/ 25/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

.NET 4

Ajax
Imperative JavaScript Syntax for Microsoft Client Side Controls
ScriptLoader
JQuery Syntax for Microsoft Ajax
AJAX Data Templates

Chart
Chart Control
Introducing the New Chart Control in Visual Studio 2010

Core
Auto Start
Clean Web.Config Files
Predictable Client IDs
HtmlEncoder Utility Method

Data
Persistent GridView Row Selection

Markup Control
New Rendering Option for Check Box Lists and Radio Button Lists
Table Free Templated Controls
Tableless Menu Control
Hidden Field Divs
Disabled Control Styling

Performance
Selective View State
Easy State Compression
Use the ViewStateMode Property for Managing ViewState

Routing
Permanent Redirect
Imperative WebForms Routing
Declarative WebForms Routing
Outbound WebForms Routing
Use Routing with ASP.NET Web Forms
Work with URLs in ASP.NET Routing

SEO
Dynamic Metadata

ASP.NET 4.5
https://docs.microsoft.com/en-us/aspnet/web-forms/ 26/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

Strongly Typed Data Controls


Model Binding Part 1 - Selecting Data
Model Binding Part 2 - Filtering
Model Binding Part 3 - Updating
ASP.NET 4.5 Web Forms Model Binding
ASP.NET 4.5 Web Forms Strong Typed Data Controls
Bundling and Minification
Getting Started with the Next Version of ASP.NET
ASP.NET and Web Tools 2012.2

Introduction to ASP.NET Web Forms

Web Forms Video Training from Pluralsight

Is this page helpful?



Yes

No

Recommended content

Create the Project


This tutorial series will teach you the basics of building an ASP.NET Web Forms application
using ASP.NET 4.5 and Microsoft Visual Studio Express 2013 for We...

UI and Navigation
This tutorial series will teach you the basics of building an ASP.NET Web Forms application
using ASP.NET 4.5 and Microsoft Visual Studio Express 2013 for We...

Getting Started with ASP.NET 4.7 Web Forms and Visual Studio 2017
This step-by-step tutorial series will teach you the basics of building an ASP.NET Web Forms
application using ASP.NET 4.7 and Microsoft Visual Studio

Code Editing ASP.NET Web Forms in Visual Studio 2013

Show more S
https://docs.microsoft.com/en-us/aspnet/web-forms/ 27/28
5/10/21 14:53 ASP.NET Web Forms | Microsoft Docs

https://docs.microsoft.com/en-us/aspnet/web-forms/ 28/28

You might also like