ECommerce MVC Project with .NET 7, Repository and UnitOfWork, MSSQL, Autofac, AutoMapper, Serilog, MailTrap and NUnit Testing
This repository showcases a sample MVC Project built with .NET 7 that demonstrates a simple E-Commerce presentation. The application utilizes Repository, UnitOfWork Design Pattern. Together, these components provide a robust foundation for structured web Project.
To get a local copy up and running, follow these simple steps.
- Clone the repo
git clone https://github.com/mizanurrahman13/ECommerce.git
- Navigate to the project directory
cd ECommerce - Restore dependencies:
dotnet restore
- Migrations: Follow ECommerce_Migration_Runner file in docs folder.
This template follows the 3-Tier Architecture, here Repository UnitOfWork Design Pattern organizes code by Layered, promoting high cohesion, low coupling and Separation of concern.
- Built with .NET 7: Utilizes the latest features for efficient development.
- Repository and UnitOfWork : Provides abstraction, transaction management, and simplifies data access logic.
- Autofac: Streamlines dependency injection, improves code maintainability, and enhances testability.
- AutoMapper: Streamlines object-to-object mapping, reduces boilerplate code, and enhances maintainability.
- Serilog: Enhances logging capabilities, provides structured logs, and simplifies troubleshooting..
- Stored Procedure: Enhances performance, security, and code reusability in databases.
- MSSQL: Powerful relational database for data storage.
- EF Core: Popular .NET ORM.
- NUnit Testing: Ensures code reliability, supports TDD, and automates unit tests..
- .NET 7
- Repository and UnitOfWork
- Stored Procedure
- Autofac
- AutoMapper
- Serilog
- MailTrap
- MSSQL
- EF Core
- NUnit Testing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Create a Pull Request
Distributed under the MIT License. See LICENSE for more information.