UPDATE – Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013 Tutorial Series

Visual Studio 2013 has been released with the latest update of .NET. We've updated and published our end to end tutorial series consisting of 10 tutorials on the ASP.NET web site:
Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013

This tutorial series guides you through the process of creating a complete web application. Each tutorial builds on the previous tutorial. When you’re finished, you’ll be familiar with common ASP.NET concepts, as well as many of the features available in ASP.NET 4.5.



The latest ASP.NET 4.5 features provided in this Web Forms tutorial series include the following:

  • A simple UI for creating projects that offer support for multiple ASP.NET frameworks (Web Forms, MVC, and Web API).
  • Bootstrap, a layout and theming framework that provides responsive design and theming capabilities.
  • ASP.NET Identity, a new ASP.NET membership system that works the same in all ASP.NET frameworks and works with web hosting software other than IIS.
  • Entity Framework 6, an update to the Entity Framework which allows you retrieve and manipulate data as strongly typed objects, access data asynchronous, handle transient connection faults, and log SQL statements.

Download the completed project

You can download a C# project that contains the completed tutorial.

Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013 - Wingtip Toys (C#)

Take the ASP.NET Web Forms Quiz

You can review key areas of this tutorial by taking the ASP.NET Web Forms quiz.

ASP.NET Web Forms Quiz

ASP.NET Web Form Quiz


Application Features

Features explained in this tutorial series include:

  • The Web Application Project (not Web Site Project)
  • Web Forms
  • Master Pages, Configuration
  • Bootstrap
  • Entity Framework Code First, LocalDB
  • Request Validation
  • Strongly Typed Data Controls, Model Binding, Data Annotations, and Value Providers
  • OAuth and OpenID
  • ASP.NET Identity, Configuration, and Authorization
  • Unobtrusive Validation
  • Routing
  • ASP.NET Error Handling

Application Scenarios and Tasks

Tasks demonstrated in this tutorial series include:

  • Creating, reviewing and running the new project
  • Creating the database structure
  • Initializing and seeding the database
  • Customizing the UI using styles, graphics and a master page
  • Adding pages and navigation
  • Displaying menu details and product data
  • Creating a shopping cart
  • Adding OpenID support
  • Adding a payment method
  • Including an administrator role and a user to the application
  • Restricting access to specific pages and folder
  • Uploading a file to the web application
  • Implementing input validation
  • Registering routes for the web application
  • Implementing error handling and error logging

Tutorial Series Table of Contents

  • Introduction and Overview
    • Introduction
    • Overview
    • The Wingtip Toys Sample Application
    • Prerequisites
    • Download the Sample Application
    • Tutorial Support and Comments
  • Create the Project
    • What you'll learn
    • Creating the Project
    • ASP.NET Web Forms Background
    • Summary
    • Additional Resources
  • Create the Data Access Layer
    • What you'll learn
    • Creating the Data Models
    • Building the Application
    • Summary
    • Additional Resources
  • UI and Navigation
    • What you'll learn
    • Modifying the UI
    • Summary
    • Additional Resources
  • Display Data Items and Details
    • What you'll learn
    • Adding a Data Control to Display Products
    • Displaying Products
    • Summary
    • Additional Resources
  • Shopping Cart
    • What you'll learn
    • Code features in this tutorial:
    • Creating a Shopping Cart
    • Testing the Completed Shopping Cart
    • Summary
    • Addition Information
  • Checkout and Payment with PayPal
    • What you'll learn
    • Adding Order Tracking
    • Adding Checkout Access
    • Enabling Logins from Other Sites Using OAuth and OpenID
    • Migrating the Shopping Cart
    • Integrating PayPal
    • Running the Application
    • Reviewing the Database
    • Summary
    • Additional Resources
    • Disclaimer
  • Membership and Administration
    • What you'll learn
    • These features are included in the tutorial:
    • Adding an Administrator
    • Running the Application
    • Summary
    • Additional Resources
  • URL Routing
    • What you'll learn
    • ASP.NET Routing Overview
    • Retrieving and Using Route Data
    • Running the Application
    • Summary
    • Additional Resources
  • ASP.NET Error Handling
    • What you'll learn
    • Overview
    • Adding Error Logging Support
    • Using ELMAH
    • Summary
    • Conclusion
    • Additional Resources
    • Acknowledgements
    • Community Contributions

Feedback is welcome. You can post comments, questions, or feedback with the tutorial series, with the code sample, or right here!

-- Erik Reitan
Web Platform and Tools Developer Content
This posting is provided "AS IS" with no warranties, and confers no rights.