# Client Code Generators for Aurelia, Web API of ASP.NET and .NET Core

**URL:** <https://discourse.aurelia.io/t/client-code-generators-for-aurelia-web-api-of-asp-net-and-net-core/2768>\
**Category:** Framework Knowledge\
**Created:** [July 23, 2019, 8:13am UTC](https://discourse.aurelia.io/t/client-code-generators-for-aurelia-web-api-of-asp-net-and-net-core/2768 "2019-07-23T08:13:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zijianhuang](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/zijianhuang/32/1570_2.png) [@zijianhuang](https://discourse.aurelia.io/u/zijianhuang)\
**Post date:** [July 23, 2019, 8:13am UTC](https://discourse.aurelia.io/t/client-code-generators-for-aurelia-web-api-of-asp-net-and-net-core/2768/1 "2019-07-23T08:13:35Z")

</div>

This is an alternative to Swagger toolchain however is optimized for the SDLC of building Web applications on Web API of [ASP.NET](http://ASP.NET) and .NET Core. Strongly Typed Client API Generators was developed in 2015 when I was developing some WPF business applications talking to [ASP.NET](http://ASP.NET) Web API. Swagger did not inherently support decimal/currency/money type, so I had developed this component suite for C# .NET clients initially, then jQuery, Angular 2+, Axios and Aurelia, supporting decimal/currency/money type.

If you are developing business applications on Web API of [ASP.NET](http://ASP.NET) or .NET Core, you may find WebApiClientGen is more straightforward and having less overhead than Swagger toolchain.

Here is a code example generated from a .NET Core Web API:

> <https://github.com/zijianhuang/webapiclientgen/blob/master/aurelia/src/clientapi/WebApiCoreAureliaClientAuto.ts>

using aurelia fetch client.

This article may give you a big picture of SDLC utilizing WebApiClientGen:

> **[Generate C# Client API for ASP.NET Web API](https://www.codeproject.com/Articles/1074039/Generate-Csharp-Client-API-for-ASP-NET-Web-API)**
>
> Generate strongly typed client API in C# for ASP.NET Web API and .NET Core Web API supporting desktop, Universal Windows, Android and iOS
