Re: Inter-Process isolation

2014-01-17 Thread piers.williams
Oh, and also assuming you didn't use the new 32BITPREFERRED option in 4.5 http://msdn.microsoft.com/en-us/library/ms164699(v=vs.110).aspx … in which case … well it depends http://stackoverflow.com/questions/12066638/what-is-the-purpose-of-the-prefer-32-bit-setting-in-visual-studio-2012-an

Re: Web API weird problems

2014-01-17 Thread Greg Keogh
> > 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

Re: Web API weird problems

2014-01-17 Thread Greg Keogh
> > 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

Re: Inter-Process isolation

2014-01-17 Thread piers.williams
Not so. I've had at least one perfectly legitimate reason for fiddling with the PE header to change the bitness of an existing exe (damned if I can remember what it was mind - probably forcing 32 bit to get round an interop issue ahem) From: Greg Keogh Sent: ‎Friday‎, ‎January‎ ‎17‎, ‎2014 ‎

Re: Web API weird problems

2014-01-17 Thread Michael Ridland
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

Re: Web API weird problems

2014-01-17 Thread David Burstin
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

Re: Web API weird problems

2014-01-17 Thread David Burstin
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

Re: [OT] 43°C here

2014-01-17 Thread Greg Keogh
> > And I live south and west of there > Where or what on Earth is inhabitable south west of Cunnamulla? -- Greg

Re: Web API weird problems

2014-01-17 Thread Davy Jones
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

Re: [OT] 43°C here

2014-01-17 Thread Unicorn.Consulting
And I live south and west of there and it has been over 40 since about Saturday. But we have no river (at least not one with water) Matt On 17/01/2014 5:44 PM, Scott Barnes wrote: I grew up in a town SW QLD callled "Cunnamulla" ... it used to get so hot that the road tar used to bubble.. we'd p

Web API weird problems

2014-01-17 Thread Greg Keogh
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