MDriven Framework uses the .ecomdl format to save a model. This format is multi-file and uncompressed to facilitate use with diff tools and source-code repositories such as Git and SVN. This is particularly relevant when multiple developers change the model at the same time.
In MDriven Designer, save a model in this format by selecting File → Save as and choosing ecomdl (*.ecomdl).
The .ecomdl file structure can be opened in MDriven Designer, so teams can continue to use MDriven Designer together with MDriven Framework.
Use .ecomdl in a .NET MDriven project
When creating a .NET MDriven project:
- Save the MDriven model as
.ecomdl. - Copy the
.ecomdlmodel and its related files into the .NET project. - If the project uses CodeDress, ensure that an
Assets_TKfolder exists at the same folder level as the.ecomdlfile. - Open the
.ecomdlfile in Visual Studio with the MDriven Framework extension and use Codegen to generate C# files for the classes in the model.
The project-creation documentation states that assemblies are uploaded to MDriven Server using the Assets_TK folder.
Reusable repository content
MDriven maintains the MDrivenComponents GitHub repository. It contains sample models, mergeable models, and reusable components, including components for AngularJS and the Blazor client implementation.
