Click or drag to resize
AzureHelper Class
Helper methods and properties for Microsoft Azure integration.
Inheritance Hierarchy
SystemObject
  CMS.BaseAzureHelper

Namespace: CMS.Base
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public class AzureHelper

The AzureHelper type exposes the following members.

Constructors
  NameDescription
Public methodAzureHelper
Top
Methods
  NameDescription
Public methodStatic memberGetDownloadPath
Returns download path for given path.
Public methodStatic memberIsAzureStagingDomain
Returns true if current domain is Azure staging domain.
Public methodStatic memberIsSQLAzureServer
Returns whether SQL server is SQL Azure according to its name.
Public methodStatic memberRestartAzureInstance
Restarts Azure instance.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberAZURE_FILE_PAGE
Path to azure file page.
Public fieldStatic memberQUEUE_TIMEOUT
Timeout for getting message from queue.
Public fieldStatic memberSEARCH_INIT_SLEEP
Sleep interval between tries for init of smart search worker role.
Public fieldStatic memberSEARCH_PROCESS_SLEEP
Sleep interval between starting of task processor.
Public fieldStatic memberSQLAZURE_DOMAIN
Domain of SQL Azure service.
Top
Properties
  NameDescription
Public propertyStatic memberBlobUrl
Gets or sets url of blob endpoint.
Public propertyStatic memberCurrentInstanceID
Gets or sets current instance id.
Public propertyStatic memberCurrentInternalEndpoint
Gets or sets internal endpoint of current instace.
Public propertyStatic memberDeploymentID
Deployment id of instance.
Public propertyStatic memberNumberOfInstances
Number of Azure instances within webrole.
Top
Events
  NameDescription
Public eventStatic memberOnRestartRequired
Event which is trown when Azure application should be restarted.
Top
See Also