I need some common behaviors in all controllers. Is a good idea have a BaseController and make all controllers extend that class? If so, What is the correct way to avoid the
No, don't do that. Use action helpers to add functionnality to your controller. If you use a base controller, it will quickly become complicated and unsable. Action helpers allow more flexibility.