Dinosaurs and Spaceships: Using self hosted WebAPI 2 with legacy applications

Introduction My pal has been working on a WinForms application for a couple of years, making continuous improvements and adding modules and features into it. He recently approached me with a problem. He wanted to introduce some middleware into his application and make it scale, but still perform very well. He was interested in WebApi…

7

Serializing objects to JSON in Windows 8 using C#

So In one of my old posts I was talking about how to deserialize JSON you can head there if you’re interested in that. Today I’m going to talk about how to serialize JSON and how to use HttpClient to post it to a service. Converting object to JSON For the first part you need…

0