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