The location from which a process is invoked is important. A process, I.e. an executable (.exe) is the program which contains the entry point to the code which needs to run. If the location is in a relative position related to the assemblies it requires, then the .exe can use relative paths to access an […]
Read More →Category: ASP.NET
Bring Your Own Storage (BYOS) Azure App Service map directory path
NOTE: it is now possible to achieve this in the Azure portal which means the modification of the XDT file is no longer necessary. It will still work and knowing about this capability might help you implement something which does not currently have an interface to do so…yet. Here is some information about doing this […]
Read More →Blazor WebAssembly TypeError: Failed to fetch
Change is good, it is better than the alternative. There have been a lot of changes over the past few years when it comes to ASP.NET. One change, or should I call it a new product is Blazor Apps. I won’t go into what this is and how it works because there is already plenty […]
Read More →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 →How to install .NET 5
This release is a big deal. Basically, all the different versions of .NET like shown in the following bullet list are merged into this one version called .NET 5. .NET Framework .NET Core .NET Standard From .NET 5 all projects can be run cross platform and cross verticals like WPF and ASP.NET. Here are some […]
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 →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 Severity Code Description Project File Line Suppression State Error Web deployment task failed. (Unable to perform the operation (“Delete File”) […]
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 →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 →ASP.NET Core 2.1 and HTTP Error 502.5 – Process Failure
I was deploying my ASP.NET Core 2.1 64-bit HelloWorld application and got this error, Figure 1. Figure 1, ASP.NET Core 2.1 502.5 x64 64 bit Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port […]
Read More →