azure-storage

how can i synchronize different column's name in 2 differents database tables? [closed]

早过忘川 提交于 2019-12-25 06:44:26
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . Hi i would like to sync 2 different database and tables and columns.i created SYNC app. by using a sync framework.it is hosted by azure. also i've read below articles: http://jtabadero.wordpress.com/2011/08/19/part-4-synchronizing-tables-with-different-table-names-and-column-names/ http://www

Accessing Azure Tables from within a virtual network

倾然丶 夕夏残阳落幕 提交于 2019-12-25 05:33:42
问题 Is there any way to access an azure table using the API from within a virtual network? The storage account was created pre-virtual network. Currently, the code works fine (a test worker role) that creates a table, but fails when I place it inside a virtual network. It's not possible to report on the exception being thrown as nothing is shown in diagnostics CloudTable table = tableClient.GetTableReference("test"); bool retVal = table.CreateIfNotExists(); Thanks 回答1: I'm not sure how you're

CloudBlob.DownloadText method inserts additional character?

核能气质少年 提交于 2019-12-25 04:58:09
问题 The following unit test fails: [TestMethod] public void Add_file_to_blob_and_retrieve_it() { var blobName = Guid.NewGuid().ToString(); var testFileContents = File.ReadAllText(TestFileSpec); Trace.WriteLine(string.Format("Opening blob container {0}", UnitTestBlobAgentName)); CloudStorageAccount.SetConfigurationSettingPublisher( (configName, configSetter) => configSetter(ConfigurationManager.AppSettings[configName])); var cloudStorage = CloudStorageAccount.FromConfigurationSetting(

How do I do per-instance Azure Worker-Role configuration?

£可爱£侵袭症+ 提交于 2019-12-25 04:01:42
问题 In need to deploy 3 different worker roles but each needs it's own configuration (user name, password, etc.) to connect to a trading server. I can't share the credentials across the instances. If anyone knows how to accomplish this I would be very appreciative! Thanks... 回答1: Do you mean you have 1 Worker Role with 3 instances? You should switch to 3 Worker Roles instead (different projects in Visual Studio). This allows you to configure each Worker Role independently (double click each

How do I do per-instance Azure Worker-Role configuration?

醉酒当歌 提交于 2019-12-25 04:01:06
问题 In need to deploy 3 different worker roles but each needs it's own configuration (user name, password, etc.) to connect to a trading server. I can't share the credentials across the instances. If anyone knows how to accomplish this I would be very appreciative! Thanks... 回答1: Do you mean you have 1 Worker Role with 3 instances? You should switch to 3 Worker Roles instead (different projects in Visual Studio). This allows you to configure each Worker Role independently (double click each

How to read the file content and parse the CSV file from BLOB in Azure?

99封情书 提交于 2019-12-25 00:56:54
问题 I have stored the csv file in blob container and try to read the content from logic app in azure. But i am facing issue to get the contect and iterate the same. Please help with flow. 回答1: You could combine the logic app with Azure Function to implement it. Blob connector to get the file . Pass CSV content to function and return JSON Iterate the row values. And about the Azure Function you could refer to this blog, in this example it has a complete Logic flow to convert csv into Json. Hope

Connection of StorageExplorer to AzureStack still not working

跟風遠走 提交于 2019-12-24 23:07:45
问题 I am now using the current Azure Dev Pack (18.03). When following the tutorial for connection there is now the following error when trying to connect: The problem is, that the tutorial is only mentioning the following dialog for connecting a storage: where the ARM endpoint has to be set to "https://adminmanagement.local.azurestack.external". But after this dialog another dialog is shown which is not mentioned in the documenation at all: Here it is not clear what is meant by the "Sign in

JSON format Not supported exception from Azure storage REST API

☆樱花仙子☆ 提交于 2019-12-24 21:48:19
问题 I am working on REST API calls on Azure storage table, I am successful to query table and get response in xml format but when I try to change the Accept header to JSON I am getting the exceptions. Note: I set the value of x-ms-version to 2018-03-28 headers.put("Authorization", "SharedKey " + store + ":" + hash); headers.put("x-ms-date", date); // headers.put("x-ms-version","2009-09-19"); headers.put("x-ms-version","2018-03-28"); headers.put("Accept-Charset","UTF-8"); // headers.put("Accept",

C#-Azure function:How to log message to Queue storage when calling to “HTTP Trigger” azure function?

久未见 提交于 2019-12-24 19:10:57
问题 I have a azure function with "HTTP Trigger" in C#. I want to log a message to queue storage when I invoke azure function with "HTTP trigger". When "HTTP trigger" is invoked it logs a message (log.info("C# Http trigger....");) somewhere else but I want to this log message along with ipaddress, (when user makes request to "HTTP trigger" function) to be stored in Queue storage (log.info("C# Queue trigger ",ipaddress)) so that I can block client ipaddress for a day, if user makes calls to api

azure createBlockBlobFromLocalFile shows no such file or directory

旧城冷巷雨未停 提交于 2019-12-24 18:40:37
问题 I am trying to uploading file using azure-storage function createBlockBlobFromLocalFile() . But when i upload the file i am getting error like { Error: ENOENT: no such file or directory, stat 'D:\path\task1.txt' errno: -4058, code: 'ENOENT', syscall: 'stat', path: 'D:\path\task1.txt' } But my file is inside the same path that i am using to run the file. So this means the uploading file and code both in same folder. Here is the code which i am trying to upload var azureStorage = require('azure