System.Web.Handlers.AssemblyResourceLoader Class

Provides an HTTP handler used to load embedded resources from assemblies. This class cannot be inherited.

See Also: AssemblyResourceLoader Members

Syntax

public sealed class AssemblyResourceLoader : System.Web.IHttpHandler

Remarks

The System.Web.Handlers.AssemblyResourceLoader class is an HTTP handler that enables an ASP.NET page or control to load embedded resources, such as client script, images, and data files, from a compiled .NET assembly. For more information on how to embed resources in a .NET assembly, see the documentation for the compiler that you use.

The System.Web.Handlers.AssemblyResourceLoader handler responds to requests made to URLs generated by the System.Web.UI.ClientScriptManager.GetWebResourceUrl(Type, string) method. Before responding to the request, the System.Web.Handlers.AssemblyResourceLoader handler ensures that the resource should be available directly over the Web.

The handler responds to requests of the form

Example

WebResource.axd?d=<encrypted identifier>&t=<time stamp value>

where <encryped identifier> uniquely identifies the requested Web resource and <time stamp value> is the time stamp for the requested assembly so that changes to the assembly can be detected and the cached resource invalidated.

This class supports the ASP.NET infrastructure and is not intended to be used directly from your code.

Requirements

Namespace: System.Web.Handlers
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0