In this example we will use a .NET Framework 4.X Webforms application to source a users identity information and share this with a .NET Core Razor Pages application.
It is recomended that you run through visual studio
http://localhost:49905/ - webforms application
http://localhost:50974/ - razor pages application
From the webforms application, enter in that static credentials username = "alexc" and password "securepass."
Click link to razor pages, and select "Secure" menu item. You should see text "Hello alexc"