Commit Graph
34 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 6b9583ba66 2009-04-07 Gonzalo Paniagua Javier <[email protected]>
* ClientProxyHandler.cs: set cacheability to public.


svn path=/trunk/mcs/; revision=131195
2009-04-07 06:56:55 +00:00
Marek Habersack 36b91af2a3 2009-04-03 Marek Habersack <[email protected]>
* 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
2009-04-03 16:38:25 +00:00
Marek Habersack 0d78066093 2009-01-26 Marek Habersack <[email protected]>
* 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
2009-01-26 18:58:04 +00:00
Marek Habersack 1905082013 2008-09-23 Marek Habersack <[email protected]>
* 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
2008-09-23 14:55:49 +00:00
Marek Habersack 6c2057c3ca 2008-08-28 Marek Habersack <[email protected]>
* 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
2008-08-28 13:13:35 +00:00
Igor Zelmanovich ff41f007d1 merge r96167:96168
svn path=/trunk/mcs/; revision=96169
2008-02-19 17:19:33 +00:00
Konstantin Triger 0c10b0cc36 ensure the authenticationService is enabled
svn path=/trunk/mcs/; revision=94368
2008-01-30 12:43:36 +00:00
Konstantin Triger 873dd8b51b implemented AuthenticationService, ProxyGenerator
svn path=/trunk/mcs/; revision=94367
2008-01-30 12:28:32 +00:00
Igor Zelmanovich 5e5d411740 removed TARGET_JVM ifdef
svn path=/trunk/mcs/; revision=94139
2008-01-28 15:36:52 +00:00
Igor Zelmanovich 5aef603929 fixed web service proxy generation.
svn path=/trunk/mcs/; revision=93394
2008-01-21 14:41:54 +00:00
Igor Zelmanovich 9a8b84d454 fixed GenerateScriptTypes feature
consider generics types.

svn path=/trunk/mcs/; revision=93031
2008-01-16 13:07:34 +00:00
Igor Zelmanovich 785c5c7e61 register namespaces for script types if need
svn path=/trunk/mcs/; revision=93024
2008-01-16 10:25:40 +00:00
Igor Zelmanovich c6f31c8150 fixed GenerateScriptTypes feature
svn path=/trunk/mcs/; revision=92963
2008-01-15 17:04:38 +00:00
Igor Zelmanovich 61f9bec4ab removed #if NET_3_5,
upgraded to 3.5 version instead

svn path=/trunk/mcs/; revision=92081
2008-01-01 09:20:53 +00:00
Igor Zelmanovich 7dd4bec7e8 adjust rest services for 3.5 versions of client scripts
svn path=/trunk/mcs/; revision=92059
2007-12-31 12:29:04 +00:00
Konstantin Triger 9fbfd4fb7c implement Profile service
svn path=/trunk/mcs/; revision=83270
2007-08-02 09:10:50 +00:00
Konstantin Triger d1965ea6df add support for ScriptMethodAttribute.XmlSerializeString
svn path=/trunk/mcs/; revision=83152
2007-08-01 07:43:28 +00:00
Konstantin Triger 768d0dd3e3 auto generate script types for method params
svn path=/trunk/mcs/; revision=83066
2007-07-31 11:14:01 +00:00
Igor Zelmanovich 4ce6430f78 consider TARGET_J2EE doesn't support PathInfo in url
svn path=/trunk/mcs/; revision=82984
2007-07-30 14:06:49 +00:00
Konstantin Triger b0245f0b7a Do not pretty format xml output
svn path=/trunk/mcs/; revision=82931
2007-07-29 13:08:17 +00:00
Konstantin Triger 6e76d3dd8e cached anyway
svn path=/trunk/mcs/; revision=82920
2007-07-29 08:45:19 +00:00
Konstantin Triger c515e5a8f8 access ws proxy using relevant methods (net 3.5)
svn path=/trunk/mcs/; revision=82919
2007-07-29 08:41:03 +00:00
Igor Zelmanovich 559503b6c4 consider TARGET_J2EE limitation for PathInfo
svn path=/trunk/mcs/; revision=82782
2007-07-26 14:30:48 +00:00
Konstantin Triger a7d0ee0dc9 add exception handling support
svn path=/trunk/mcs/; revision=82564
2007-07-24 13:39:36 +00:00
Konstantin Triger 4388d76fc5 implemented session support
svn path=/trunk/mcs/; revision=82516
2007-07-23 16:03:00 +00:00
Konstantin Triger 8da552e69f refactoring
svn path=/trunk/mcs/; revision=82515
2007-07-23 16:01:45 +00:00
Konstantin Triger e10cbc9a6d set caching
svn path=/trunk/mcs/; revision=82480
2007-07-23 11:24:50 +00:00
Igor Zelmanovich 01530d85ce fixed service proxy for PageMethods
svn path=/trunk/mcs/; revision=82191
2007-07-18 11:57:14 +00:00
Igor Zelmanovich 0fbd8e2b37 JavaScriptSerializer.Deserialize method returns correct type object.
javascripts array is deserialized into object[] type.

svn path=/trunk/mcs/; revision=81321
2007-07-04 07:49:55 +00:00
Igor Zelmanovich bd45e92270 Implemented EnablePageMethods feature
svn path=/trunk/mcs/; revision=81238
2007-07-03 12:05:08 +00:00
Igor Zelmanovich 103ef85cd9 make ScriptMethodAttribute is optionally
svn path=/trunk/mcs/; revision=81224
2007-07-03 07:46:47 +00:00
Konstantin Triger 6e69e90f95 initial script services implementation
svn path=/trunk/mcs/; revision=81191
2007-07-02 16:26:06 +00:00
Konstantin Triger 90948d1ea4 implement GenerateScriptTypeAttribute.ScriptTypeId
svn path=/trunk/mcs/; revision=81188
2007-07-02 16:16:32 +00:00
Igor Zelmanovich 6ba62cd237 Initial drop for System.Web.Extensions assembly
svn path=/trunk/mcs/; revision=78103
2007-05-29 09:22:35 +00:00