ASP.NET Core and 502 Bad Gateway Response

502 bad gateway error response is not like traditional 500 error which is mostly a code problem, this make it even difficult to troubleshoot the root cause and I also see quite a few confuse from developers that why there is 502 error in ASP.NET Core production environment. Basically, the HTTP 502 Bad Gateway server…


Cannot read Failed Request Log, unformatted and unreadable

I often get Failed Request Trace logs via email that when I open them I only see the data, I mean it is not nicely formatted like that shown in Figure 1, rather I see what is in Figure 2. Figure 1, nice Failed Request Trace log Figure 2, not nice Failed Request Trace log,…


How to Support Windows Authentication for ASP.NET Core in IIS

When we are debugging and testing Windows Authentication based ASP.NET Core application in development environment, it is very straightforward. We can just use Windows Authentication based template to create the application without any code change. The launchSettings.json contains the following section to enable windows authentication and disable anonymous authentication. “iisSettings”: { “windowsAuthentication”: true, “anonymousAuthentication”: false,…

10

Besoin d’analyser vos logs IIS ? LogParser est votre meilleur ami ! / Need to analyse your IIS log files? LogParser is your best friend !

English version [MAJ 01/03/2017] Est-il encore besoin de présenter LogParser ? Cet outil en ligne de commandes est un veritable couteau suisse et permet d’analyser une multitude de formats de fichier (Log IIS, fichier XML, Traces venant de Network Monitor, Traces ETW, …). Certes il existe d’excellents outils tel que LogParserStudio auquel mes collègues de…