...

/

Solution Review: Adding a Restricted Razor Page

Solution Review: Adding a Restricted Razor Page

Review the solution of the "Adding a Restricted Razor Page" challenge.

We'll cover the following...

Overview

The complete solution is available in the following playground:

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*"
}
The complete solution with the authorization rules applied

Solving the challenge

To meet the challenge requirements, all of the changes have been applied inside the Program.cs file in the DemoApp project. We applied the following changes:

    ...