Someone can probably give you a definition of a textbook, but until they become an example of the real world.
Asp.net mvc has views and controllers:
- Configuration - this would be a manual mapping of controllers to use certain views, almost like a script code.
- Convention - a controller method called Index most likely wants to use a view called the same, so the structure goes and searches for it.
In principle, all correlations in the code are not explicitly defined, but let the frameworks / code make reasonable assumptions about what should be done based on predefined patterns.
blu
source share