ASP.Net Ajax in Mono
Apr 14, 2009, 10:34 (0 Talkback[s])
[ Thanks to An Anonymous Reader for
this link. ]
"The first thing I did was to create a new ASP.Net web
project in C#, and create an asmx web service that would return a
complex type of some sort, and then use JQuery on the Default.aspx
to call the web service. I used the JSON2.js serializer on the
client side to verify that the output by just deserializing it.
"The initial results were a disaster. All I could get from
Mono's asmx web service was XML output, despite putting the
ScriptMethodAttribute on my web service method.
ScriptMethodAttribute tells the asmx HttpHandler to output in JSON
format.
"Assuming (incorrectly, as I later discovered) that I had found
a rather silly bug in the Mono class library, I tested the exact
same code in Microsoft's ASP.Net...which proceeded to work as
expected."
Complete Story
Related Stories:
- 10 Individuals who have contributed the most to FOSS(Apr 13, 2009)
- Should an Open Source Licence Ever Be Patent-Agnostic?(Apr 11, 2009)
- An afternoon among the patent lawyers(Apr 10, 2009)
- Qt Creator(Apr 09, 2009)
- Continuations in Mono: Embrace and Extending.NET, Part 3(Apr 09, 2009)
- Did Tomboy Learn from TomTom? Project Forked...(Apr 08, 2009)
- Using MoMA to Port from Windows .NET to Mono on Linux(Apr 08, 2009)
- Telerik Announces Support for their ASP.NET controls on Mono!(Apr 05, 2009)
- Mono Again: the Controversy That Won't Quit(Apr 03, 2009)
- Microsoft releases ASP.NET under the MS-PL License(Apr 02, 2009)