How To

How to get ConnectionString from appsettings.json in ASP.NET Core
2/18/2024 9:31:28 AM  36

This post shows you how to get a connection string from appsettings.json in ASP.NET Core

How to use Razor Pages hierarchy with multiple route parameters
2/18/2024 9:29:31 AM  36

This post shows you how to use multiple routing attributes in .net core razor pages

How to fix 'ILoggingBuilder' does not contain a definition for 'AddNLog'
2/18/2024 9:27:36 AM  60

This post shows you How to fix 'ILoggingBuilder' does not contain a definition for 'AddNLog' and no extension method 'AddNLog' accepting a first argument of type 'ILoggingBuilder'.

How to fix 'asp-controller and asp-action attributes not working in areas'
2/18/2024 9:24:51 AM  40

This post shows you how to fix "asp-controller and asp-action attributes not working" or "form asp-action in areas. Can't find a controller. Asp.Net Core"

How to replace Request.IsAjaxRequest() in ASP.NET Core
2/18/2024 9:23:59 AM  46

This post shows you how to replace Request.IsAjaxRequest() in ASP.NET Core

How to fix "HTTP Error 500.0 - ANCM In-Process Handler Load Failure"
2/18/2024 9:22:53 AM  50

This post shows you How to fix "HTTP Error 500.0 - ANCM In-Process Handler Load Failure" when deploying your ASP.NET Core on IIS.

How to fix 'Could not load file or assembly Microsoft.VisualStudio.Web.CodeGeneratio.Utils'
2/18/2024 9:21:09 AM  48

This post shows you how to solve ASP.NET Core Scaffolding does not work in Visual Studio.

How to fix "A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher"
2/18/2024 9:17:05 AM  43

This post shows you How to fix "A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher" in ASP.NET Core.

How to fix Using 'UseMvc' to configure MVC is not supported while using Endpoint Routing
2/18/2024 9:16:16 AM  52

This post shows you How to solve the problem Using 'UseMvc' to configure MVC is not supported while using Endpoint Routing when changing ASP.NET Core 2.2 to 3.0

How to use Redis Cache in ASP.NET Core
2/18/2024 9:12:33 AM  42

This post shows you how to use Redis Cache in ASP.NET Core using C# Code.

How to Minify HTML output from ASP.NET MVC
2/18/2024 9:10:11 AM  42

This post shows you how to minify HTML in ASP.NET MVC or ASP.NET Web Forms. To make your site load faster, you should minimize downloads of resources.

How to fix 'Authorization in ASP.NET Core' with 401 Unauthorized
2/18/2024 9:08:25 AM  36

This post shows you how to fix 'Authorization in ASP.NET Core' with 401 Unauthorized when using [Authorize] attribute