EmergentSoftware / dotnetcookiesharing

Share cookies between framework 4.X and core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DotNetCookieSharing

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.

Build / Run

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"

About

Share cookies between framework 4.X and core


Languages

Language:JavaScript 91.7%Language:C# 7.1%Language:ASP 0.8%Language:CSS 0.3%