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 →Named Pipes and Azure App Services
According to this “Operating system functionality on Azure App Service” and my interpretation, it means if you attempt to use named pipes (*)(*) for anything other than inter-process communications (*) that it will not work. I was coding some stuff and was getting these errors: SqlException: A network-related or instance-specific error occurred while establishing a […]
Read More →Adding existing projects to an existing solution hosted on GitHub
I have written number of articles about configuring GitHub and deploying some code to it. Here is a list of them just in case you want to get some perspectives and better know where I am coming from. Setting up and using GitHub in Visual Studio 2017 Setting up and using GitHub in Visual Studio […]
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 →IP Restrictions on Azure App Service as expected behavior
A method to 100% shutdown the public endpoint of an App Service running in the public tenant is not provided. However, you can create an ILB ASE (which is not a public tenant) or you can restrict the access using an IP Restriction. Here is some information on the detailed feature for setting this up […]
Read More →How to find apiVersion used for REST API or ARM templates
I wrote a few articles that discuss how and or why you would need to know the apiVerion api-version when calling Azure REST APIs or making a deployment with an Azure Resource Manager (ARM) template. Azure Function 400 Bad Request How to disable/enable HTTP/2, Azure App Service Using Postman to call Azure REST APIs Make […]
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 →ASP.NET Compilation Azure App Service, Web Project, Web Site
There are numerous flavors of ASP.NET modules, for example Web Forms (Web Sites and Web Applications), Web Pages, Model-View-Controller (MVC) and the newest one Core. In this article I want to discuss some learnings about the difference between the compilations of an ASP.NET Web Site (Figure 1) and an ASP.NET Web Application (Figure 2). Figure […]
Read More →Publish has encountered an error ERROR_FILE_IN_USE
I was making a deployment to an ASP.NET Core application from Visual Studio and got this error, see Figure 1. Figure 1, deployment asp.net core web deploy msdeploy from visual studio Read some of my other web deploy articles here: Web Deploy ERROR_DESTINATION_NOT_REACHABLE Azure Web App ERROR_CONNECTION_TERMINATED msdeploy web deploy All of them are accessible […]
Read More →How to read, unable to read appsettings.json values ASP.NET Core
I wrote this article here “Database connection string when swapping between App Servers slots” and if you look at the last paragraph I mentioned a ‘gotcha’ when you have an application setting, “AppSetting” in your web.config file which has the same name as an application setting you have configured, via the portal of your Azure […]
Read More →