Before I get started, keep in mind, that I am not a security expert, if you want to enable security for your Azure App Service Web App I recommend using EasyAuth as described here, so much easier, IMO. You likely get some benefits from the ‘Change Authentication’ features of: No Authentication Individual User Accounts Work […]
Read More →Category: ASP.NET
How (I) connected a console application to a Web API protected by an Azure Active Directory
The code can be downloaded from here or on GitHub. I wrote this post here where I discussed how I configured Azure Active Directory into one of my Azure App Service Web Apps. One of the main differences between that post and what I am trying to do here was realized when I received this […]
Read More →Lab 11: Using aspnet_regiis
General information The description of the aspnet_regiis tool can be found here Lab 11-1 Setup 2 IIS servers are needed for this lab, install IIS as per these instructions Lab 1, but the CSharpGuitarBUgs web site is not required Place a copy of each of the c:\windows\system32\inetsrv\config\applicationHost.config files in a temporary location, mark them so […]
Read More →Lab 10: Using ASP.NET Tracing (Trace=“True“)
Prerequisites Review this post here Review or complete Lab 4 which provides similar performance information Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Lab 10-1 Click on the the FullCatalog –ASPX page located within the CSharpGuitarBugs website. About how long did it take? The goal is to find out […]
Read More →Lab 7: Integrated versus Classic mode
Prerequisites Read this article about the processModel Read this article about ASP.NET Threads Read this article about Breaking Changes between Classic and Integrated mode See LAB 24: Deploy a Custom Module and Handler, Integrated mode support both Managed and Native Modules, once available Read this article about ASP.NET Page Events Read Contention, poor performance, deadlocks […]
Read More →Lab 1: Install IIS and create a web site
In this lab you will: Install the IIS Management Console Configure a web site using the IIS Management Console Install the IIS Management Console After installing Windows Server and logging in, the Server Manager is opened automatically, as shown in Figure 1. Figure 1, Windows Server Manager Click on the Add roles and features link, […]
Read More →ASP.NET 5 renamed to ASP.NET Core 1.0
I was reading this article here which made a lot of sense. There was a bit of confusion on my part that was touched on as originally I assumed that ASP.NET 5 was the newer version of ASP.NET 4.6 while in fact it was a whole new branch of the feature. With branch I mean, […]
Read More →Why is my ASP.NET application recycling, restarting
When you are experiencing slowness with your ASP.NET application, one place to check is if the application is being recycled. If the application is being recycled over and over again, then sessions and application settings are lost and it has a pretty big impact on your users and customers. A place to begin your investigation […]
Read More →Debugging a W3WP memory dump of a slow performing ASP.NET Azure Web App
I wrote an article here about how to capture a memory dump of the W3WP process that runs your Azure Web App. Once you get the Memory dump, here are the steps you need to find out what the reason for the slow performance is. First, I open the W3WP dump in WinDbg, as shown […]
Read More →ASP.NET WebAPI results in a 405 Method Not Allowed HTTP response
I was working on an IoT project where my device was calling a WebAPI. I had two methods, one had the signature shown in Listing 1 and the other in Listing 2. UPDATE 6-JUN-2016, check here for some exception handling tips. Listing 1, GET employees [Route(“api/TC/{custId}”)] public IQueryable<EmployeeDTO> GetEmployees(string custId) { var db = […]
Read More →