Convention over configuration)
The design concept derived from the Ruby on Rails framework is also considered to be one of the key factors for rails's great success. The so-called convention here can be understood as some constraints of the framework on programming. We can use reflection skills to establish objects and collaborate with Objects Based on the default principle developed by implementation, it is even the assembly of programs. For example, in the implementation of the MVC mode in rails, the directory structure and naming rules of model, view, and controller are established in advance. In this case, you do not need to configure the metadata. The ASP. Net MVC framework also adopts the idea that the Convention is better than the configuration. By convention, although the flexibility of the system is lost to a certain extent, it brings about good maintainability. At the same time, it can still remove the strong coupling between the system and the specific object.
Convention is better than configuration principle (study notes)