How to use Fiddler to Debug Azure App Service issues (with authentication)

Sometimes it is difficult to isolate Azure App Service issues to determine is the problem is the client or server.  You can remove the client easily using a tool like Fiddler or Postman however is you are using authentication there are some tricks you need to use.  I will demonstrate this with Azure Mobile Apps,…

0

How to use Fiddler to Debug Azure App Service issues (with authentication)

Sometimes it is difficult to isolate Azure App Service issues to determine is the problem is the client or server.  You can remove the client easily using a tool like Fiddler or Postman however is you are using authentication there are some tricks you need to use.  I will demonstrate this with Azure Mobile Apps,…

0

Run an async task in a console app and return a result

I had someone ask how to run an async task in Main of a console app.  Yes there are different ways to do it and this is just one!   using System; using System.Net.Http; using System.Threading.Tasks; namespace UrlAuth { class Program { static void Main(string[] args) { try { // Start a task – calling…

3

Automating EasyTables for Azure Mobile Apps

You could use the Azure CLI to create Azure Mobile Service tables for the node.js backend.  You can no longer do this but there is a much easier solution.  You can simply drop a .json file in the ‘Tables’ directory and when the app starts it will create the table in the database and make…

0

Execute Transactions from Azure Mobile App API (node.js)

Using the Azure Mobile App API interface (like: https://mymobileapp.azurewebsites.net/api/doTransActionStuff ) with a node.js backend, I found documentation around executing SQL Transactions a little light.  So… Here are some options you could use: 1. Call a stored procedure that does everything for you This would be the way I would do it!  Stick all of the…

0

How to deny HTTP methods (or verbs) in Azure Web Apps

If you want to deny HTTP methods or verbs in Azure Web Apps you can do this be changing your web.config file. Add the following or create the following sections if they do not exist in your <configuration> section of your Azure Web App, web.config file: <system.webServer>    <validation validateIntegratedModeConfiguration=”false” />    <modules runAllManagedModulesForAllRequests=”true” />    <handlers>        <add…

1

Easy tables, Easy APIs error message ‘Unsupported Service’

Overview When you try to access or create Easy tables or Easy APIs in Azure App Services or Azure Mobile Apps you may get this error message in the portal: Unsupported service. Cause Easy tables and Easy APIs are only available to an Azure Mobile App that has been created initially as an Azure Mobile…

0

Azure Mobile Service Creation fails "this name is already in use"

Just a quick blog on this… Problem You cannot create an Azure Mobile Service.  You enter a unique name when creating the Mobile Service but get an error:  “this name is already in use” and a red exclamation mark.   Reason Mobile Services are deprecated, that is why you cannot create one. Please see this…

0

Troubleshooting Retrieving Certificates in Azure App Services

You can upload and use Certificates securely in your Azure App Service (Azure Web App, Azure Mobile App etc… ).  If you are having trouble, here are some basic troubleshooting steps. Example error: ”cannot find certificate with thumbprint” Is your certificate loaded in your Resource Group?  You can search for the thumbprint using the Azure…

0

How to Add Custom Domains to Azure Web Apps Using Powershell

Just another quicky post: If you need to add a custom domain to an Azure Web App you can use Powershell.  Powershell does the same verification that the UI does and is just another way to accomplish setting the custom domain or domains. Note that you don’t set, nor can you change the default azurewebsites.net…

1