azure-sdk-.net

Connecting existing asp.net application to azure sql server vm without SDK

余生颓废 提交于 2019-12-11 10:53:29
问题 I need to be moving an existing Asp.NET application to Azure, where I've also set up a virtual machine hosting sql server. Now, I obviously don't want to keep deploying all the time, and I haven't even configured Azure for the application to exist within yet. I only want to make sure I can get the application to connect to the sql server instance on the virtual machine. I'm a complete newbie when it comes to Azure. So I've absolutely no idea what I'm doing, but I'm using tutorials and good ol

Fault tolerance in Copy Activity by skipping incompatible rows

六月ゝ 毕业季﹏ 提交于 2019-12-11 07:35:42
问题 I use Azure Fucntion with Azure SDK and Azure Data Factory, is there any way to get value of skippedRowCount of Activity Window when applying "log the incompatible rows" in Copy Activity (Source: Blob Storage, Sink: SQL Data Warehouse)? 回答1: From the documentation here : Monitor skipped rows, looks like a log file is automatically generated when log incompatible rows is enabled at https://[your-blob-account].blob.core.windows.net/[path-if-configured]/[copy-activity-run-id]/[auto-generated

Only one instance works with Azure October 2012 SDK on IIS7.5

两盒软妹~` 提交于 2019-12-11 04:03:51
问题 I just upgraded my Azure solution to VS2012 and October 2012 version. I have 2 webroles but only 1 of them is working now when I look it from IIS Manager. I'm sure of it because my webrole's inter-role communication requests are failing too. First I tought it can be another problem so I asked this question: Windows 8 Azure Emulator is Remapping Port 80 to 81 Here you can see my IIS Manager: 回答1: I had the same issue, and RESOLVED it following the suggested Registry hack here: Strange behavior

How to enumerate Azure subscriptions and tenants programmatically?

吃可爱长大的小学妹 提交于 2019-12-10 23:19:41
问题 How to enumerate Azure subscriptions and tenants programmatically? This is related to my previous question Login-AzureRmAccount (and related) equivalent(s) in .NET Azure SDK. Basically I try to replicate the behavior of Login-AzureRmAccount and Get-AzureRmSubscription in desktop or a console application. Thus far I've figured out MSAL seems to always require client ID and tenant ID, so there needs to be some other library to acquire those from. After this I would like to go about creating a

Azure SDK, Trace.Information and WADLogsTable

大城市里の小女人 提交于 2019-12-10 14:20:02
问题 I am writing a new Cloud Service in .NET using Azure SDK 2.5. I'm aware that there have been some significant changes to diagnostics with the 2.5 SDK rekesae. Where I am getting conflicting information is whether or not I can still use Azure Diagnostics to capture Trace.* output to WADLogsTable in Azure Table Storage? I'm aware that I can use ETW as an alternative, but that's now what I'm asking for. According to this article I can still use Trace to capture my logs with Azure Diagnostics 1.3

How to create app registration using Azure SDK

▼魔方 西西 提交于 2019-12-10 10:05:47
问题 I need to create an app registration with Azure AD using Azure SDK (or using rest api call, if it's not possible with SDK) normally you do it manually using portal: or calling Azure CLI command az ad app create How can I do it from SDK or REST service 回答1: There are 2 possible ways to do this. You can pick what works based on your scenario. Microsoft Graph API Beta Endpoint Microsoft Graph API Beta endpoint and working with Application resource (as answered by Jean-Marc Prieur earlier too).

Azure: How to move messages from poison queue to back to main queue?

本小妞迷上赌 提交于 2019-12-09 14:42:35
问题 I'm wondering if there is a tool or lib that can move messages between queues? Currently, i'm doing something like below public static void ProcessQueueMessage([QueueTrigger("myqueue-poison")] string message, TextWriter log) { CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connString); CloudQueueClient queueClient = storageAccount.CreateCloudQueueClient(); CloudQueue queue = queueClient.GetQueueReference("myqueue"); queue.CreateIfNotExists(); var messageData = JsonConvert

Scale Azure WebApp using .NET SDK

痴心易碎 提交于 2019-12-08 08:56:13
问题 Description of the Microsoft.WindowsAzure.Management.WebSites NuGet package says that it " Provides management capabilities for Microsoft Azure Web Sites. Deploy, configure, debug, and scale your websites " What class and methods should I use to perform a scaling operation? My previous question on this topic was marked as duplicated, but I don't agree, here is an explanation: Scale Azure web app with Azure Management Libraries for .NET 回答1: Try this PSEUDO code. You'll need to transform

Reserved IP's for Azure Resource Manager based Virtual machines

大兔子大兔子 提交于 2019-12-08 06:45:17
问题 The Question is twofold. Firstly, What is the way to assign a reserved IP address as a public IP to a resource manager based virtual machine. Does it only involve setting IP allocation method to static in template file (then assigning that to NIC hence the VM of course) or there is some other way to do this, i have read over the internet about load balancers but i am not getting how to use them using a template file, please refer any links. Secondly, does any rest api or .net sdk exist to