Skip to content

Sample code for the Pluralsight course "Developing an Asynchronous ASP.NET Core Web API".

License

Notifications You must be signed in to change notification settings

diprefranco/Books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books API

This project is an ASP.NET Core Web API that returns fake books and authors. It was created to learn and practice asynchronous programming in ASP.NET Core Web API development.

Features

  • Fetch a list of books.
  • Stream books asynchronously using Server-Sent Events (SSE).
  • Fetch a single book with its fake covers.
  • Add a new book using POST requests.
  • Implements filters, AutoMapper, and dependency injection.

Main Endpoints

  • GET /api/books: Retrieves all books.
  • GET /api/bookstream: Streams books asynchronously.
  • GET /api/books/{id}: Retrieves a specific book by its ID.
  • POST /api/books: Creates a new book.

Example Usage

Use an API client like Postman to interact with the endpoints.

Version Information

This project was built with the .Net 9.0 framework.

Course

This API is for learning purposes and was built from the course Developing an Asynchronous ASP.NET Core Web API by Kevin Dockx.

Author

GitHub: Franco Dipre

License

This project is licensed under the MIT LICENSE.

About

Sample code for the Pluralsight course "Developing an Asynchronous ASP.NET Core Web API".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages