azure

Parallel Bulk Inserting with SqlBulkCopy and Azure

馋奶兔 提交于 2021-02-07 06:42:25
问题 I have an azure app on the cloud with a sql azure database. I have a worker role which needs to do parsing+processing on a file (up to ~30 million rows) so i can't directly use BCP or SSIS. I'm currently using SqlBulkCopy, however this seems too slow as I've seen load times of up to 4-5 minutes for 400k rows. I want to run my bulk inserts in parallel; however reading through the articles on importing data in parallel/controlling lock behaviour, it says that SqlBulkCopy requires that the table

Azure Active Directory Logout with ADAL library

僤鯓⒐⒋嵵緔 提交于 2021-02-07 06:21:31
问题 I used the my Azure Active Directory to protect my web API and I create a native application in the Azure management portal. This native application is basically a MVC web application and I use the ADAL library to get the token and call the api with that token. The code I used to get the token is shown below: AuthenticationContext ac = new AuthenticationContext(authority); AuthenticationResult ar = ac.AcquireToken(resourceID, clientID, redirectURI); string accessToken = ar.AccessToken; Now I

How can I view an image from Azure Blob Storage, rather than download it?

◇◆丶佛笑我妖孽 提交于 2021-02-07 06:14:58
问题 Ok, so I am using Node.js and Azure Blob Storage to handle some file uploads. When a person uploads an image I would like to show them a thumbnail of the image. The upload works great and I have it stored in my blob. I used this fine link (Generating Azure Shared Access Signatures with BlobService.getBlobURL() in Azure SDK for Node.js) to help me create this code to create a share access temporary url. process.env['AZURE_STORAGE_ACCOUNT'] = "[MY_ACCOUNT_NAME]"; process.env['AZURE_STORAGE

How can I view an image from Azure Blob Storage, rather than download it?

不羁的心 提交于 2021-02-07 06:13:47
问题 Ok, so I am using Node.js and Azure Blob Storage to handle some file uploads. When a person uploads an image I would like to show them a thumbnail of the image. The upload works great and I have it stored in my blob. I used this fine link (Generating Azure Shared Access Signatures with BlobService.getBlobURL() in Azure SDK for Node.js) to help me create this code to create a share access temporary url. process.env['AZURE_STORAGE_ACCOUNT'] = "[MY_ACCOUNT_NAME]"; process.env['AZURE_STORAGE

How can I view an image from Azure Blob Storage, rather than download it?

可紊 提交于 2021-02-07 06:12:18
问题 Ok, so I am using Node.js and Azure Blob Storage to handle some file uploads. When a person uploads an image I would like to show them a thumbnail of the image. The upload works great and I have it stored in my blob. I used this fine link (Generating Azure Shared Access Signatures with BlobService.getBlobURL() in Azure SDK for Node.js) to help me create this code to create a share access temporary url. process.env['AZURE_STORAGE_ACCOUNT'] = "[MY_ACCOUNT_NAME]"; process.env['AZURE_STORAGE

How can I view an image from Azure Blob Storage, rather than download it?

喜欢而已 提交于 2021-02-07 06:09:32
问题 Ok, so I am using Node.js and Azure Blob Storage to handle some file uploads. When a person uploads an image I would like to show them a thumbnail of the image. The upload works great and I have it stored in my blob. I used this fine link (Generating Azure Shared Access Signatures with BlobService.getBlobURL() in Azure SDK for Node.js) to help me create this code to create a share access temporary url. process.env['AZURE_STORAGE_ACCOUNT'] = "[MY_ACCOUNT_NAME]"; process.env['AZURE_STORAGE

Don't delete AppSettings not declared in a template

限于喜欢 提交于 2021-02-07 05:27:35
问题 When deploying an Azure Function App and AppSettings via an ARM Template , is it possible to tell Azure not to delete AppSettings that are not declared in the template? For example, take the following AppSettings config from the template and imagine that I'm updating an existing Function App . In this case, an AppSetting called storageaccountname_STORAGE would be deleted, which is undesirable as (for example) it has been created to facilitate a binding. { "apiVersion":"2016-08-01", "name":

How to resolve error 500 on Azure web app?

随声附和 提交于 2021-02-07 04:48:14
问题 What I have: VS2015U2 ASP.NET 5 MVC 6 website Deployed to Azure Web App The site works locally When I deploy to Azure I get internal server error (500) I'm unable to Attach a debugger since they messed up something with the latest versions (tried manually too https://azure.microsoft.com/en-us/blog/introduction-to-remote-debugging-on-azure-web-sites/) I have app.UseDeveloperExceptionPage(); but I guess the site is failing during configuration so it doesn't display any other information. So how

Azure Storage Table API REST with Curl

不羁岁月 提交于 2021-02-07 04:38:35
问题 I need help to print an entity with Rest in shell script. I tried several ways, but without success. Here is my code, running it, it will return all entities in my table. But I need it to return only a specific value and that is only using PartitionKey. #!/bin/bash # List the tables in an Azure storage container. storage_account="Secret" table_name="teste" access_key="Secret" table_store_url="table.core.windows.net" authorization="SharedKey" request_method="GET" request_date=$(TZ=GMT LC_ALL

How to fix Github to Azure DevOps Sync?

≡放荡痞女 提交于 2021-02-07 04:37:40
问题 I have a synchronization between Azure DevOps and Github to sync the Github repo with the repo in Azure Devops. End of last year everything works fine. This year the synchronization do not work anymore. The failure message was fatal: could not read Password for 'https://$(XXXXXXXXXToken)@yyyyyy.visualstudio.com': terminal prompts disabled ' I have forgotten, that the PAT expires on 31.12.2019. So I recreated the pipeline, instead of just changing the expiration date of the PAT. facepalm . My