I have a MVC layered application and I have some questions about Cross Cutting layer. So far this layer has Logging, DI, Error Handling and Cache.
I created a project and put all those features separated by folder. Is this ok? Or should I create a project for each feature?
Because I set up Autofac (DI folder) in this project I had to add references to the other projects: Model, Repository and Service. Is it ok to add those references to Cross Cutting project?
Should I create a separated project to group common functionalities? For example Enums, Constants and methods like GetMd5Hash. Or should I use Cross Cutting project for that?
Should I consider Automapper as a Cross Cutting Concern? So far I set up it in the Presentation layer, to convert from Entity to ViewModel and ViewModel to Entity. Because of that, I had to add a reference to Model which I'd like to avoid.