Provides an HTTP handler used to load embedded resources from assemblies. This class cannot be inherited.
Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The 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 handler responds to requests made to URLs generated by the GetWebResourceUrl method. Before responding to the request, the 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.