using System;
using System.Web;
using CMS.SettingsProvider;
using CMS.AzureStorage;
///
/// Intitializes Windows Azure web role when its running using full IIS.
///
public class AzureInit
{
#region "Variables"
private static AzureInit mCurrent = null;
private static object objLock = new object();
#endregion
#region "Properties"
///
/// Returns Azure init object.
///
public static AzureInit Current
{
get
{
if (mCurrent == null)
{
lock (objLock)
{
if (mCurrent == null)
{
mCurrent = new AzureInit();
}
}
}
return mCurrent;
}
}
#endregion
#region "Methods"
///
/// Code executed on application starts.
///
public void ApplicationStartInit()
{
}
///
/// Code executed on BeginRequest event.
///
public void BeginRequestInit()
{
}
#endregion
}