[asp.net] Part of fix for bug #649546. A partial rewrite of the web/script resource...
authorMarek Habersack <grendel@twistedcode.net>
Wed, 3 Nov 2010 02:12:13 +0000 (03:12 +0100)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 3 Nov 2010 02:21:02 +0000 (03:21 +0100)
commita9cb57cc131f41baf48dce03d1149aa4d5f40dac
treef75d81c861d35adc97530b0590c2ed2f4f82b4f1
parent34537d734be155b3cb7b05c50ac3e6a39274a9f9
[asp.net] Part of fix for bug #649546. A partial rewrite of the web/script resource handler.

* System.Web/System.Web.Handlers/AssemblyResourceLoader.cs: AssemblyResourceLoader/ScriptResourceHandler must
  always generate the same URL for every assembly+resource pair, or otherwise the browser would re-fetch
  the resource in situations where it is not desired (e.g. during an async request to the server to update
  a panel).
  The generated URLs are not encrypted using real encryption, just hashed.
  In addition, the handler code got modernized a bit.

* System.Web.Extensions/System.Web.UI/ScriptManager.cs: scriptStartupBlock is a 3.5+ thing

* System.Web.Extensions_1.0/Makefile: use the 1.0 Microsoft AJAX library for this compat assembly

* System.Web/System.Web.Util/MachineKeySectionUtils.cs: made GetValidationKey public
mcs/class/System.Web.Extensions/System.Web.UI/ScriptManager.cs
mcs/class/System.Web.Extensions_1.0/Makefile
mcs/class/System.Web/System.Web.Handlers/AssemblyResourceLoader.cs
mcs/class/System.Web/System.Web.Util/MachineKeySectionUtils.cs