Beginning ASP.NET 4.5: in C# and VB

Book description

The ultimate programming guide to ASP.NET 4.5, by popular author and Microsoft MVP Imar Spaanjaars

Updated for ASP.NET 4.5, this introductory book is filled with helpful examples and contains a user-friendly, step-by-step format. Written by popular author and Microsoft ASP.NET MVP Imar Spaanjaars, this book walks you through ASP.NET, Microsoft's technology for building dynamically generated web pages. This edition retains the highly accessible approach to building the Planet Wrox website example, an online community site featuring product reviews, picture sharing, bonus content for registered users, and more.

  • Contains the comprehensive guide to the latest technology additions to ASP.NET 4.5

  • Shows how to build basic ASP.NET web pages and configure their server

  • Includes information on how to add features with pre-built server controls

  • Reveals how to design pages and make them consistent

  • Contains the information needed for getting user input and displaying data

Beginning ASP.NET 4.5 in C# and VB uses Spaanjaars's distinct writing style to put you at ease with learning ASP.NET 4.5.

Table of contents

  1. Cover
  2. Chapter 1: Getting Started with ASP.NET 4.5
    1. Microsoft Visual Studio Express for Web
    2. Creating Your First ASP.NET 4.5 Website
    3. An Introduction to ASP.NET 4.5
    4. A Tour of the IDE
    5. Customizing the IDE
    6. The Sample Application
    7. Practical Tips on Visual Studio
    8. Summary
  3. Chapter 2: Building an ASP.NET Website
    1. Creating Websites with Visual Studio 2012
    2. Working with Files in Your Website
    3. Working with Web Forms
    4. Practical Tips on Working with Web Forms
    5. Summary
  4. Chapter 3: Designing Your Web Pages
    1. Why Do You Need CSS?
    2. An Introduction to CSS
    3. Working with CSS in Visual Studio
    4. Practical Tips on Working with CSS
    5. Summary
  5. Chapter 4: Working with ASP.NET Server Controls
    1. Introduction to Server Controls
    2. A Closer Look at ASP.NET Server Controls
    3. Types of Controls
    4. The ASP.NET State Engine
    5. Practical Tips on Working with Controls
    6. Summary
  6. Chapter 5: Programming Your ASP.NET Web Pages
    1. Introduction to Programming
    2. Data Types and Variables
    3. Statements
    4. Organizing Code
    5. Object Orientation Basics
    6. Practical Tips on Programming
    7. Summary
  7. Chapter 6: Creating Consistent Looking Websites
    1. Consistent Page Layout with Master Pages
    2. Using a Centralized Base Page
    3. Themes
    4. Skins
    5. Practical Tips on Creating Consistent Pages
    6. Summary
  8. Chapter 7: Navigation
    1. Different Ways to Move Around Your Site
    2. Using the Navigation Controls
    3. Programmatic Redirection
    4. Practical Tips on Navigation
    5. Summary
  9. Chapter 8: User Controls
    1. Introduction to User Controls
    2. Adding Logic to Your User Controls
    3. Practical Tips on User Controls
    4. Summary
  10. Chapter 9: Validating User Input
    1. Gathering Data from the User
    2. Processing Data at the Server
    3. Practical Tips on Validating Data
    4. Summary
  11. Chapter 10: ASP.NET AJAX
    1. Introducing Ajax
    2. Using ASP.NET AJAX in Your Projects
    3. Using Web Services and Page Methods in Ajax Websites
    4. Practical Ajax Tips
    5. Summary
  12. Chapter 11: jQuery
    1. An Introduction to jQuery
    2. jQuery Syntax
    3. Modifying the DOM with jQuery
    4. Effects with jQuery
    5. jQuery and Validation
    6. Practical Tips on jQuery
    7. Summary
  13. Chapter 12: Introducing Databases
    1. What Is a Database?
    2. Different Kinds of Relational Databases
    3. Using SQL to Work with Database Data
    4. Retrieving and Manipulating Data with SQL
    5. Creating Your Own Tables
    6. Practical Database Tips
    7. Summary
  14. Chapter 13: Displaying and Updating Data
    1. Data Controls
    2. Data Source and Data-Bound Controls Working Together
    3. Customizing the Appearance of the Data Controls
    4. Updating and Inserting Data
    5. Practical Tips for Displaying and Updating Data
    6. Summary
  15. Chapter 14: LINQ and the ADO.NET Entity Framework
    1. Introducing LINQ
    2. Introducing the ADO.NET Entity Framework
    3. Mapping Your Data Model to an Object Model
    4. Introducing Query Syntax
    5. Using Server Controls with LINQ Queries
    6. Practical LINQ and ADO.NET Entity Framework Tips
    7. Summary
  16. Chapter 15: Working with Data—Advanced Topics
    1. Wrox.com Code Downloads for this Chapter
    2. Formatting Your Controls Using Styles
    3. Handling Events
    4. Hand-Coding Data Access Code
    5. Caching
    6. Practical Data Tips
    7. Summary
  17. Chapter 16: Security in Your ASP.NET 4.5 Website
    1. Wrox.com Code Downloads for this Chapter
    2. Introducing Security
    3. Introducing the Login Controls
    4. The Role Manager
    5. Practical Security Tips
    6. Summary
  18. Chapter 17: Personalizing Websites
    1. Wrox.com Code Downloads for this Chapter
    2. Understanding Profile
    3. Other Ways of Dealing with Profile
    4. Practical Personalization Tips
    5. Summary
  19. Chapter 18: Exception Handling, Debugging, and Tracing
    1. Wrox.com Code Downloads for this Chapter
    2. Exception Handling
    3. The Basics of Debugging
    4. Tools Support for Debugging
    5. Debugging Client-Side Script
    6. Debugging with the Page Inspector
    7. Tracing Your ASP.NET Web Pages
    8. Practical Debugging Tips
    9. Summary
  20. Chapter 19: Deploying Your Website
    1. Wrox.com Code Downloads for this Chapter
    2. Preparing Your Website for Deployment
    3. Introducing Bundling and Minification
    4. Copying Your Website
    5. Running Your Site Under IIS
    6. Moving Data to a Remote Server
    7. The Deployment Checklist
    8. What's Next
    9. Summary
  21. Appendix A: Exercise Answers
    1. Chapter 1
    2. Chapter 2
    3. Chapter 3
    4. Chapter 4
    5. Chapter 5
    6. Chapter 6
    7. Chapter 7
    8. Chapter 8
    9. Chapter 9
    10. Chapter 10
    11. Chapter 11
    12. Chapter 12
    13. Chapter 13
    14. Chapter 14
    15. Chapter 15
    16. Chapter 16
    17. Chapter 17
    18. Chapter 18
  22. Appendix B: Configuring SQL Server 2012
    1. Configuring SQL Server 2012
    2. Configuring Application Services
  23. Foreword
  24. Introduction
    1. Who This Book Is For
    2. What This Book Covers
    3. How This Book Is Structured
    4. What You Need to Use This Book
    5. Conventions
    6. Source Code
    7. Errata
    8. p2p.wrox.com
  25. Advertisement

Product information

  • Title: Beginning ASP.NET 4.5: in C# and VB
  • Author(s): Imar Spaanjaars
  • Release date: November 2012
  • Publisher(s): Wrox
  • ISBN: 9781118332023