Commit Graph
12 Commits
Author SHA1 Message Date
Sebastien Pouliot 13b942c073 [System.ServiceModel.Web] Fix JsonQueryStringConverter.ConvertValueToString to work when running on any culture [#18437] 2014-03-17 21:46:33 -04:00
Sebastien Pouliot 7f8fa9a8a5 Allow running System.ServiceModel.Web unit tests on the MOBILE profiles (using the same .sources file) 2013-07-24 08:58:44 -04:00
Enrico Sada 3331041eea add QueryStringConverter String <-> Enum
fix bug https://bugzilla.xamarin.com/show_bug.cgi?id=5230
2012-08-10 01:42:36 +02:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Atsushi Eno 3d385eb270 Skip serialization when the return type is void.
This batch should fix bug #206.
2011-08-24 12:14:48 -07:00
Atsushi Eno 2464cfc869 Read body content if required. Fixed all issues in bug #656020.
Now it considers message content format and IsWrapped[Request|Response] to
retrieve XmlObjectSerializer.
2011-01-20 15:32:33 +09:00
Atsushi Eno 997a5664a9 Enable duplicate "UriMatched" error check, with couple of FIXMEs.
.NET is very unclear about those UriTemplate behavior. Too minor to mind.
2011-01-19 20:22:45 +09:00
Atsushi Eno 7d5b5a1b7f Fix template match logic to first check HTTP-method-matching ones.
Part of the fix for bug #656020.
2011-01-19 19:01:49 +09:00
Atsushi Eno a1375bd687 2010-05-24 Atsushi Enomoto <[email protected]>
* JsonQueryStringConverter.cs : objects are regarded serializable as
	  long as they are public here, with some exceptions (not implemented).

	* JsonQueryStringConverterTest.cs : add more tests for CanConvert()
	  and reorganized some classes to make tests rational.


svn path=/trunk/mcs/; revision=157795
2010-05-24 12:38:12 +00:00
Atsushi Eno cd263cb1f4 2009-10-08 Atsushi Enomoto <[email protected]>
* JsonQueryStringConverter.cs : add custom body name support (used.
	  for AJAX). Handle string value (in very LAMESPEC way).
	* WebMessageFormatter.cs : add custom body name support.
	  Slightly changed reply serialization.
	  Convert deserialized values using QueryStringConverter.

	* WebScriptEnablingBehavior.cs : use JsonQueryStringConverter, with
	  "d" wrapper name. Allow only WrappedRequest.

	* JsonQueryStringConverterTest.cs : added some string deserialization
	  test. It just proved .NET is too lame.


svn path=/trunk/mcs/; revision=143747
2009-10-08 08:59:56 +00:00
Atsushi Eno ec2607604c 2009-09-02 Atsushi Enomoto <[email protected]>
* JsonQueryStringConverterTest.cs : comment out one cosmetic case
	  that is not working under .NET.


svn path=/trunk/mcs/; revision=141099
2009-09-02 08:44:31 +00:00
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00