You are previewing Beginning ASP.NET 4.5 in C#.
O'Reilly logo
Beginning ASP.NET 4.5 in C#

Book Description

This book is the most comprehensive and up to date introduction to ASP.NET ever written. Focussing solely on C#, with no code samples duplicated in other languages, award winning author Matthew MacDonald introduces you to the very latest thinking and best practices for the ASP.NET 4.5 technology.

Assuming no prior coding experience, you'll be taught everything you need to know from the ground up. Starting from first principals, you'll learn the skills you need to be an effective ASP.NET developer who is ready to progress to more sophisticated projects and professional work.

You'll be taught how to use object orientation and code-behind techniques to lay out your code clearly in a way other developers can easily understand. You'll learn how to query databases from within you web pages, spice up your layouts using ASP.NET AJAX and deploy your finished websites to production servers. You'll also learn how to debug your code when things go wrong and the performance and scalability issues that can affect your web projects as they grow.

With you book you can take your first step towards becoming a successful ASP.NET developer with confidence.

What you'll learn

Learn everything you need to know to build ASP.NET 4.5 applications with confidence.

Dive into the deepest, broadest, introductory ASP.NET coverage available.

Be guided by an award winning author who will steadily progress your knowledge from first principles to advanced techniques over the course of the book.

Who this book is for

This book is ideal for anyone new to .NET development who wants to learn how ASP.NET 4.5 works. No prior programming knowledge is assumed and all concepts are explained from first principals.

Table of Contents

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewers
  7. Acknowledgments
  8. Introduction
  9. Part 1: Introducing .NET
    1. Chapter 1: The Big Picture
      1. The Evolution of Web Development
      2. The .NET Framework
      3. The Last Word
    2. Chapter 2: The C# Language
      1. The .NET Languages
      2. C# Language Basics
      3. Variables and Data Types
      4. Variable Operations
      5. Object-Based Manipulation
      6. Conditional Logic
      7. Loops
      8. Methods
      9. The Last Word
    3. Chapter 3: Types, Objects, and Namespaces
      1. The Basics About Classes
      2. Building a Basic Class
      3. Value Types and Reference Types
      4. Understanding Namespaces and Assemblies
      5. Advanced Class Programming
      6. The Last Word
  10. Part 2: Developing ASP.NET Applications
    1. Chapter 4: Visual Studio
      1. The Promise of Visual Studio
      2. Creating Websites
      3. Designing a Web Page
      4. Exploring the Anatomy of a Web Form
      5. Writing Code
      6. Debugging
      7. The Last Word
    2. Chapter 5: Web Form Fundamentals
      1. Understanding the Anatomy of an ASP.NET Application
      2. Introducing Server Controls
      3. Improving the Currency Converter
      4. Taking a Deeper Look at HTML Control Classes
      5. Using the Page Class
      6. Using Application Events
      7. Configuring an ASP.NET Application
      8. The Last Word
    3. Chapter 6: Web Controls
      1. Stepping Up to Web Controls
      2. Web Control Classes
      3. List Controls
      4. Table Controls
      5. Web Control Events and AutoPostBack
      6. An Interactive Web Page
      7. The Last Word
    4. Chapter 7: Error Handling, Logging, and Tracing
      1. Avoiding Common Errors
      2. Understanding Exception Handling
      3. Handling Exceptions
      4. Throwing Your Own Exceptions
      5. Using Page Tracing
      6. The Last Word
    5. Chapter 8: State Management
      1. Understanding the Problem of State
      2. Using View State
      3. Transferring Information Between Pages
      4. Using Cookies
      5. Managing Session State
      6. Configuring Session State
      7. Using Application State
      8. Comparing State Management Options
      9. The Last Word
  11. Part 3: Building Better Web Forms
    1. Chapter 9: Validation
      1. Understanding Validation
      2. Using the Validation Controls
      3. The Last Word
    2. Chapter 10: Rich Controls
      1. The Calendar
      2. The AdRotator
      3. Pages with Multiple Views
      4. The Last Word
    3. Chapter 11: User Controls and Graphics
      1. User Controls
      2. Dynamic Graphics
      3. The Chart Control
      4. The Last Word
    4. Chapter 12: Styles, Themes, and Master Pages
      1. Styles
      2. Themes
      3. Master Page Basics
      4. Advanced Master Pages
      5. The Last Word
    5. Chapter 13: Website Navigation
      1. Site Maps
      2. URL Mapping and Routing
      3. The SiteMapPath Control
      4. The TreeView Control
      5. The Menu Control
      6. The Last Word
  12. Part 4: Working with Data
    1. Chapter 14: ADO.NET Fundamentals
      1. Understanding Databases
      2. Configuring Your Database
      3. Understanding SQL Basics
      4. Understanding the Data Provider Model
      5. Using Direct Data Access
      6. Using Disconnected Data Access
      7. The Last Word
    2. Chapter 15: Data Binding
      1. Introducing Data Binding
      2. Using Single-Value Data Binding
      3. Using Repeated-Value Data Binding
      4. Working with Data Source Controls
      5. The Last Word
    3. Chapter 16: The Data Controls
      1. The GridView
      2. Formatting the GridView
      3. Selecting a GridView Row
      4. Editing with the GridView
      5. Sorting and Paging the GridView
      6. Using GridView Templates
      7. The DetailsView and FormView
      8. The Last Word
    4. Chapter 17: Files and Streams
      1. Files and Web Applications
      2. File System Information
      3. Reading and Writing with Streams
      4. Allowing File Uploads
      5. The Last Word
    5. Chapter 18: XML
      1. XML Explained
      2. The XML Classes
      3. XML Validation
      4. XML Display and Transforms
      5. The Last Word
  13. Part 5: Website Security
    1. Chapter 19: Security Fundamentals
      1. Understanding Security Requirements
      2. Authentication and Authorization
      3. Forms Authentication
      4. Windows Authentication
      5. The Last Word
    2. Chapter 20: Membership
      1. The Membership Data Store
      2. The Security Controls
      3. Role-Based Security
      4. The Last Word
    3. Chapter 21: Profiles
      1. Understanding Profiles
      2. Using the SqlProfileProvider
      3. The Last Word
  14. Part 6: Advanced ASP.NET
    1. Chapter 22: Component-Based Programming
      1. Why Use Components?
      2. Component Jargon
      3. Creating a Component
      4. Properties and State
      5. Data-Access Components
      6. The ObjectDataSource
      7. The Last Word
    2. Chapter 23: Caching
      1. Understanding Caching
      2. Output Caching
      3. Data Caching
      4. Caching with Dependencies
      5. The Last Word
    3. Chapter 24: LINQ and the Entity Framework
      1. Understanding LINQ
      2. LINQ Basics
      3. Using the Entity Framework
      4. Getting More Advanced with the Entity Framework
      5. Using the EntityDataSource
      6. The Last Word
    4. Chapter 25: ASP.NET AJAX
      1. Understanding Ajax
      2. Using Partial Refreshes
      3. Using Progress Notification
      4. Implementing Timed Refreshes
      5. Working with the ASP.NET AJAX Control Toolkit
      6. The Last Word
    5. Chapter 26: Deploying ASP.NET Applications
      1. ASP.NET Applications and the Web Server
      2. Internet Information Services (IIS)
      3. Managing Websites with IIS Manager
      4. Deploying a Simple Site
      5. Deploying with Visual Studio
      6. The Last Word
  15. Index