Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ASP.NET Core MVC - Build an E-Commerce Web Application 2026
Rating: 4.7 out of 5(239 ratings)
1,357 students

ASP.NET Core MVC - Build an E-Commerce Web Application 2026

Build clean web application using ASP.NET Core MVC, Entity Framework Core, Identity, SQL Server and Visual Studio 2022.
Created byCoding Courses
Last updated 3/2026
English
English [Auto],

What you'll learn

  • Learn How to Build Web Applications using ASP .NET Core MVC
  • Understand the Architecture and the Features of ASP .NET Core MVC
  • Learn How to Install and Use Entity Framework to Access SQL Server Databases
  • Create, Read, Update and Delete Data from SQL Server Database using Entity Framework
  • Implement Pagination, Search and Sort Functionalities using Entity Framework
  • Undestand the MVC Pattern and How to Create Models, Views and Controllers
  • Learn Different Techniques to Pass Data from the Controller to the View
  • Implement User Registration, Authentication and Role-based Authorization using Identity
  • Edit the User Profile and Password, and Request Password Reset Tokens by Email
  • Create and Store the Shopping Cart and Orders

Course content

6 sections82 lectures8h 55m total length
  • Project Structure6:52

    Learn to build an ASP.NET Core MVC project, explore controllers, views, models, and a shared layout, configure appsettings and program.cs, and understand routing and middleware in a default home/index setup.

  • Actions Views and Controllers5:33

    Create actions, views, and controllers in an ASP.NET Core MVC app; build about and details pages and connect them via the home controller and navbar, and add an articles index.

  • Razor Syntax7:12

    Learn Razor syntax for embedding C# in Razor pages, declaring variables, and rendering values in HTML with Razor expressions; explore sections, HTML blocks, and safe string concatenation.

  • Loops in Razor Views5:19

    Learn to render lists in Razor views with for, foreach, and while loops on a string list. Use C# sections and the at character to switch between code and HTML.

  • Conditions in Razor Views4:40

    Learn to use conditions in Razor views, employing switch and if-else to display messages based on the size of the articles list in an ASP.NET Core MVC app.

  • Razor Directives10:04

    Learn Razor directives in ASP.NET Core MVC, including using, inject, model, and sections, and see how to create and use a date service, article model, and appsettings with layout integrations.

  • Pass Data to View6:02

    Explore how to pass data from a controller to views using model, view data, and view bag, then transfer data between actions with TempData and redirect.

  • Tag Helpers4:16

    Discover how tag helpers replace hrefs with asp attributes to generate dynamic, parameterized URLs in asp.net core mvc, including route parameters and root patterns from program.cs.

  • Partial Views2:43

    Apply partial views to render articles in an ASP.NET Core MVC app, creating a reusable article partial and including it in the index view with each article model.

  • Layout Files5:50

    Learn to create and apply multiple layouts in an asp.net core mvc app, define an admin layout in the shared folder, and connect it to a dashboard controller and views.

  • Classic Forms10:27

    Create a simple contact form in an ASP.NET Core MVC app by building a contact controller and index view, using bootstrap, posting data, validating fields, and displaying submitted data.

  • Data Binding and Form Validation5:55

    Explore data binding and form validation in ASP.NET Core MVC by creating a contact DTO, applying validation attributes, binding with asp-for, and using ModelState.IsValid to display errors or success.

Requirements

  • Beginner knowledge of C#, HTML and Visual Studio 2022

Description

This course is for Beginners to ASP.NET having some knowledge of C# or similar programming languages.

In this course, I will show you how to create a web application using ASP.NET Core MVC. You will understand the MVC pattern and you will be able to create Models, Views and Controllers.

We will use Entity Framework to perform CRUD (Create, Read, Update and Delete) operations and to implement advanced functionalities, such as pagination, search and sort.

We will use Identity to implement user Registration, Authentication and Role-based Authorization. Besides, we will add many useful functionalities, such as edit the user profile, update the user password, display the registred users, update the user role, delete the user account, and request a password reset token.

Also, we will create the shopping cart and orders. We will store the shopping cart into a cookie and we will use colored badges to track the order status.

In this course, you will learn:

- The architecture of ASP.NET Core MVC

- How to create Models, Views and Controllers

- How to pass data from the controller to the view

- How to create forms and bind models to the forms

- How to validate form data using attributes and model binding

- How to install and use Entity Framework to access SQL Server Databases

- How to perform CRUD operations (Create, Read, Update and Delete) using Entity Framework

- How to advanced functionalities: pagination, search and sort

- How to upload images to the server

- How to read application parameters from appsettings.json

- How to use dependency injection: add services to the application container and request services from this container

- How to install Identity and how to create Identity user and tables

- How to create user Roles and how to register the Admin user

- How to register, authenticate and authorize users

- How to edit the user profile and password

- How to request password reset token by email

- How to display the registered users

- How to edit the user role

- How to delete the user account

- How to create, read, update and delete the shopping cart

- How to create orders and how to update the order status


To follow this course, you need to install the following tools

- Visual Studio 2022 including two components: “ASP.NET and web Development” and “.NET Desktop development”

- Microsoft SQL Server

Who this course is for:

  • Beginners who want to understand and use ASP .NET Core MVC to build advanced web applications