File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ # dotnet aspnet-codegenerator コマンド
2+
3+ - Microsoft.VisualStudio.Web.CodeGeneration.Tools
4+ - Microsoft.VisualStudio.Web.CodeGenerators.Mvc
5+
6+ ## Windows
7+ dotnet.exe aspnet-codegenerator ^
8+ --project "./" controller ^
9+ --force --controllerName ValuesController ^
10+ --model WebApplication.Models.Value ^
11+ --relativeFolderPath Controllers ^
12+ --controllerNamespace WebApplication.Controllers ^
13+ --referenceScriptLibraries ^
14+ --useDefaultLayout ^
15+ --dataContext WebApplication.Models.SQLiteDbContext
16+
17+ ## Linux
18+ dotnet aspnet-codegenerator \
19+ --project "./" controller \
20+ --force --controllerName ValuesController \
21+ --model WebApplication.Models.Value \
22+ --relativeFolderPath Controllers \
23+ --controllerNamespace WebApplication.Controllers \
24+ --referenceScriptLibraries \
25+ --useDefaultLayout \
26+ --dataContext WebApplication.Models.SQLiteDbContext
You can’t perform that action at this time.
0 commit comments