Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zijianhuang/democoreweb

.NET Core Web projects to demonstrate WebApiClientGen, with examples for vue, React, jQuery, Angular and MAUI
https://github.com/zijianhuang/democoreweb

angular asp-net-core aurelia blazor-webassembly csharp dotnet jquery maui reactjs typescript vuejs xamarin

Last synced: 3 months ago
JSON representation

.NET Core Web projects to demonstrate WebApiClientGen, with examples for vue, React, jQuery, Angular and MAUI

Awesome Lists containing this project

README

        

[Strongly Typed Client API Generators](https://github.com/zijianhuang/webapiclientgen) generate strongly typed client API in C# codes and TypeScript codes. This repository contains code examples explained in the following CodeProject.com articles:

* [Generate C# Client API for ASP.NET Core Web API](https://www.codeproject.com/Articles/1243908/Generate-Csharp-Client-API-for-ASP-NET-Core-Web-AP)

**Remarks:**

* .NET Core 2.x had dependency on Newtonsoft.JSON, while .NET Core 3.0 had been decoupled from Neewtonsoft.JSON and the default serializer is working well in most scenarios except for Tuple, 2D array and anonymous object etc. If you would support these data types or would keep 100% compitability with the serialization of NewtonSoft.JSON, you should explicitly include package `Microsoft.AspNetCore.Mvc.NewtonsoftJson` and add add `AddNewtonsoftJson()` in `Startup.cs`.

And this repository contains the demo applications.

## Server demo

1. Core3WebApi, ASP.NET Core Web API providing data to other test suites.
1. Core3Mvc, ASP.NET Core MVC.

## Client Demo
1. Tour of the Heroes with MAUI, migrated from Xamarin Heroes, in folder mobile.
1. Tour of the Heroes with Aurelia in folder AureliaHeroes. Integration test suite included.
1. Tour of the Heroes with React TS in folder ReactHeroes. Integration test suite included.
1. vueTS, JEST test suite with Vue TypeScript and the generated TypeScript codes.