I have prepared the code that creates the collection. I would like to use this collection in LINQPad for various queries. Since LINQPad allows OData WCF, I thought MVC4 WebApi was perfect for this.
Unfortunately, I was not able to complete this work even with the WebApi template project. When I try to add a service to LINQPad, I get: "The data at the root level is invalid. Line 1, position 1. I think the problem is that LINQPad does not use content negotiation and it expects xml, but WebApi returns json.
Unfortunatelly Fiddler was unable to track requests.
Does anyone know how to fix this?
source share