After
I have changed from Port Azure Storage Emulator config to 10003,10004,10005 on 10000,10001,10002 File "C: \ Program Files (x86) \ Microsoft SdKs \ Azure \ Storage Emulator \ WAStorageEmulator.exe.config"
Now when I try to access the development storage from Visual Studio 2013 in Visual Studio it fails To access the updated ports, I can manually add external storage and following Tried to specify the last points to reflect the update ports with the information of default storage account information:
DefaultEndpointsProtocol = http
AccountName = devstoreaccount1
AccountKey = Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq / K1SZFPTOtr / KBHBeksoGMGw ==
BlobEndpoint =
QEidPoint =
TableEndpoint =
but it still does not have it Allow to connect I tried the same end point, but without storage account suffix When I refresh the external storage, it also pulls up to 100,000,000,000,000,000 ports. I think it is reading from some conference somewhere, but I can not find any answer from where it is being read.
So how can I configure server Explorer to reflect update ports?
ports are coded in tough CloudStorageAccount category so that no one can modifiy them:
Private Static CloudStorageAccount GetDevelopmentStorageAccount (Uri ProxyUri) {uriBuilder uriBuilder = proxyUri = (URI) Null? New UriBuilder (proxyUri.Scheme, proxyUri.Host): New UriBuilder ("http", "127.0.0.1"); UriBuilder.Path = "devstoreaccount1"; UriBuilder.Port = 10000; Uri Uri1 = Yuri Biler. URI; UriBuilder.Port = 10001; Uri Uuri2 = Uribilder. Uri; UriBuilder.Port = 10002; Uri Yuri 3 = Uribilder. Yuri; UriBuilder.Path = "devstoreaccount1-secondary"; UriBuilder.Port = 10000; Uri Uri 4 = Uribilder. Uri; UriBuilder.Port = 10001; Uri Uri5 = Uribilder. Uri; UriBuilder.Port = 10002; Uri uri6 = uriBuilder.Uri; CloudStorageAccount cloudStorageAccount = new CloudStorageAccount (New StorageCredentials ( "devstoreaccount1", "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq / K1SZFPTOtr / KBHBeksoGMGw =="), new StorageUri (uri1, uri4), New StorageUri (uri2, uri5), New StorageUri (uri3, uri6), (StorageUri )Zero); CloudStorageAccount.Settings = (ID Works & lt; String, String & gt;) New Dictionary & lt; String, string & gt; (); CloudStorageAccount.Settings.Add ("UseDevelopmentStorage", "true"); If (ProxyURI! = (Uri) tap) Cloud Storage ACCOUNT.Settings.Add ("DevelopmentStorageProxyUri", proxyUri.ToString ()); CloudStorageAccount.IsDevStoreAccount = true; Return cloud storage account; }
No comments:
Post a Comment