Skip to content

KARRTHIKKKK/ASP.NET_Core-8_MVC_eCommerce_Application

Repository files navigation

πŸ›’ ASP.NET Core 8 MVC eCommerce Application

.NET Core ASP.NET MVC Entity Framework SQL Server

πŸ“‹ Table of Contents

πŸ”· Overview

A modular, full-stack eCommerce web application built using ASP.NET Core 8 MVC following industry best practices with clean architecture, Identity-based authentication, and Entity Framework Core integration. This application demonstrates modern web development patterns including repository pattern, dependency injection, and area-based feature organization.

πŸŽ₯ Demo Video

YouTube Link

✨ Features

πŸ›οΈ Core eCommerce Functionality

  • Product Catalog - Details display and Categories wise list
  • Shopping Cart - Add to cart items
  • User Authentication - Register, login, and Category management
  • Responsive Design - Mobile-friendy UI

πŸ—οΈ Technical Features

  • Modular Architecture - Area-based feature separation
  • Repository Pattern - Clean data access layer
  • Code-First Migrations - Database schema management
  • Identity Integration - Secure user authentication
  • Strongly-Typed Views - ViewModels for data binding

πŸ”¨ Technologies Used

Category Technology
Framework ASP.NET Core 8 MVC
ORM Entity Framework Core 8
Database SQL Server
Authentication ASP.NET Core Identity
Frontend Bootstrap, Razor Views, HTML5, CSS3, JavaScript
Architecture Repository Pattern, Dependency Injection
Development Visual Studio, Code-First Migrations

πŸ›οΈ Solution Architecture

Sandhata.eCommerce.Solution/
β”œβ”€β”€ πŸ“ Sandhata.eCommerce.Models/          # Data Models & ViewModels
β”œβ”€β”€ πŸ“ Sandhata.eCommerce.Repositories/    # Data Access Layer
└── πŸ“ Sandhata.eCommerce.Mvc.UI/          # MVC Web Application

1. Sandhata.eCommerce.Models

  • Data Models: Product, Cart, Customer, Invoice
  • ViewModels: YourCartVM for composite view rendering
  • DTOs: Data transfer objects for API communication

2. Sandhata.eCommerce.Repositories

  • Repository Interfaces: ICartRepository, ICommonRepository
  • Implementation: Concrete repository classes
  • Database Context: SandhataDbContext with EF Core
  • Migrations: Code-first database schema management

3. Sandhata.eCommerce.Mvc.UI

  • Areas: Feature-based organization (Carts, Products, Invoices)
  • Controllers: MVC controllers for each feature area
  • Views: Razor views with shared layouts
  • Static Content: CSS, JavaScript, images in wwwroot

πŸš€ Getting Started

Prerequisites

πŸ“ Project Structure

Sandhata.eCommerce.Mvc.UI/
β”œβ”€β”€ πŸ“ Areas/
β”‚   β”œβ”€β”€ πŸ“ Carts/
β”‚   β”‚   β”œβ”€β”€ Controllers/
β”‚   β”‚   └── Views/
β”‚   β”œβ”€β”€ πŸ“ Products/
β”‚   β”‚   β”œβ”€β”€ Controllers/
β”‚   β”‚   └── Views/
β”‚   └── πŸ“ Invoices/
β”‚       β”œβ”€β”€ Controllers/
β”‚       └── Views/
β”œβ”€β”€ πŸ“ Controllers/           # Main controllers
β”œβ”€β”€ πŸ“ Views/
β”‚   β”œβ”€β”€ πŸ“ Shared/
β”‚   β”‚   β”œβ”€β”€ _Layout.cshtml
β”‚   β”‚   └── _LoginPartial.cshtml
β”‚   └── Home/
β”œβ”€β”€ πŸ“ wwwroot/              # Static files
β”‚   β”œβ”€β”€ css/
β”‚   β”œβ”€β”€ js/
β”‚   └── images/
β”œβ”€β”€ πŸ“ Data/                 # Database context
β”œβ”€β”€ appsettings.json
└── Program.cs

πŸ“Έ Screenshots

πŸ—„οΈ Database Schema

Home Page

Home Page

Home Page

Categories Page

Categories List

Product Catalog

Product Catalog

Show Details

Product Details

Add To Cart

Shopping Cart

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Author

Kathikeya Pepeti

πŸ™ Acknowledgments

  • ASP.NET Core team for the excellent framework
  • Bootstrap team for the responsive UI components
  • Entity Framework team for the robust ORM
  • My Trainer : Praveen Dabde

⭐ If you found this project helpful, please give it a star! ⭐


Built with ❀️ using ASP.NET Core 8

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages