"
 
 
 
ASP.NET (snapshot 2017) Microsoft documentation and samples

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

by Erik Reitan

Download Wingtip Toys Sample Project (C#) or Download E-book (PDF)

This step-by-step tutorial series will teach you the basics of building an ASP.NET Web Forms application using ASP.NET 4.5 and Microsoft Visual Studio Express 2013 for Web. ASP.NET Web Forms Quiz
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.

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.

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:

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:

Application Scenarios and Tasks

Tasks demonstrated in this series include:

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:

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.

Wingtip Toys - Default page
Wingtip Toys - Default page

You can register as a new user, or log in as an existing user. Navigation is provided at the top for each product category by retrieving the available products from the database.

By selecting the Products link, you will be able to see a list of all available products.

Wingtip Toys - Products
Wingtip Toys - Products

You can also see individual product details by selecting any of the listed products.

Wingtip Toys - Product Details
Wingtip Toys - Product Details

As a user, you can register and log in using the default functionality of the Web Forms template. This tutorial also explains how to login using an existing Gmail account. Additionally, you can login as the administrator to add and remove products from the database.

Wingtip Toys - Log in
Wingtip Toys - Log in

Once you have logged in as a user, you can add products to the shopping cart and checkout with PayPal. Note that this sample application is designed to function with PayPal’s developer sandbox. No actual money transaction will take place.

Wingtip Toys - Shopping Cart
Wingtip Toys - Shopping Cart

PayPal will confirm your account, order, and payment information.

Wingtip Toys - PayPal
Wingtip Toys - PayPal

After returning from PayPal, you can review and complete your order.

Wingtip Toys - Order Review
Wingtip Toys - Order Review

Prerequisites

Before you start, make sure that you have the following software installed on your computer:

This tutorial series uses Microsoft Visual Studio Express 2013 for Web. You can use either Microsoft Visual Studio Express 2013 for Web or Microsoft Visual Studio 2013 to complete this tutorial series.

[!NOTE]

Microsoft Visual Studio 2013 and Microsoft Visual Studio Express 2013 for Web will often be referred to as Visual Studio throughout this tutorial series.

If you already have a Visual Studio version installed, the installation process will install Visual Studio 2013 or Microsoft Visual Studio Express 2013 for Web next to the existing version. Sites that you created in earlier versions can be opened in Visual Studio 2013 and continue to open in previous versions.

[!NOTE]

This walkthrough assumes that you selected the Web Development collection of settings the first time that you started Visual Studio. For more information, see How to: Select Web Development Environment Settings.

Download the Sample Application

After installing the prerequisites, you are ready to begin creating the new Web project that is presented in this tutorial series. If you would like to optionally run the sample application that this tutorial series creates, you can download it from the MSDN Samples site. This download contains the following:

Download the file from MSDN Samples site:

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

The download is a .zip file. To see the completed project that this tutorial series creates, find and select the C#folder in the .zip file. Save the C# folderto the folder you use to work with Visual Studio 2013 projects. By default, the Visual Studio 2013 projects folder is the following:

C:*<username>**Studio 2013

Rename the C# folder to WingtipToys.

[!NOTE] If you already have a folder named WingtipToys in your Projects folder, temporarily rename that existing folder before renaming the C# folder to WingtipToys.

To run the completed project, open the WingtipToys folder and double-click the WingtipToys.sln file. Visual Studio 2013 will open the project. Next, right-click the Default.aspx file in the Solution Explorer window and click View In Browser from the right-click menu.

Tutorial Support and Comments

Use the Q AND A section included with the Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013 - Wingtip Toys (C#) sample for any questions or comments.

Comments on this tutorial series are welcome, and when this tutorial series is updated every effort will be made to take into account corrections or suggestions for improvements that are provided in the tutorial comments.

When an error happens during development, or if the Web site does not run correctly, the error messages may give complex clues to the source of the problem or might not explain how to fix it. To help you with some common problem scenarios, you can also use the ASP.NET forums or the Q AND A section included with the Getting Started with ASP.NET 4.5 Web Forms and Visual Studio 2013 - Wingtip Toys (C#) sample. If you get an error message or something doesn’t work as you go through the tutorials, be sure to check the above locations.

Next





Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23
Link to this page: //www.vb-net.com/AspNet-DocAndSamples-2017/aspnet/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/introduction-and-overview.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>