How Can I Generate API Controllers in IntelliJ Rider?

徘徊边缘 提交于 2020-06-27 08:50:08

问题


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?


回答1:


I believe we can do it easily now (2019). Right-click controller folder -> Add -> Controller



来源:https://stackoverflow.com/questions/47460649/how-can-i-generate-api-controllers-in-intellij-rider

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!