Debugging Docker Containers (attaching)

The Azure Developer Community blog has moved! Find this blog post over on our new blog at the Microsoft Tech Community: https://techcommunity.microsoft.com/t5/Azure-Developer-Community-Blog/Debugging-Docker-Containers-attaching/ba-p/338698 ================= Visual Studio has excellent built in support for working with Docker containers and most of the examples on the web are written with those tools installed. But what about the situation where the…

4

Debugging .NET Apps with Time Travel Debugging (TTD)

When you are debugging an application, there are many tools and techniques you can use, like logs, memory dumps and Event Tracing for Windows (ETW). In this post, we will talk about Time Travel Debugging, a tool used by Microsoft Support and product teams and more advanced users, but I encourage everyone to try this…


The number 400

What is significant about the number 400? 400 is 20² 400 is divisible by: 1, 2, 4, 5, 8, 10, 16, 20, 25, 40, 50, 80, 100, 200, 400 400 equals 2⁴ * 5² or ( 2*2*2*2*5*5) 400 is a self-number which are generated by this formula:  You can write 400 like this: four hundred,…

1

ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER

I was publishing an ASP.NET Core application, straight to production, which is a no-no, no-go and got this error, also seen in Figure 1. Figure 1, publishing to an Azure App Service, straight to production When you deploy directly to the production slot of an Azure App Service and there is traffic on the app…


Why does my Azure Function sometimes stop being triggered

I moved this post to its new home here: https://benperk.github.io/msdn/2018/2018-08-why-does-my-azure-function-sometimes-stop-being-triggered.html Azure is so awesome because the features it provides are so very dynamic and flexible.  The platform provides a starting point for the fruition of ideas, ideas only limited by ones imagination.  With its dynamic nature and the flexibility it delivers to consumers, sometimes you just…


Generating a SQL Server, SSAS, SSIS, SSRS, SQL Agent Memory Dump via PowerShell script (and SQLDumper.exe)

Recently, we published a PowerShell script to create memory dumps of SQL Server, SSAS, SSRS, and SSIS – called it SQLDumpHelper.ps1 . The PS script uses SQLDumper.exe and it makes it very easy to generate the dumps by avoiding having to look up SQLDumper.exe command switches. (Update Dec 2018) Update the script to support a…


How (I) would handle a timeout in Azure Function

I have moved this page to its new home here:  https://benperk.github.io/msdn/2018/2018-06-how-i-would-handle-a-timeout-in-azure-function.html I wrote this article about adding a host.json file to an Azure Function “How to add a HOST.JSON file to an Azure Function” and while I was breaking it, I saw a behavior which I didn’t expect. The behavior was that my code within…


How to add a HOST.JSON file to an Azure Function

I have written numerous articles about Azure Functions, view them here.  I have moved this page to this new location:  https://benperk.github.io/msdn/2018/2018-06-how-to-add-a-host-json-file-to-an-azure-function.html The fact is, the HOST.JSON file is created for you when the Azure Function App is created originally/initially and it does not need to be added.  I expected to see it when I expanded…


An error occurred

This article has been moved to its new home here:  https://benperk.github.io/msdn/2018/2018-04-an-error-occurred.html While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure…


Publish failed

This article has been moved to its new home here: https://benperk.github.io/msdn/2018/2018-04-publish-failed.html While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function…