Build a Full-Featured eShop Using eShopOnWeb | ASP.NET Core Open Source Project Tutorial (Part 3)

2 months ago
20

00:00 – Introduction
01:05 – Registering CatalogContext with SQL Server in the DB Context
03:55 – Implementing GetBrands in Catalog Service to Populate Dropdown
07:30 – Implementing GetTypes in Catalog Service to Populate Dropdown
09:05 – Adding SQL Server Connection String
11:00 – Generating Migration File for Catalog Database
13:00 – Creating CatalogContextSeed to Seed Database Tables
13:55 – Invoking Seed Method in Program.cs
18:30 – Why Create a Scoped Service in Program.cs
24:30 – Creating Pre-Configuration Method for Catalog Brands
30:25 – Conclusion

In this video, I walk you through how to create a modern, full-featured eCommerce application using the eShopOnWeb open-source project from Microsoft. Whether you're a beginner exploring ASP.NET Core or a seasoned developer looking to fast-track your eShop setup, this tutorial will help you get started quickly.

You can find the Github repo here
https://github.com/hellowahab/eShopCKC

🚀 What You’ll Learn:

Creating migration files
Setting up the a seeding Context Class to create and populate database using EF Core
Modifications in program.cs file to make things running

Tips on extending the application for real-world use

Migration command excuted during the video
dotnet ef migrations add InitialCreate

📦 About eShopOnWeb:
eShopOnWeb is a sample ASP.NET Core reference application, showcasing the clean architecture and best practices for building scalable web apps.
GitHub link
https://github.com/dotnet-architecture/eShopOnWeb

🔧 Tech Stack:

ASP.NET Core
Entity Framework Core
Razor Pages
Clean Architecture principles

✅ Don't forget to like, subscribe, and turn on the notification bell if you want more tutorials like this.

💬 Got questions or suggestions? Drop them in the comments!

#eShopOnWeb #ASPNetCore #eCommerce #OpenSource #DotNet #WebDevelopment #Microsoft

Loading comments...