Creating Libraries for Client Applications
With the updates from the last chapter, the Game API is available to use – including access to the database. In this chapter, we’ll create a .NET library that can be used by all .NET client applications to access the service. Instead of the need to create HTTP requests with every client application, we create a library that can be shared.
In this chapter, you’ll do the following:
- Create a library to send HTTP requests
- Create a client console application to play a game using the library
- Use the Microsoft Kiota tool to generate code based on the OpenAPI document