Episode

Quickly Generate C# Classes from JSON Responses

This short video will show the developer how to use the Web Essentials Visual Studio Plugin, and a quick tip to quickly generate typed C# classes for working with JSON Responses. This is very handy if your application makes calls to REST API's that return JSON responses.

[00:48] - Simple HTTP Client call to REST API

[01:01] - Generate C# file for declaring classes

[01:40] - Inspect JSON Response in Debugger

[01:56] - Paste as JSON Classes with web essentials

[02:34] - Using the new JSON Class in the code