How yogeshkerkar48/ecommerce-site-mvc_dotnet4.7 works
This is a monolithic ASP.NET MVC e-commerce application. Shoppers browse and filter the catalog, manage a Session-backed cart, then complete an address, shipping, payment-validation, and confirmation wizard; completing checkout persists an order. Signed-in users can register, authenticate, and view order history. Services sit between MVC controllers and EF repositories. The README documents Identity/OWIN, AJAX catalog filtering, and the overall project dependency chain; some corresponding views, configuration, and service implementations were not sampled, so those links are shown only where supported by the index or README.
Main entry points: ProductController.cs Catalog pages · CartController.cs Cart actions · CheckoutController.cs Checkout wizard · AccountController.cs Account and history
Components 17
Web experience
- Catalog pages
src/LegacyEcommerce/Ecommerce.Web/Controllers/ProductController.cs - Cart actions
src/LegacyEcommerce/Ecommerce.Web/Controllers/CartController.cs - Cart session
src/LegacyEcommerce/Ecommerce.Web/Infrastructure/CartSessionExtensions.cs - Checkout wizard
src/LegacyEcommerce/Ecommerce.Web/Controllers/CheckoutController.cs - Checkout session
src/LegacyEcommerce/Ecommerce.Web/Infrastructure/CheckoutSessionExtensions.cs
Commerce services
- Catalog and categories
src/LegacyEcommerce/Ecommerce.Services/ProductService.cs - Category tree
src/LegacyEcommerce/Ecommerce.Services/CategoryService.cs - Cart operations
src/LegacyEcommerce/Ecommerce.Services/CartService.cs - Order completion
src/LegacyEcommerce/Ecommerce.Services/CheckoutService.cs - Order history service
src/LegacyEcommerce/Ecommerce.Services/OrderService.cs
Persistence
- Product repository
src/LegacyEcommerce/Ecommerce.Data/Repositories/ProductRepository.cs - Category repository
src/LegacyEcommerce/Ecommerce.Data/Repositories/CategoryRepository.cs - Order repository
src/LegacyEcommerce/Ecommerce.Data/Repositories/OrderRepository.cs
Accounts
- Account and history
src/LegacyEcommerce/Ecommerce.Web/Controllers/AccountController.cs - Identity authentication
src/LegacyEcommerce/Ecommerce.Web/App_Start/Startup.Auth.cs
Other components
- Shopper
- SQL Server database
Connections 20
- Shopper → Catalog pages: browses
- Catalog pages → Catalog and categories: requests listings
src/LegacyEcommerce/Ecommerce.Web/Controllers/ProductController.cs - Catalog and categories → Product repository: queries products
src/LegacyEcommerce/Ecommerce.Services/ProductService.cs - Product repository → SQL Server database: reads catalog
src/LegacyEcommerce/Ecommerce.Data/Repositories/ProductRepository.cs - Catalog pages → Category tree: requests tree
src/LegacyEcommerce/Ecommerce.Web/Controllers/ProductController.cs - Category tree → Category repository: loads categories
src/LegacyEcommerce/Ecommerce.Services/CategoryService.cs - Category repository → SQL Server database: reads categories
- Shopper → Cart actions: edits cart
- Cart actions → Cart operations: updates cart
- Cart actions → Cart session: loads and saves
src/LegacyEcommerce/Ecommerce.Web/Infrastructure/CartSessionExtensions.cs - Cart operations → Product repository: looks up product
src/LegacyEcommerce/Ecommerce.Services/CartService.cs - Shopper → Checkout wizard: submits checkout
- Checkout wizard → Checkout session: loads and saves
src/LegacyEcommerce/Ecommerce.Web/Infrastructure/CheckoutSessionExtensions.cs - Checkout wizard → Order completion: completes order
src/LegacyEcommerce/Ecommerce.Web/Controllers/CheckoutController.cs - Order completion → Order repository: places order
src/LegacyEcommerce/Ecommerce.Services/CheckoutService.cs - Order repository → SQL Server database: writes order
src/LegacyEcommerce/Ecommerce.Data/Repositories/OrderRepository.cs - Shopper → Account and history: manages account
- Account and history → Identity authentication: authenticates
- Account and history → Order history service: requests history
src/LegacyEcommerce/Ecommerce.Web/Controllers/AccountController.cs - Order history service → Order repository: loads history
src/LegacyEcommerce/Ecommerce.Services/OrderService.cs