.NET Framework Class Library
AssemblyResourceLoader Class

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

Namespace:  System.Web.Handlers
Assembly:  System.Web (in System.Web.dll)
Syntax

Visual Basic (Declaration)
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class AssemblyResourceLoader _
    Implements IHttpHandler
Visual Basic (Usage)
Dim instance As AssemblyResourceLoader
C#
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class AssemblyResourceLoader : IHttpHandler
Visual C++
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class AssemblyResourceLoader sealed : IHttpHandler
JScript
public final class AssemblyResourceLoader implements IHttpHandler
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.

.NET Framework Security

Inheritance Hierarchy

System..::.Object
  System.Web.Handlers..::.AssemblyResourceLoader
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference

Tags :


Page view tracker