Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-29T17:18:48.000Z (12 months ago)
- Last Synced: 2024-01-29T20:41:32.813Z (12 months ago)
- Topics: aspnet, aspnetcore, csharp, dotnet, dotnet-core, entity-framework, postman, sqllite
- Language: C#
- Homepage:
- Size: 115 KB
- Stars: 0
- 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.