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.
- 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
- .NET 8 SDK
- ASP.NET Core Web API
- Entity Framework Core
- SQL Server / LocalDB
- Swagger
- Postman
- .NET 8 SDK
- SQL Server / LocalDB
- Visual Studio 2022
- 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
📦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