Skip to main content

Posts

Showing posts from August, 2017

Web Api Client Helper for .NET CORE Project

First of all, thank you for taking time to read this. I appreciate it. I was working in a .NET core project that required to call remote Web APIs. I am sharing the code I wrote so might be useful/helpful to others. Please let me know your feedback, suggestion on how to make this package better. At the same time, I am also learning. One thing I realized is that I need to start sharing what I encounter while working on project to learn more. And please also comment on how I can make the blog more clear especially on "How to use this package" part. I created a NuGet package called WebApiClientHelper. Latest package can be downloaded from  https://www.nuget.org/packages/WebApiClientHelper/ . Or you can install from NuGet Package Manager in Visual Studio Project. How to use WebApiClientHelper  Add an app setting called "ApiSetting" in appsettings.json file. Add a property called "BaseAddress". Value of the BaseAddress is the base URL of the Web APIs whe