We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
// In App_Start/WebApiConfig.cs var settings = config.Formatters.JsonFormatter.SerializerSettings; settings.TypeNameHandling = TypeNameHandling.All; settings.Formatting = Formatting.Indented; settings.ContractResolver = new CamelCasePropertyNamesContractResolver();
Test in browser by navigating to /api/places
/api/places
Bonus: Test adding a Place with fiddler
Content-Type: application/json
{ "$type": "OneCircleWeb.DAL.Home, 1CircleWeb", "latitude": 59.917290, "longitude": 10.727012, "title": "Slottet", "whoLivesHere": "Harald and Sonja" }