Skip to content

An ASP.NET Core MVC Web API project that provides RESTful API services with full CRUD functionality. It follows the MVC pattern for structured development and includes essential features for creating and managing resources through HTTP requests.

Notifications You must be signed in to change notification settings

smraju115/Asp.Net-Core-Web-Api-MasterDetails-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASP.NET Core Web API - Master-Details CRUD (Using .NET 8)

This is a sample ASP.NET Core Web API project built with .NET 8, demonstrating how to perform CRUD operations with a Master-Details relationship.

📚 Features

  • ASP.NET Core 8 Web API
  • Entity Framework Core 8
  • SQL Server Database
  • Master-Details Data Structure
  • CRUD Operations (Create, Read, Update, Delete)
  • Swagger/OpenAPI integrated for testing

📦 Technologies Used

  • .NET 8 SDK
  • ASP.NET Core Web API
  • Entity Framework Core
  • SQL Server / LocalDB
  • Swagger
  • Postman

🚀 Getting Started

Prerequisites

  • .NET 8 SDK
  • SQL Server / LocalDB
  • Visual Studio 2022

🔧 Installation

  1. Clone the repository
    git clone https://github.com/smraju115/Asp.Net-Core-Web-Api-MasterDetails-CRUD.git
    cd Asp.Net-Core-Web-Api-MasterDetails-CRUD
    Update database connection string
    
    Go to appsettings.json
    
    Update your DefaultConnection string.
    
    Apply Migrations & Create Database
    
    

dotnet ef database update

Run the application

Test all CRUD endpoints from Swagger UI

📂 Project Structure

📦Asp.Net-Core-Web-Api-MasterDetails-CRUD ┣ 📁Controllers ┣ 📁Models ┣ 📁Data ┣ 📁Views ┣ 📜appsettings.json ┗ 📜Program.cs

🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

📄 License MIT License

✨ Author Made with ❤️ by S. M. SHAHAJALAL RAJU

About

An ASP.NET Core MVC Web API project that provides RESTful API services with full CRUD functionality. It follows the MVC pattern for structured development and includes essential features for creating and managing resources through HTTP requests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published