Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 430 Bytes

File metadata and controls

14 lines (9 loc) · 430 Bytes

Lab 08 - ASP.NET Web API

Service

  1. Create a Book type
  2. Create a BookService with FindBook, GetAllBooks, UpdateBook, and AddBook methods
  3. Create an interface for the BookService and register it with dependency injection
  4. Create an API controller and use the BookService

.NET Client

  1. Create a .NET client using the HttpClient class
  2. Invoke API methods to Get books, find a book, update a book, and add a book