If a developer is looking to quickly scaffold a new ASP.NET Core controller, which CLI command would they most likely use?

  • dotnet new controller
  • dotnet scaffold controller
  • dotnet create controller
  • dotnet generate controller
To quickly scaffold a new ASP.NET Core controller, a developer would use the 'dotnet new controller' CLI command. This command generates the necessary files and boilerplate code for a controller, saving time and effort in setting up the initial structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *