Last post May 07, 2019 06:51 AM by Yuki Tao
May 07, 2019 03:08 AM|demoninside9|LINK
Is there any limit for no of action methods in a controller?
And what is the ideal / standard no of action methods we can have in a controller.
May 07, 2019 06:51 AM|Yuki Tao|LINK
As far as I know, there is no limit in theory and there is no exact data on achieving saturation.
However, it is certain that if there are too many actions,
the performance of the controller will be slower and it will be difficult to maintain in the future.
In fact, we usually write related actions in the relevant controllers as needed.
If there are too many, consider re-differentiating the controller.
I don't think you have to worry about this, as long as it is properly allocated.