System.Web.Optimization Namespace
The System.Web.Optimization namespace includes classes that support Content Delivery Networks (CDN) and the process of optimizing JavaScript and cascading style sheet (CSS) files in a website to reduce file size and improve page performance. The classes in this namespace enable developers to carry out bundling and minification tasks to optimize their JavaScript and CSS files.
| Class | Description | |
|---|---|---|
![]() | Bundle | Represents a list of file references to be bundled together as a single resource. |
![]() | BundleCollection | Contains and manages the set of registered Bundle objects in an ASP.NET application. |
![]() | BundleContext | Encapsulates the info needed to process a bundle request |
![]() | BundleDefinition | Represents a bundle definition as specified by the bundle manifest. |
![]() | BundleFile | Represents a single file within a bundle. |
![]() | BundleFileSetOrdering | Encapsulates a named set of files with relative orderings, for example jquery or modernizer. |
![]() | BundleManifest | Represents the XML configuration to configure the Bundles bundle collection. |
![]() | BundleModule | Represents a module that enables bundling to intercept requests to bundle URLs. |
![]() | BundleResolver | Represents a class that determine if a script reference is a bundle, and what it contains to prevent duplicate script references. |
![]() | BundleResponse | Encapsulates the response data that will be sent for a bundle request. |
![]() | BundleTable | Static holder class for the default bundle collection. |
![]() | CssMinify | Represents a IBundleTransform that does CSS minification. |
![]() | CssRewriteUrlTransform | Rewrites urls to be absolute so assets will still be found after bundling. |
![]() | DefaultBundleBuilder | Represents the default logic which combines files in the bundle. |
![]() | DefaultBundleOrderer | Provides default IBundleOrderer implementation which orders files in a bundle using FileSetOrderList. |
![]() | DynamicFolderBundle | Represents a Bundle object that ASP.NET creates from a folder that contains files of the same type. |
![]() | FileExtensionReplacementList | Represents a set of file extensions that will be used to select different files based on the OptimizationMode. |
![]() | IgnoreList | A list of filename patterns to be ignored and thereby excluded from bundles. |
![]() | JsMinify | Represents a BundleTransform that does CSS Minification. |
![]() | OptimizationSettings | Configuration settings used by the Optimizer class to generate bundle responses outside of ASP.NET applications. |
![]() | Optimizer | Represents a standalone class for generating bundle responses outside of ASP.NET |
![]() | PreApplicationStartCode | Hooks up the BundleModule |
![]() | ScriptBundle | Represents a bundle that does Js Minification. |
![]() | Scripts | Represents a type that allows queuing and rendering script elements. |
![]() | StyleBundle | Represents a bundle that does CSS minification. |
![]() | Styles | Represents a helper class for rendering link elements. |
| Interface | Description | |
|---|---|---|
![]() | IBundleBuilder | Specifies the building of the bundle from the individual file contents. |
![]() | IBundleOrderer | Defines methods for ordering files within a Bundle. |
![]() | IBundleResolver | Represents an interface used to query the BundleCollection for metadata. |
![]() | IBundleTransform | Defines a method that transforms the files in a BundleResponse object. |
![]() | IItemTransform | Defines the method that transforms the item in a bundle response object. |
| Enumeration | Description | |
|---|---|---|
![]() | OptimizationMode | OptimizationMode used by IgnoreList and FileExtensionReplacement. |
Show:
