Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zijianhuang/democoreweb
- Owner: zijianhuang
- Created: 2018-05-13T06:19:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-05T04:41:57.000Z (4 months ago)
- Last Synced: 2024-10-13T04:32:05.318Z (4 months ago)
- Topics: angular, asp-net-core, aurelia, blazor-webassembly, csharp, dotnet, jquery, maui, reactjs, typescript, vuejs, xamarin
- Language: TypeScript
- Homepage:
- Size: 2.82 MB
- Stars: 12
- Watchers: 4
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.