>
> The first thing I did was remove the XML serializer.
>
Reverse that here ... I removed the Jason serialiser and only want the XML
serialiser. As far as I'm concerned, Json is a polluting blight on us all.
The C++ coding guys consuming my Web API will wet their pants if I tell
them there's anot
>
> Have you looked at either of the solutions in
> http://stackoverflow.com/questions/12590801/remove-namespace-in-xml-from-asp-net-web-api
>
First part doesn't work, second part will require unpaid research time (as
usual) -- Greg
The first thing I did was remove the XML serializer. The json took over as
default and then I changed the json formatter(I think it's called) to the
camel case formatter.
Works nicely.
On Friday, January 17, 2014, David Burstin wrote:
> I tried the first of these but it didn't work for me. YMM
I tried the first of these but it didn't work for me. YMMV
On 17 January 2014 21:56, David Burstin wrote:
> Hi Greg,
>
> Have you looked at either of the solutions in
> http://stackoverflow.com/questions/12590801/remove-namespace-in-xml-from-asp-net-web-api
>
> Cheers
> Dave
>
>
> On 17 January
Hi Greg,
Have you looked at either of the solutions in
http://stackoverflow.com/questions/12590801/remove-namespace-in-xml-from-asp-net-web-api
Cheers
Dave
On 17 January 2014 21:25, Davy Jones wrote:
> For problem 2: get codemaid plugin or resharper and reorder your
> properties:
>
> Or you c
For problem 2: get codemaid plugin or resharper and reorder your
properties:
Or you could use an xslt to transform your serialization ordering your
properties as you go.
Davy.
Sent from my starfleet datapad.
On 17 janv. 2014, at 09:43, Greg Keogh wrote:
Is anyone in here using Web API in ange
Is anyone in here using Web API in anger? I'm experimenting with creating
an API that is simple and easy for non .NET clients to use. Controller
methods that return classes serialised as XML contain everything I expect
but...
*PROBLEM 1* : There are xmlsn="" namespaces cluttering up the root node