Skip to content

tapan0810/Dotnet_API_26_Minimal_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 .NET 9 Minimal API - Student CRUD

This project demonstrates a Minimal API implementation in .NET 9 for managing student data with full CRUD operations. It is designed to showcase how to build lightweight, high-performance APIs without using controllers.

✨ Features

  • ✅ Minimal API (no controllers)
  • ✅ CRUD operations (Create, Read, Update, Delete)
  • ✅ Entity Framework Core with SQL Server
  • ✅ Clean and simple endpoint design
  • ✅ Dependency Injection
  • ✅ Swagger for API testing

📌 Endpoints

Method Endpoint Description
GET /students Get all students
GET /students/{id} Get student by ID
POST /students Create new student
PUT /students/{id} Update student
DELETE /students/{id} Delete student

🛠️ Tech Stack

  • .NET 9 Minimal API
  • Entity Framework Core
  • SQL Server
  • Swagger / OpenAPI

🎯 Purpose

This project is built to:

  • Understand Minimal APIs in .NET
  • Compare Minimal API vs Controller-based API
  • Learn clean API design with fewer abstractions
  • Serve as a base for scalable backend systems

🚀 Future Improvements

  • JWT Authentication
  • DTOs & AutoMapper
  • Repository Pattern
  • Validation & Middleware
  • Logging (Serilog)

💡 This project is a stepping stone toward building production-grade APIs using modern .NET practices.

About

Student CRUD API built using .NET 9 Minimal API with EF Core, demonstrating clean endpoint design, dependency injection, and database operations without using controllers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages