* LogicalTypeInfo.cs: make sure JavaScriptSerializer instance used
here reads custom converters from web.config. Fixes bug #525589
svn path=/trunk/mcs/; revision=140004
* LogicalTypeInfo.cs: don't throw NREX when the passed type
doesn't have a parameterless constructor in
ShouldGenerateScript. Fixes bug #485435
svn path=/trunk/mcs/; revision=130982
* ClientProxyHandler.cs: before generating the proxy check if the
service type is decorated with the [ScriptService] custom
attribute. Only such service types can be called from client
JavaScript.
2009-01-26 Marek Habersack <[email protected]>
* ScriptManager.cs: before registering script service reference
check if the service type is decorated with the [ScriptService]
custom attribute. Only such service types can be called from
client JavaScript.
svn path=/trunk/mcs/; revision=124547
* LogicalTypeInfo.cs: do not use
LazyDictionary as enum serializer anymore.
* ProfileService.cs: do not use
LazyDictionary as ProfileService serializer anymore.
* RestHandler.cs: do not use
LazyDictionary as the Exception or NameValueCollection serializer
anymore.
2008-09-23 Marek Habersack <[email protected]>
* JavaScriptSerializer.cs: removed the LazyDictionary class, it's
not needed anymore.
svn path=/trunk/mcs/; revision=113832
* System.Web.Script.Services/LogicalTypeInfo.cs: Invoke does not
convert context to System.Object.
If context is descendant from JavaScriptSerializer.LazyDictionary
it is converted to a regular Dictionary <string, object> before
passing to the service method.
2008-08-28 Marek Habersack <[email protected]>
* JsonSerializer.cs: each value stored in an enumerable is treated
as a top-level object.
svn path=/trunk/mcs/; revision=111801