In Visual Studio, I can generate API controllers in a Web API project by selecting Add | Controller:
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?
This is possible as of v2021.1
https://blog.jetbrains.com/dotnet/2021/03/18/scaffolding-for-asp-net-core-projects-comes-to-rider-2021-1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With