I am an experienced MVC developer in ecommerce area, and recently started fresh with nopCommerce 3.1. I have never used this product before, and still getting my hands around in certain area.
In NC, is it possible to write a CustomController that inherit the "core controller" and ask IoC to register the CustomController in place of CoreController?
eg. with CatalogController, is it possible to write my own CustomCatalogController that inherit from CatalogController and with IoC, the view will automatically pickup the custom class?
I spent a few days with NP now, and my feeling is it may not be possible as it uses the plugin approach, but I still want to ask around making sure I am not missing anything here, as I heard comments that it is meant to be easy to do customizations.
Sometimes I want to add more services, or extend a model with an existing controller and plugin approach don't always work in those situation.
Ideally I want to leave Nop.Admin, Nop.Web and Nop.Web.Framework untouch and write my own My.Admin My.Web etc that inherit the core classes, but the ctor fields are set to private not protected, that's why it made me thinking this approach might not work.
Any thoughts?
EDIT: In page 2, I proposed a solution for clean customizations for services and helpers. Any feedbacks would be appreciated.