AssemblyResourceLoader AssemblyResourceLoader AssemblyResourceLoader AssemblyResourceLoader Class

Definition

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

public ref class AssemblyResourceLoader sealed : System::Web::IHttpHandler
public sealed class AssemblyResourceLoader : System.Web.IHttpHandler
type AssemblyResourceLoader = class
    interface IHttpHandler
Public NotInheritable Class AssemblyResourceLoader
Implements IHttpHandler
Inheritance
AssemblyResourceLoaderAssemblyResourceLoaderAssemblyResourceLoaderAssemblyResourceLoader
Implements

Remarks

The 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 AssemblyResourceLoader handler responds to requests made to URLs generated by the GetWebResourceUrl method. Before responding to the request, the AssemblyResourceLoader handler ensures that the resource should be available directly over the Web.

The handler responds to requests of the form

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.

Constructors

AssemblyResourceLoader() AssemblyResourceLoader() AssemblyResourceLoader() AssemblyResourceLoader()

Initializes a new instance of the AssemblyResourceLoader class. This constructor supports the ASP.NET infrastructure and is not intended to be used directly from your code.

Explicit Interface Implementations

IHttpHandler.IsReusable IHttpHandler.IsReusable IHttpHandler.IsReusable IHttpHandler.IsReusable

Gets a value that indicates whether another request can reuse the IHttpHandler instance.

IHttpHandler.ProcessRequest(HttpContext) IHttpHandler.ProcessRequest(HttpContext) IHttpHandler.ProcessRequest(HttpContext) IHttpHandler.ProcessRequest(HttpContext)

For a description of this member, see ProcessRequest(HttpContext).

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also