GetCdnUrl Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Mvc.RazorPages
- Assemblies
- Cuemon.Extensions.AspNetCore.Mvc.RazorPages.dll
GetCdnUrl(PageBase, string)
Gets the fully qualified URL for a static resource placed outside your application (typical CDN).
public static string GetCdnUrl(this PageBase pageModel, string src)
Parameters
Returns
- string
A concatenated string of the formatted base URL from CdnTagHelperOptions and the specified
src.