https://github.com/aleksandromilenkov/courselibraryapi
RESTful API with .NET 6 and ASP.NET Web API
https://github.com/aleksandromilenkov/courselibraryapi
aspnet aspnetcore csharp dotnet dotnet-core entity-framework postman sqllite
Last synced: about 2 months ago
JSON representation
RESTful API with .NET 6 and ASP.NET Web API
- Host: GitHub
- URL: https://github.com/aleksandromilenkov/courselibraryapi
- Owner: aleksandromilenkov
- Created: 2024-01-16T17:16:25.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-16T21:08:25.000Z (over 1 year ago)
- Last Synced: 2025-02-16T22:19:32.229Z (over 1 year ago)
- Topics: aspnet, aspnetcore, csharp, dotnet, dotnet-core, entity-framework, postman, sqllite
- Language: C#
- Homepage:
- Size: 116 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#RESTful API
This API is using SQl Lite database.
I'm using 2 entities, Authors and Courses. Every Author has a list of Courses and every Course has it's author. So I'm using One-To-Many Relationship between the models.
The API also suports XML format for returning and receiving type.
You can also send HEAD request and OPTIONS request beside the GET, POST, PUT, PATCH and DELETE.
You can also Upserting with PUT and PATCH.
The API has good validation with custom messages. And also using Class-Level validation.
The API also supports filtering, searching and paging.
The API is using also Data-Shaping where the consumer can specify which fields from the Model are needed.
The API is tested with POSTMAN and it is working properly.