Stumbled up one curiosity that i researched upon but found no exact answer whatsoever. I was adding a view to my mvc project when i noticed that when mentioning the model for the view lots of classes appear to wich i have no reference in a direct way. For example i can see in the add view dialog all the ClosedXml classes for excel but that dll is referenced in my Bussines Logic project, not in the web project for sure. So 1. why does it appear in the models dropdown in the add view dialog? 2.Should this list not be composed only of classes from the models folder? Sorry if this is a silly question but nevertheless no one could give me a straight answer.
Stumbled up one curiosity that i researched upon but found no exact answer whatsoever.
Share
All public classes that are part of the current solution appear in this list, not only those that are declared in a Model folder in the current assembly. Even classes in referenced assemblies will appear. Some classes will be filtered out though:
Controller(to avoid seeing your controllers in the list)SystemorMicrosoftnamespace