Category: Debugging

VNET connection between Azure Function or App Service stops working – Service Association Links

Azure Benjamin Perkins

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 →

Find method parameters with WinDbg

WinDbg Benjamin Perkins

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

Debugging Benjamin Perkins

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 →

Azure Function 400 Bad Request

Azure Functions Benjamin Perkins

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 →