Friday, February 10, 2017

NSwag Tutorial: How to integrate NSwag into your ASP.NET Core Web API project


This 5 minute tutorial shows how to integrate NSwag into your ASP.NET Core Web API project to serve the Swagger UI and generate C# clients. Chapters: 1. Create an ASP.NET Core Web API project and register the NSwag middleware to serve the generated Swagger specification and the Swagger UI. 2. Create a C# client library to access the (sample) Web API exposed by the created ASP.NET Core project. 3. Automate the execution of the NSwag configuration file so that you can regenerate the C# clients on demand with one command line call For more information visit http://NSwag.orghttps://youtu.be/lF9ZZ8p2Ciw