Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CdnPath Property

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)

public string CdnPath { get; set; }

Property Value

Type: System.String
An alternate URL for the bundle when it is stored in a content delivery network.

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 and UseCdn must equal true.

Show:
© 2015 Microsoft