Home » Blog » Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013

Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013

원문보기

Introduction

This series of tutorials guides you through the steps required to create an ASP.NET Web Forms application using Visual Studio Express 2013 for Web and ASP.NET 4.5.

The application you’ll create is named Wingtip Toys. It’s a simplified example of a store front web site that sells items online. This tutorial series highlights new features available in ASP.NET 4.5.

Comments are welcome, and we’ll make every effort to update this tutorial series based on your suggestions.

Download completed project

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

Review the content by taking the related ASP.NET Web Forms quiz

After you complete this tutorial, test your knowledge and reinforce key concepts by taking the ASP.NET Web Forms Quiz. This quiz was specifically designed from content contained in this tutorial series. Each question in the quiz provides an explanation along with links to additional guidance.

Audience

The intended audience of this tutorial series is experienced developers who are new to ASP.NET Web Forms. A developer interested in this tutorial series should have the following skills:

  • Familiar with an object oriented programming (OOP) language
  • Familiar with Web development concepts (HTML, CSS, JavaScript)
  • Familiar with relational database concepts
  • Familiar with n-tier architecture concepts

If you are interested in reviewing the areas listed above, consider reviewing the following content:

Application Features

The ASP.NET Web Form features presented in this 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
  • SSL and OAuth
  • ASP.NET Identity, Configuration, and Authorization
  • Unobtrusive Validation
  • Routing
  • ASP.NET Error Handling

Application Scenarios and Tasks

Tasks demonstrated in this 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 SSL and OAuth 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

Overview

If you are new to ASP.NET Web Forms but have familiarity with programming concepts, you have the right tutorial. If you are already familiar with ASP.NET Web Forms, you can benefit from this tutorial series by the new features available in ASP.NET 4.5. If you are unfamiliar with programming concepts and ASP.NET Web Forms, see the additional tutorials provided in the Web Forms Getting Started section on the ASP.NET Web site.

The specific 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 asynchronously, handle transient connection faults, and log SQL statements.

For a complete list of ASP.NET 4.5 features, see ASP.NET and Web Tools for Visual Studio 2013 Release Notes.

The Wingtip Toys Sample Application

The following screen shots provide a quick view of the ASP.NET Web forms application that you will create in this tutorial series. When you run the application from Visual Studio Express 2013 for Web, you will see the following web Home page.