Old version of Web App (2)

In an earlier post (see: Link), I discussed the problem that – right after deployment – an old version of a web app was activated where I expected the new version. This problem could be solved via app_setting DYNAMIC_CACHE. Recently I had a similar issue, despite the fact that DYNAMIC_CACHE was set to 0. I…

Azure Portal Dashboard

For Azure first line support it can come in very handy to create a dashboard in Azure. As an example we created the following dashboard at my current client A. Hak: As you can see, I’m showing the run history of a few important logic apps in text as wel as a few graphical charts…

Publish password empty

I am developing Azure apps via a client-hosted VM. The client told me to log on to the VM using another account. Everything fine until I tried to deploy a web app to Azure using a publish profile in Visual Studio. Suddenly the password in the publish profile was empty. Since I didn’t want to…

Large blobs to Azure Storage

Recently I had an issue whereby I couldn’t add a document with a size > 3MB to Azure blob storage. I store blobs to Azure storage via a custom API App named StorageConnector. To the web.config of this custom API App I had to add two settings to make it work: Node <System.Web> Add: <httpRuntime…

Swagger documentation for Java REST service

If you want the Swagger definition of a .Net WebAPI (or REST service), you can go to: http://host/courseresults/swagger for tyhe Swagger page. http://host/courseresults/swagger/docs/v1 for the Swagger document I didn’t know how to get the same Swagger documentation for a Java REST service. I don’t know if there’s a standard way, but this is how I…

API Management Gateway IP adres

I had a problem connecting to a backend service via API Management. I wanted to check whether the IP address from where the connection was made, i.e. the IP address of the API Management Gateway, wasn’t blocked by the firewall. I found this excellent Azure API Management FAQ with the answer to my question. How can…

Example policy implementation

I have an example policy implementation which can be used as a reference for future implementations. No rocket science, but just an example: <policies> <inbound> <set-variable name=”message-id” value=”@(Guid.NewGuid())” /> <set-variable name=”operation” value=”@(context.Operation.Name)” /> <log-to-eventhub logger-id=”loghuapimtest” partition-id=”0″> @(string.Join(“;”, “MessageId”, “Req_” + context.Variables[“message-id”], DateTime.UtcNow.ToString(“dd-MM-yyyy hh:mm:ss.FFF”), “ApimUrl”, context.Request.OriginalUrl, “BackendUrl”, context.Request.Url, “User”, context.User.Email, “CallerIP”, context.Request.IpAddress)) </log-to-eventhub> <rate-limit-by-key calls=”10″ renewal-period=”60″…