Questions tagged [azure]

Microsoft Azure is a Platform as a Service and Infrastructure as a Service cloud computing platform. Use this tag for programming questions concerning Azure. General server help can be obtained at Super User or Server Fault.

If you need help setting up Azure resources, ask those questions on Server Fault or Super User.

Microsoft Azure (formerly Windows Azure) is Microsoft's application platform for the public cloud. Microsoft Azure can be used to build web applications or services that run and store data in Microsoft data centres. It can connect on-premises applications with each other or map between different sets of identity information.

Azure offers several high-level services

Azure offers several services currently in preview

Intro to Azure

Each of these services offers the ability to scale up or down based on demand using predetermined virtual machine sizes to run the services.

Use this tag for questions relating to applications hosted on Azure.

Beginners' resources

Related Tags

134275 questions
151
votes
6 answers

Difference between "enterprise application" and "app registration" in Azure

Could someone please tell me what the difference is between "enterprise application" and "app registration" in Azure. Appreciate if you could give me an example & why some application cannot be registered under blade "Enterprise application" and…
POSH Guy
  • 1,798
  • 2
  • 11
  • 15
147
votes
16 answers

Could not load file or assembly System.Web.Http.WebHost after published to Azure web site

I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue? Could not load file or assembly 'System.Web.Http.WebHost, Version=5.0.0.0,…
ca9163d9
  • 27,283
  • 64
  • 210
  • 413
145
votes
12 answers

Stopping SQL Azure DB when not in use

Is there any way to stop a SQL Azure DB so that it doesn't charge anything towards our account? I don't want to delete it, just while in testing and it's not being used than we set it to "stopped" like we can do with websites, cloud services, and…
Matt
  • 3,305
  • 11
  • 54
  • 98
138
votes
22 answers

Azure table storage returns 400 Bad Request

I ran this in debug mode, and I attach an image with the details of the exception. How can I know what went wrong? I was trying to inset data in a table. Can't azure give me more details? Obs: The storage is on Windows Azure not on my machine. The…
Ryan
  • 5,456
  • 25
  • 71
  • 129
133
votes
6 answers

Azure SQL Database Bacpac Local Restore

I've created a BACPAC backup of my Azure SQL Database using the "Export" option within the Azure Management Console. Having downloaded this to my machine I'm a little stuck on how I can restore this to a local SQL Server instance. I came across the…
Ben Foster
  • 34,340
  • 40
  • 176
  • 285
129
votes
5 answers

How can I use NuGet packages in my Azure Functions?

Using Azure Functions, can I reference and use NuGet packages in my C# function?
128
votes
8 answers

Optimal way to concatenate/aggregate strings

I'm finding a way to aggregate strings from different rows into a single row. I'm looking to do this in many different places, so having a function to facilitate this would be nice. I've tried solutions using COALESCE and FOR XML, but they just…
matt
  • 2,857
  • 7
  • 33
  • 58
120
votes
8 answers

What is the difference between an Azure tenant and Azure subscription?

I am struggling to distinguish how an Azure Subscription and an Azure tenant are different? I have tried figuring it out using examples but each time I come to the conclusion that they are the same thing in a way? If a tenant is a dedicated instance…
DMQ95
  • 1,201
  • 3
  • 9
  • 8
118
votes
4 answers

In Windows Azure: What are web role, worker role and VM role?

The application I work on contains a web role: it's a simple web application. I needed to host the application in Windows Azure, so I created a web role. I actually want to know what these roles are for. What is their significance coding wise or…
118
votes
4 answers

Where can I find my Azure account name and account key?

I am starting with Windows Azure. I have an Azure account with Microsoft and would like to use it from my Visual Studio project In the Azure management portal, I can see the primary access key and secondary access key. However Visual Studio needs…
user380719
  • 9,663
  • 15
  • 54
  • 89
116
votes
9 answers

What is the simplest way to run a timer-triggered Azure Function locally once?

I have a few C# Azure Functions that run on a schedule using timer triggers. I've set them up like so, where %TimerSchedule% refers to a cron expression in the app settings: public static void Run([TimerTrigger("%TimerSchedule%")]TimerInfo myTimer,…
Reilly Wood
  • 1,753
  • 2
  • 12
  • 17
113
votes
11 answers

How to run Azure Function app on a different port in Visual Studio

I am setting local host port in local.setting.json. Referring Microsoft doc https://learn.microsoft.com/en-us/azure/azure-functions/functions-run-local The file looks like below { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "", …
Ramkumar Singh
  • 2,240
  • 4
  • 15
  • 18
112
votes
7 answers

What is the difference between an API App and a Web App?

I've been reading a few tutorials now on deploying Web Apps and API Apps to Azure. However, I am still a little unsure as to why you would use one over another. I can create a new .NET solution with API controllers and deploy this as a Web App, so…
envio
  • 1,315
  • 2
  • 10
  • 13
112
votes
13 answers

'Microsoft.SqlServer.Types' version 10 or higher could not be found on Azure

I'm trying to make a webapi in ASP.NET MVC 4. The webapi used Entity Framework 5 Spatial types and i have wrote a very simple code. public List GetAllAreas() { List aList = db.Areas.ToList(); return aList; …
Thomas Bolander
  • 3,892
  • 3
  • 22
  • 30
107
votes
9 answers

Password reset for Azure database

I have a new Azure account. I am able to log into the 'manage' page as admin, but I forgot the password to one of my databases. I would like to reset the password on that one DB. How do I do that? Microsoft doesn't seem to have a KB on that - at…
Yosem
  • 4,685
  • 3
  • 22
  • 29