8

In Visual Studio, I can generate API controllers in a Web API project by selecting Add | Controller:

enter image description here

From this menu, I can choose model class, context class and controller name and with a button press I can generate hundreds of lines of boilerplate.

I've moved to IntelliJ Rider, but I can't find a way to generate controllers. Does anyone know if this can be done with point and click? If not, are there terminal commands to do this?

Code_Steel
  • 437
  • 2
  • 8
  • 14
  • 5
    For others who might be interested in the answer: As of September 11, 2017, this feature does not exist in IntelliJ Rider. – Code_Steel Nov 24 '17 at 00:04
  • 1
    As of 2020-10-18, I don't see this template. Had to add copy from VS templates. https://www.jetbrains.com/help/rider/Creating_a_File_Template.html – senfen Oct 18 '20 at 00:14

1 Answers1