Click here to Skip to main content
15,881,812 members
Articles / Web Development / ASP.NET / ASP.NET Core

Generate C# Client API for ASP.NET Web API

Rate me:
Please Sign up or sign in to vote.
4.94/5 (72 votes)
4 May 2020CPOL16 min read 290.4K   244  
Generate strongly typed client API in C# for ASP.NET Web API and .NET Core Web API supporting desktop, Universal Windows, Android and iOS
This article is focused on generating C# Client API libraries. It looks at: Installing NuGet package WebApiClientGen to the Web MVC/API Project, creating the .NET Client API Project, preparing JSON Config Data, POST JSON Config data to Trigger the Generation of Client API Codes, and publishing Client API Libraries.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Australia Australia
I started my IT career in programming on different embedded devices since 1992, such as credit card readers, smart card readers and Palm Pilot.

Since 2000, I have mostly been developing business applications on Windows platforms while also developing some tools for myself and developers around the world, so we developers could focus more on delivering business values rather than repetitive tasks of handling technical details.

Beside technical works, I enjoy reading literatures, playing balls, cooking and gardening.

Comments and Discussions