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 build
  • dotnet publish
  • dotnet test
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 code structure for a controller, making it a time-saving tool for building web APIs and MVC applications.
Add your answer
Loading...

Leave a comment

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