NET_2_1 is also defined whenever we define MOBILE, so they have the same effect. Silverlight was 2.1 but it's been dead for a while now, and we do not even support it.
Just like BinaryMessageFormatter needed to use another CreateBinaryWriter()
overload to NOT close the input stream, use CreateTextWriter() overload that
does not close the stream.
* WebMessageEncoder.cs : support Raw message in ReadMessage() too.
Allow null content type.
* WebMessageFormatter.cs : do not depend on WebOperationContext.
add support for Raw format request.
* WebMessageEncodingBindingElementTest.cs : add test for null
content type for ReadMessage() (allowed),
* WebHttpBehaviorTest.cs : add test for deserializing Raw request
message too.
svn path=/trunk/mcs/; revision=160377
* WebMessageFormatter.cs : add support for Raw format.
* WebMessageEncoder.cs : support Raw message. Fixed bug #619542.
* WebHttpBehaviorTest.cs : add test for bug #619542 (not sure if it
works on mono; run-test is broken in trunk. Verified under .NET).
svn path=/trunk/mcs/; revision=160341
* WebScriptEnablingBehavior.cs : basic implementation. Create custom
ChannelDispatchers for "/js" and "/jsdebug" like we do for
/wsdl (ServiceMetadataExtension). And they return Javascript
generated from ProxyGenerator in Sys.Web.Extensions.
* WebMessageEncoder.cs : handle /js and /jsdebug specially, as raw
javascript stream.
* Makefile : add -r:System.Web.Extensions.dll.
svn path=/trunk/mcs/; revision=142129