GitHunt
YU

yuv4ik/XFBlogExample

Using Swagger to automatically generate the client code

XFBlogExample

Is an example of a simple ASP.NET Core API and Xamarin.Forms client. There is a blogpost with all the details about this project on my blog.

API

Has an integrated Swagger that is used to generate the client code.

Xamarin.Forms Client

The API consumer code is generated using NSwag:

dotnet dotnet-nswag.dll swagger2csclient /input:swagger.json /classname:BlogService /namespace:BlogReader /output:BlogService.cs

Languages

C#100.0%

Contributors

MIT License
Created March 8, 2018
Updated December 29, 2021