Developing ASP.NET 2.0 Web Apps Using C# 2005 The release of Visual Studio 2005 and the .NET Framework 2.0 will make strides in all dimensions of application development. First, Visual Studio 2005 will set a new bar for developer productivity by tailoring the software development experience to the needs of the individual developer. This "personalized productivity" will deliver features across the development environment and .NET Framework class libraries to help developers overcome their most pressing challenges in minimal time. Second, Visual Studio 2005 will enable developers to apply existing skills across a broader range of application development scenarios through improved integration with the Microsoft Office System and SQL Server 2005. Course Outline Chapter 1 - ASP.NET 2.0 Web Applications ASP.NET 2.0 Web Applications Exploring Visual Studio 2005 Launching the Application The Primary Window Solution Explorer Toolbox Window Web Form Properties Window Server Explorer Error List Toolbar New Features in Visual Studio 2005 Common Taskbar Intellisense Everywhere Tag Navigation Create Virtual Directories Open a Site Via FTP & Refactoring Inserting a Table Built-In Test Server & Website Publisher Creating a New Web Application Demo - Using Visual Studio 2005 Demo - Simple UI and Event Procedure Demo - Error List Chapter 1 Review Chapter 2 - Understanding .NET and ASP.NET 2.0 Understanding .NET and ASP.NET 2.0 What is the .NET Framework? What is the CLR Managed Code: Type Safety Managed Code: Garbage Collection Managed Code: Security Managed Code: Languages Neutrality Managed Code: Multi-Language Projects Managed Code: XCopy Deployment Potential Cross-Platform Deployment The Class Library Class Library: Namespaces ASP.NET Overview Demo - View Source Chapter 2 Review Chapter 3 - Object-Oriented Programming VB 2005 Object-Oriented Programming VB 2005 Understanding Classes and Objects Encapsulation and Abstraction Understanding Inheritance Understanding Interfaces Benefits and Downsides to Inheritance Data Structures Generics Partial Classes Demo - Creating and Using a Class Demo - Inheritance Demo - Adding an Interface Demo - Searching an ArrayList Demo - Creating a Type-Specific List Chapter 3 Review Chapter 4 - A Closer Look at Pages and Controls A Closer Look at Pages and Controls The Page The Server Form Server Controls Object Sender & EventArgs Modifying Properties Page_Load and IsPostBack Demo - Using IsPostBack Page Variables and ViewState Demo - Using ViewState Chapter 4 Review Chapter 5 - Managing State in a Web Application Managing State in a Web Application What is a Web Application? Creating New Pages Demo - Copy Page/Rename Problem Invoking a New Page Understanding AutoPostBack Demo - DropDownList?s AutoPostBack Session and Application Variables Session State Alternatives to Using Session State Demo - Application/Session Variables QueryString Demo - Default/Category Pages Cookies Demo - Cookie Storage and Retrieval Global Application Class Chapter 5 Review Chapter 6 - Server Control Sampler Server Control Sampler Common Control Properties Navigation Controls Container Controls Other Cool Controls List Controls Demo - List Controls Demo - Using MultiView to Create Tabs Demo - Using FileUpload Demo - Calendar Control Validation Controls Demo - Validation Controls HTML Controls Demo - HTML Form Conversion Creating Your Own Controls Demo - Creating an Add-Item Listbox Demo - Creating a Die User Control Chapter 6 Review Chapter 7 - Database Access & Update Database Access & Update Data Sources The SqlDataSource Advanced SqlDataSource Properties Data Binding The GridView Specifying Parameters Demo - Categories Database Retrieval Demo - Categories Sorting and Paging Demo - Categories Filtering Data Demo - Linking to a Details Page Demo - Details Insert/Update/Delete The Details View Demo - Master/Detail Page Chapter 7 Review Chapter 8 - Creating Components and Web Services Creating Components and Web Services What is a .NET component? Private & Public Assemblies Demo - Creating a Math Function Library What?s a Web Service? Web Service Applications Creating a Web Service Demo - Creating a Web Service Calling a Web Service Demo - Calling a Web Service Chapter 8 Review Chapter 9 - ASP.NET 2.0 Advanced User Interface ASP.NET 2.0 Advanced User Interface What?s a Theme? Global vs. Local Themes Specifying Themes Creating Themes Demo - Creating Themes and Skins What?s a Master Page? How a Master Page Works Master Page and Content Pages Building the Master Page Building the Content Page Making the Master Connection Important Points Demo - Master Page and Content Page What is a Portal? ASP.NET 2.0 Web Parts Web Parts Server Controls Web Parts Page Setup Example Demo - Simple Web Parts Application Chapter 9 Review Chapter 10 - Caching and Configuration Caching and Configuration What is Caching and Why do it? The Cache Object Procedure for Using the Cache Object Page Caching Demo - The Cache Object Demo - Page Caching The Priority of Configuration Files Basic Structure and Common Elements Options for Configuration Setting Demo - Configuration Chapter 10 Review Chapter 11 - ASP.NET 2.0 Security ASP.NET 2.0 Security .NET Security Approaches Code Based Security ASP.NET Authentication Modes Authorization Login Controls List of Login Controls Chapter 11 Review Chapter 12 - Error Handling Error Handling Error Handling Approaches Structured Exception Handling FileStream Class Example The Catch Section Throwing Your Own Exceptions Exception Handling Best Practices When Not To Use Try/Catch Try/Catch: In General Demo - Exception Handling Coding Error Events Error Event Handling Procedure Custom Error Pages Demo - Custom Error Pages Chapter 12 Review Chapter 13 - Deployment and Tracing Deployment and Tracing Deployment Options Copy Web Tool Demo - Copy Web Tool Publish Web Utility Demo - Publish Web Utility Which Should You Use? Tracing Overview Tracing Methods Tracing Status Trace Output Demo - Tracing Methods Course Closure