private void SetupProbeTable() { //setup probe table CloudStorageAccount storageAccount = CloudStorageAccount.Parse(realCloudStorageAccount); _probeTable = new AzureTable <ProbeSnapshotEntry>(storageAccount); _probeTable.CreateIfNotExist(); }
/// <summary> /// Initializes a new instance of the <see cref="ProbeController"/> class. /// </summary> /// <param name="context">The context.</param> public ProbeController(IDbContext context) : base(context) { //Get the Azure Storage Account string connection = ConfigurationManager.ConnectionStrings[WadConnectionString].ConnectionString; CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connection); _probeTable = new AzureTable <ProbeSnapshotEntry>(storageAccount); _probeTable.CreateIfNotExist(); }