AspNetCoreCookieAuthentication_6_0 Cookie 認証 を使用してログインの仕組みを作り、認証していない場合リダイレクトされる仕組みを作るサンプルです。 プログラムの元となっている Tips は以下のページで公開しています。 https://sorceryforce.net/tips/asp-net-core-cookie-authentication_6_0