API Reference
HtmlAssetReferences
Makes generated pages reference the interactive runtimes as shared asset files instead of inlining them, so a bundle of many reports ships one copy of each runtime. Write the files with HtmlInteractiveAssetFiles.
Inheritance
- Object
- HtmlAssetReferences
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Accepted by parameters 2
Constructors
public HtmlAssetReferences(String basePath) #Initializes asset references rooted at basePath.
Parameters
- basePath System.String
- The folder or URL the pages load assets from, for example assets/, ../shared/cfx/, or https://reports.example.test/assets/. A trailing slash is added when missing. Only relative paths and http/https URLs are accepted; network paths (//host, \\server), queries, and fragments are rejected.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String BasePath { get; } #Gets the normalized base path, always ending with /.
public Boolean IncludeIntegrity { get; set; } #Gets or sets a value indicating whether script and stylesheet references carry a Subresource Integrity (sha384) attribute. Off by default because browsers skip integrity-checked assets loaded from file:// pages; enable it for hosted bundles. Integrity-checked assets are requested with crossorigin="anonymous", so assets on another origin must be served with CORS headers.