Table of Contents

Class AzureHelper

Namespace
CMS.Helpers
Assembly
CMS.Helpers.dll

Helper methods and properties for Microsoft Azure integration.

[Obsolete("Class was not intended for public use and will be removed.")]
[ObsoleteSince(29, 6)]
public class AzureHelper
Inheritance
object
AzureHelper
Extension Methods

Fields

AZURE_FILE_PAGE

Path to azure file page.

public const string AZURE_FILE_PAGE = "~/CMSPages/GetAzureFile.aspx"

Field Value

string

QUEUE_TIMEOUT

Timeout for getting message from queue.

public const int QUEUE_TIMEOUT = 1

Field Value

int

SQLAZURE_DOMAIN

Domain of SQL Azure service.

public const string SQLAZURE_DOMAIN = "database.windows.net"

Field Value

string

Properties

BlobUrl

Gets or sets URL of blob endpoint.

public static string BlobUrl { get; set; }

Property Value

string

Methods

GetDownloadPath(string)

Returns download path for given path.

public static string GetDownloadPath(string path)

Parameters

path string

Path

Returns

string

IsAzureStagingDomain(string)

Returns true if current domain is Azure staging domain.

[Obsolete("The member is deprecated and will be removed in the next version.")]
[ObsoleteSince(30, 0)]
public static bool IsAzureStagingDomain(string domain)

Parameters

domain string

Domain to check.

Returns

bool

IsSQLAzureServer(string)

Returns whether SQL server is SQL Azure according to its name.

public static bool IsSQLAzureServer(string serverName)

Parameters

serverName string

Server name to check

Returns

bool