ASP.NET 4.5 Web Forms Tutorial Series Published – 10 Tutorials


ASP.NET 4.5 has been released! We’ve updated and published our end to end tutorial series now consisting of 10 tutorials on the ASP.NET web site: Getting Started with ASP.NET 4.5 Web Forms.

This tutorial series adds 5 additional tutorials to the original beta tutorial series to guide 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 new features available in ASP.NET 4.5, including effective use of the new model binding features.

In addition, you’ll learn about, Entity Framework Code First, unobtrusive validation, the Anti-XSS library, HTML5, data annotations, Local DB, value providers, PayPal integration, ASP.NET Membership, URL routing, and more.

Here’s an outline of the tutorial series:

  • Introduction and Overview
    • Introduction
    • Audience
    • Application Features
    • Application Scenarios and Tasks
    • Overview
    • Prerequisites
    • Download the Sample Application
    • Tutorial Support and Comments
  • Create the Project
    • Creating the Project
    • Reviewing the Project
    • Running the Default Web Application
    • ASP.NET Web Forms Background
    • Web Application Features in the Web Forms Application Template
    • Touring Visual Studio
    • Summary
    • Additional Resources
  • Create the Data Access Layer
    • Creating the Data Models
    • Configuring the Application to Use the Data Model
    • Building the Application
    • Summary
    • Additional Resources
  • UI and Navigation
    • Modifying the UI
    • Updating the Master Page
    • Adding Image Files
    • Adding Pages
    • Updating the StyleSheet
    • Modifying the Default Navigation
    • Adding a Data Control to Display Navigation Data
    • Linking the Data Control to the Database
    • Running the Application and Creating the Database
    • Reviewing the Database
    • Summary
    • Additional Resources
  • Display Data Items and Details
    • Adding a Data Control to Display Products
    • Displaying Products
    • Adding Code to Display Products
    • Running the Application
    • Adding a Data Control to Display Product Details
    • Running the Application
    • Summary
  • Shopping Cart
    • Creating a Shopping Cart
    • Managing the Shopping Cart Business Logic
    • Creating the Shopping Cart Class
    • Creating the Add-To-Cart Functionality
    • Creating the Shopping Cart UI
    • Retrieving the Shopping Cart Items
    • Adding Products to the Shopping Cart
    • Testing the Shopping Cart
    • Calculating and Displaying the Order Total
    • Modify the Shopping Cart Display
    • Testing the Shopping Cart Total
    • Adding Update and Checkout Buttons to the Shopping Cart
    • Updating and Removing Shopping Cart Items
    • Adding a Shopping Cart Counter
    • Testing the Completed Shopping Cart
    • Summary
    • Addition Information
  • Checkout and Payment with PayPal
    • Adding Order Tracking
    • Adding Checkout Access
    • Enabling Logins from Other Sites Using OAuth and OpenID
    • Modifying Login Functionality
    • Migrating the Shopping Cart
    • Updating the Database Connection
    • Integrating PayPal
    • Running the Application
    • Reviewing the Database
    • Summary
    • Disclaimer
  • Membership and Administration
    • Adding an Administrator
    • Restricting Access to the Administration Page
    • Including Administrator Navigation
    • Enabling Product Administration
    • Running the Application
    • Summary
    • Additional Resources
  • URL Routing
    • ASP.NET Routing Overview
    • Mapping and Registering Routes
    • Retrieving and Using Route Data
    • Running the Application
    • Summary
  • ASP.NET Error Handling
    • Overview
    • Adding Error Logging Support
    • Adding an Error Page
    • Displaying Unhandled Error Messages for the Application
    • Including an Exception for Testing Purposes
    • Adding Application-Level Error Handling
    • Adding Page-Level Error Handling
    • Removing the Exception Used for Testing
    • Adding Code-Level Error Logging
    • Inspecting the Error Logging Information
    • Safe Error Messages
    • Using ELMAH
    • Viewing the ELMAH Log
    • Summary
    • Conclusion
    • Additional Resources
    • Acknowledgements

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 nwarranties, and confers nrights.

Comments (13)

  1. teoman says:

    thanks for great series.. looking forward for it!

  2. rickj1 says:

    I did your beta tutorials they where very good glad to see you added to the set

    great new features life just got better

    thanks for all the great work and new opportunities

  3. ErikReitan says:

    I'm glad you like these tutorials. It is great to be able to showcase the new ASP.NET 4.5 features!

  4. SnKhan says:

    Mr, Erik I'm new in ASP.NET so What do you think if I start development web applications with Framework 4.5?

  5. ErikReitan says:

    Hi SnKhan,

    Yes, even if you are new to ASP.NET, you can start with ASP.NET 4.5 to develop web applications. ASP.NET has increased the capabilities it offers with each new release. You could start with Wingtip Toys tutorial series (mentioned in this post), or you could read the following topics if you are new to web development.

    If you are new to web development, start with HTML. Here is a good tutorial on HTML:

    HTML Tutorial

    http://www.w3schools.com/…/default.asp

    Next, I recommend that you take a look at the following ASP.NET overviews and walkthroughs contained in this topic:

    ASP.NET Web Pages

    msdn.microsoft.com/…/fddycb06(VS.100).aspx

    There are a number of great walkthroughs to be aware of on MSDN. Here is a good list. A few of these walkthroughs are included in the above topic:

    ASP.NET Walkthroughs by Scenario

    msdn.microsoft.com/…/bb515247(VS.100).aspx

    Once you have a good understanding of coding related to the web, read through the Wingtip Toys tutorial series. I hope this helps!

    Erik

  6. jason palmer says:

    Thanks for this, I have to build rad apps so webforms best for me, if we get funding from the pitch we can use juice and devexpress where we got problems but webforms is still the best for me, mvc is cool but strange to an ex windows guy.

  7. Shankar says:

    Erik,

    Thanks for the tutorial ..I would rate it as one of best and covers end to end solution for shopping web site .

    Good job !!!

  8. ali says:

    cool, looking forward for it,

  9. Gerardo Santiago says:

    Hola estoy siguiendo de manuales de asp.net de Web Forms, me pregunto si tienes algunos más, para seguir estudiando.

    Saludos

  10. ErikReitan says:

    Hi Gerardo,

    Please take a look at ASP.NET Data Access Content Map (http://www.asp.net/…/aspnet-data-access-content-map). Thanks

    Erik

  11. how can i access the tutorial?

  12. Foz says:

    Thanks for the tutorial guide really helped me to understand more about ecommerce site with asp.net.

    Also i have question is there a way to view the orders i.e. seeing customers what they brought like product name, total cost, quantity etc. After they have paid through paypal?

    All i see is customers buys an item and stores it to shopping cart and he then pays for it through paypal but then you cant view customers full orders e.g. you can only see shipping address and product orders of quanity and total price but i cant see no item / Product names. A seller wont know what customer has brought any tips you can give to me on what i can do?

  13. ErikReitan says:

    Hi Foz,

    You could use data from the Order table and the OrderDetail table. You can match the two tables based on the OrderId, which both tables contain. If one of these tables doesn't contain all the details that you need, you could add additional fields to track more details for an order, maybe something like expressDelivery.

    The Order table contains:

    OrderId

    OrderDate

    Username

    FirstName

    LastName

    Address

    City

    State

    PostalCode

    Country

    Phone

    Email

    Total

    PaymentTransactionId

    HasBeenShipped

    The OrderDetail table contains:

    OrderDetailId

    OrderId

    Username

    ProductId

    Quantity

    UnitPrice

    – Erik