1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ASP.NET Coreでどう認証を実装するのか

Posted at
Page 1 of 5

ASP.NET CoreでWebアプリをどう起動するのか

  • ASP.NET CoreではWebアプリの多くのことをC#のふつーのコードで設定する
  • 最終的に出来上がるのはふつーのdll(Windowsならexeも)
    • Javaだとwarやearにするのが一般的だった
    • が、jarで起動するのも全然あり

ということは

  • 認証も例外ではない:コードで設定できます
    • 設定ファイルが必要なケースも多いので、そこも強力にサポート!
  • IDプロバイダを利用する場合(実物あり)
  • アプリ内のDBで認証する場合(実物あり)

なぜこういうことが出来るのか


最後に

  • 認証はコードで設定する
  • 認証以外もコードで設定する
  • InteliSenceや静的型、コンパイラの恩恵に十二分に浴しましょう
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?