ASP.NET 3.5 Working With Data

Learn how to work with data on the Windows platform using ASP.NET.
Course info
Rating
(204)
Level
Intermediate
Updated
Dec 4, 2008
Duration
7h 41m
Table of contents
Data Binding I
Data Binding II
State Management
Validation
ASP.NET Validation Controls
Caching
Resources and Internationalization
Description
Course info
Rating
(204)
Level
Intermediate
Updated
Dec 4, 2008
Duration
7h 41m
Description

ASP.NET has established itself as one of the most productive environments for building web applications and more developers are switching over every day. The 2.0 release of ASP.NET builds on the same componentry of 1.1, improving productivity of developers even further by providing standard implementations of common Web application features like membership, persistent user profile, and Web parts, among others. The 3.5 release adds several new controls including the flexible ListView and the LinqDataSource, as well as integrated suport for ASP.NET Ajax. This course will cover the data access, caching, and state management features of ASP.NET.

About the author
About the author

Fritz is a co-founder of Pluralsight where he serves as the Content Advisor. Fritz is the author of the books 'Essential ASP.NET' and 'Essential ASP.NET 2.0' published by Addison Wesley.

More from the author
Introduction to ASP.NET 4 WebForms
Beginner
8h 41m
Apr 11, 2011
ASP.NET 4.0 New Features
Intermediate
2h 27m
Nov 23, 2010
More courses by Fritz Onion
About the author

Keith is a co-founder of Pluralsight, serving as CTO through 2014, where he helped build the initial content delivery system for Pluralsight, then focused on hiring an awesome team of developers in Utah to take it to the next level.

More from the author
Sample course
Beginner
0m
Oct 26, 2010
Design Patterns Library
Intermediate
15h 38m
Sep 10, 2010
Implementing Undo in ASP.NET WebForms and MVC
Intermediate
1h 19m
Aug 27, 2010
More courses by Keith Sparkjoy
Section Introduction Transcripts
Section Introduction Transcripts

Data Binding I
This is Fritz Onion with Pluralsight and we'll be looking at data binding in ASP. NET here. There is a follow-up module to this one called Data Binding 2, which will present some more advanced topics in data binding and I encourage you to check that out as well. In this module, we're going to be looking at the process of data binding. What are the mechanics involved with actually taking a data source and binding it to a control? We'll talk about how to do this imperatively, so you can write code to actually do the binding and what controls are available to bind to. We'll talk about binding at the page level. It's possible to actually bind once at the page level and have that bind propagate to a collection of controls on your page if you like. We'll talk about the issue of binding rectangular data sources to single-dimensional controls like a list box or dropdown list and how you can control the mappings. And then we'll take a look at declarative data sources. So this takes away some of the effort of actually going out to a data source and then retrieving it and populating a control in the form of a server-side control. So there are these DataSource controls we're going to be looking at and the one we'll focus on primarily in this module is the SqlDataSource, which is an encapsulation of a SQL query against the backend database. We'll talk about where to store your connection strings, we'll look at the GridView and the DetailsView for creating grid presentations and master detail relationships, and we'll finish up with a look at data binding templates, which is the general mechanism for customizing the appearance of data bound controls and specifically we're going to look at the Repeater, one of the most generic template-based controls, as well as the DataList.

Validation
This is Fritz Onion from Pluralsight, and in this module we're going to be taking a look at validation in ASP. NET. Specifically, we're going to talk about validation in general in web applications, looking at both client-side validation using JavaScript and server-side validation. Then we'll take a look at the validation architecture that ASP. NET provides for us and how to use the basics, so adding validation to a form, how it adds client-side validation to your application, and how it enforces server-side validation as well. And then we'll spend some time looking at each of the various validation controls that are available, talk about when and where you might want to apply them and some of the restrictions that are involved with them, and we'll also take a look at doing custom validation if none of the existing controls meets your needs. And we'll finish up with a look at validation groups, which is a way of conditionally enforcing subsets of your validation controls depending on which button actually initiated the postback for the page.