I have this Azure Function that is integrated with an Azure Virtual Network, using Regional integration as shown in Figure 1. Where Regional VNET Integration is ARM based and the resources are located in the same Azure region. The other type of VNET integration is uses the classic integration method or if you need to […]
Read More →Category: Debugging
Creating a W3WP Memory dump on Windows Server 2003
On a web server with multiple application pools, there most likely will be multiple W3WP processes. Therefore, the first action to take when creating a memory dump of a W3WP worker process is to find which one you need to get the dump of. I wrote a short article on how to get a worker […]
Read More →Redis Cache on Azure App Service is slow
I worked on this issue and wanted to write it down because I love it when I can execute the WinDbg commands in my “Must use, must know WinDbg commands, my most used” article and find the reason for the problem. I executed !sos.threadpool and did see that the CPUs were pretty high, as seen […]
Read More →Why does my Azure Function sometimes stop being triggered
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 need a note to get your ideas optimally flowing […]
Read More →Find method parameters with WinDbg
I wrote this article, see the bottom where I do the memory dump analysis and wanted to expand on it some. Simply, if you are running managed code then you can decompile the source and see what the value of the Int32 passed to the Sleep() method, Figure 1. I explained how to save the […]
Read More →System.Diagnostics.Trace Application Logging Log Stream on Azure App Service Function App
Here is what I wanted to do. Add some code like this to my ASP.NET application. using System.Diagnostics; … System.Diagnostics.Trace.WriteLine(“System.Diagnostics.Trace.WriteLine() in the Page_Load method”); Trace.Write(“Trace.Write() in the Page_Load method”); System.Diagnostics.Trace.TraceError(“System.Diagnostics.Trace.TraceError() in the Page_Load method”); System.Diagnostics.Trace.TraceWarning(“System.Diagnostics.Trace.TraceWarning() in the Page_Load method”); System.Diagnostics.Trace .TraceInformation(“System.Diagnostics.Trace.TraceInformation() in the Page_Load method”); Then I wanted to write those logs out to […]
Read More →How to get computer name, host name from a memory dump, WinDbg
It is very important to have some back ground on what was happening when the memory dump was taken. This helps you detemermin which WinDbg commands to execute and provides you some context on how to interpret the output of those commands. I wrote this article here which explain my favorite WinDbg commands. I was […]
Read More →Azure Function 400 Bad Request
I was writing these articles and received this error when calling my Azure Function: [Info] The following Exception happened: Response status code does not indicate success: 400 (Bad Request). Create an Azure Key Vault secret Using Managed Service Identity MSI with and Azure App Service or an Azure Function How to connect to a database […]
Read More →Troubleshooting App Service Hybrid Connection Manager
I wrote this article “Enable logging for your Hybrid Connection Manager, troubleshooting”, but that was for the deprecated Hybrid Connection feature which uses Azure Biztalk. You would see any ‘classic’ connections in the ‘Classic hybrid connections’ area on the Hybrid connections as seen in Figure 1. Figure 1, classic hybrid connections If you are running […]
Read More →An error occurred
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 created from Visual Studio Check out all my Azure Functions […]
Read More →