LoginSignup
0
1

More than 5 years have passed since last update.

ASP.NET Core MVCテンプレート作成のオプション

Last updated at Posted at 2017-06-18

内容

コンソールから,Identityを実装したMVCテンプレートを作成したくて,色々調べました.

オプション 引数 説明
-f または --framework netcoreapp1.0, netcoreapp1.1 (Default: netcoreapp1.0) ターゲットにするフレームワークを指定する
-au または --auth None, Individual (Default: None) 使う認証の種類
-uld または --use-local-db true, false (Default: false) SQLite の代わりに LocalDB を使うかどうかを指定する

ということで,認証機能を実装したテンプレートを作成するには,以下のコマンドを実行すればいいことがわかりました.

dotnet new mvc --auth Indivisual

参照

0
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
0
1