You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i try to use your code but unable to compile:
Error CS0103 The name 'Azure' does not exist in the current context AzureStorageExample C:\Users\PeterCheung\desktop\AzureStorageExample\AzureStorageExample\Form1.cs 30 Active
This line "var azure = Azure.Configure()" not working
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.Azure.Management.ResourceManager.Fluent;
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
using Microsoft.Azure.Management.Storage.Fluent;
var credentials = SdkContext.AzureCredentialsFactory.FromFile(Environment.GetEnvironmentVariable("AZURE_AUTH_LOCATION"));
var azure = Azure
.Configure()
.WithLogLevel(HttpLoggingDelegatingHandler.Level.Basic)
.Authenticate(credentials)
.WithDefaultSubscription();
IStorageAccount storage = azure.StorageAccounts.Define("test_storage_account")
.WithRegion()
.WithNewResourceGroup("test_resource_group")
.Create();
The text was updated successfully, but these errors were encountered:
Hello, i try to use your code but unable to compile:
Error CS0103 The name 'Azure' does not exist in the current context AzureStorageExample C:\Users\PeterCheung\desktop\AzureStorageExample\AzureStorageExample\Form1.cs 30 Active
This line "var azure = Azure.Configure()" not working
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.Azure.Management.ResourceManager.Fluent;
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
using Microsoft.Azure.Management.Storage.Fluent;
The text was updated successfully, but these errors were encountered: