daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Windows Azure Table Storage Webrole.cs vs. global.asax.cs
  2. CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSettingPublisher) =>
  3.            {
  4.                var connectionString = RoleEnvironment.GetConfigurationSettingValue(configName);
  5.                configSettingPublisher(connectionString);
  6.            }
  7.           );
  8.  var account =
  9.                   CloudStorageAccount.FromConfigurationSetting(
  10.                   Constants.KEY_STORAGE);
  11.  
  12.              //create table
  13.              var client = account.CreateCloudTableClient();
  14.              client.CreateTableIfNotExist(Constants.EMAILMERGE_TABLE);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top