MVC in C #, separate by folders or class library? [closed]

1

I have seen examples that separate by folders, and others that separate by a library of classes and then creates the annotation in the references. Can both shapes be used?

    
asked by anonymous 01.10.2018 / 00:11

1 answer

1

Both can be used yes, but both have meanings in their use.

I usually sort through libraries the resources that are and can be accessed by other applications, not just MVC, for example if you create an application that consumes common classes, such as database entities, (DLL for example).

Already this folder issue I separate by folders my projects for grouping and separation of the layers of my application as a whole, example the layer responsible for the data, the presentation of the application to the end user, the different services if there is, etc. .

I hope I have helped! :)

    
01.10.2018 / 20:00