Bundle.CdnPath Property
Gets or sets an alternate URL for the bundle when it is stored in a content delivery network.
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public Property CdnPath As String
Get
Set
'Usage
Dim instance As Bundle
Dim value As String
value = instance.CdnPath
instance.CdnPath = value
public string CdnPath { get; set; }
public:
property String^ CdnPath {
String^ get ();
void set (String^ value);
}
member CdnPath : string with get, set
function get CdnPath () : String
function set CdnPath (value : String)
Property Value
Type: System.String
An alternate URL for the bundle when it is stored in a content delivery network.
Remarks
In order to configure the Web optimization framework to emit links to the a bundle’s CDN URL, the CdnPath value must not be null reference (Nothing in Visual Basic) and UseCdn must equal true.