Category: ASP.NET

ASP.NET Core with Entity Framework Core error, Login Failed

ASP.NET Benjamin Perkins

I was working with the EF NuGet package Microsoft.EntityFramework.Tools.DotNet and executed the command-line interface (CLI), also shown in Figure 1. dotnet ef database drop Running this method resulted in the same behavior: context.Database.EnsureDeleted(); Figure 1, Entity Framework Core, CLI I am not sure what exactly I was thinking, but it I did not really expect […]

Read More →

How (I) configured Azure Active Directory into my ASP.NET MVC OWIN web application

ASP.NET Benjamin Perkins

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 →

Lab 11: Using aspnet_regiis

IIS Benjamin Perkins

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“)

IIS Benjamin Perkins

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 →