Welcome to my hands-on ASP.NET Core learning repository! 🚀
This project is a collection of concepts and mini-features I've built while exploring .NET 8, Entity Framework Core, and clean backend architecture.
This project is designed as a backend API using:
- ✅ ASP.NET Core Minimal APIs
- ✅ Entity Framework Core (EF Core) with SQLite
- ✅ Clean Architecture practices
- ✅ DTOs and Mapping logic
- ✅ Dependency Injection
- ✅ Separation of Endpoints using Extension Methods
- ✅ Async/Await and EF querying patterns
- ✅ Proper HTTP status codes and responses
A fully functional GameStore backend:
-
Endpoints:
GET /games/
— Get all gamesGET /games/{id}
— Get a game by IDPOST /games/add
— Add a new gamePATCH /games/{id}
— Update an existing gameDELETE /games/{id}
— Delete a gameGET /games/active
— List all active gamesGET /games/inActive
— List all inactive games
-
Includes:
- Game and Genre models
- DTO mapping (
CreateGameDto
,GameSummaryDto
,GameDetailsDto
) - SQLite integration with
DbContext
- Proper response handling (
404
,201
,200
, etc.)
GET /genre/
— Get all genresGET /genre/{id}
— Get a specific genre by ID- AsNoTracking usage for performance
- Graceful handling of not found responses
- .NET 8 SDK
- ASP.NET Core Minimal APIs
- Entity Framework Core
- SQLite (local development)
- Visual Studio Code (IDE)
- Clone the repo
https://github.com/Chebaleomkar/asp.net-core-learning.git cd asp.net-core-learning