There is perhaps another way to do this, but I wasn’t able to find any documentation about configuring an Azure App Service or Azure Function here. After I created the APIM and API hosted on App Service I received a HTTP/1.1 404 Not Found when I tried testing it from the APIM portal. Figure 1, […]
Read More →Tags: Debugging
Debugging an ASP.NET Core app using WinDbg, plus some other information
Things change and as I always say “that’s better than the alternative”. Although I have yet to put my finger on it, the behavior I experience when debugging Core applications is different than those which have come before. If I ever do figure out the specifics of those differences, I will write them down and […]
Read More →FAILED TO INITIALIZE RUN FROM PACKAGE.txt
I was doing some deployments to an Azure Function and found this text file in my d:\home\site\wwwroot directory. This can happen if you are trying to run an Azure Function from package, which is discussed here. Real fast, the way you get this to happen is by making a deployment, then after the deployment is […]
Read More →IIS HTTP status codes 408, 502.3, 502.5 and 500.37
In this post, these status codes have to do with ASP.NET Core running on IIS. ASP.NET Core uses a module to direct the request to Kestrel which can be referred to as a proxy. When there is a timeout in the ASP.NET Core application it will return a 408 to the IIS proxy. An HTTP […]
Read More →VNET connection between Azure Function or App Service stops working – Service Association Links
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 →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 →