I have an ASP.NET MVC project I have been building and was looking through some documentation when I came across how the Controller class is implemented. I am pretty familiar with OOP but have a few questions about why it is implemented in such a manner.
I looked on codeproject and some stack overflow questions but couldn't find quite the same question I am wondering.
- in MVC 5 What is the purpose of this chain: IController -> ControllerBase -> Controller -> MyController.
- If ControllerBase is supposed to be the minimum it takes to make a controller then why have a Controller class? Or vise versa if Controller is the minimum implementation then ControllerBase isn't really a base class?
Thanks in advance!