How To Create a Dotnet MDriven Project
(Created page with ".NET projects are cross-platform, offering access to modern development practices and services across different environments. MDriven provides flexibility by supporting .NET applications, enabling access to features like CodeDress for enhancing your application with C# code and integrating third party services not available in standard MDriven applications. Create a .NET project targeting .Net 6 and above. Install [https://www.nuget.org/packages/MDriven.MVC.Core MDriv...")
 
No edit summary
Line 1: Line 1:
.NET projects are cross-platform, offering access to modern development practices and services across different environments.
.NET projects are cross-platform, offering access to modern development practices and services across different environments.


MDriven provides flexibility by supporting .NET applications, enabling access to features like CodeDress for enhancing your application with C# code and integrating third party services not available in standard MDriven applications.
MDriven provides flexibility by supporting .NET applications, enabling access to features like [[Training:CodeDress|CodeDress]] for enhancing your application with C# code and integrating third party services not available in standard MDriven applications.


Create a .NET project targeting .Net 6 and above.
'''1.''' Create a .NET project targeting .Net 6 and above.


Install [https://www.nuget.org/packages/MDriven.MVC.Core MDriven.MVC.Core] from nuget packages.
'''2.''' Install [https://www.nuget.org/packages/MDriven.MVC.Core MDriven.MVC.Core] from nuget packages.


Get the '''ecomdl''' version (Expanded version) of the Model project by saving your MDriven Model project in the MDriven Designer as <code>.ecomdl</code>
'''3.''' Get the '''ecomdl''' version (Expanded version) of the Model project by saving your MDriven Model project in the MDriven Designer as <code>.ecomdl</code>


Copy all Model files to the created .NET project.
'''4.''' Copy all Model files to the created .NET project.


Make sure Assets_TK folder existings within the .NET project to use the CodeDress feature, if not, create it in the same folder level where the '''.ecomdl''' file is located.
'''5.''' Make sure [[Documentation:AssetsTK|Assets_TK]] folder existings within the .NET project to use the [[Training:CodeDress|CodeDress]] feature, if not, create it in the same folder level where the '''.ecomdl''' file is located.


Within Visual Studio, use the codegen feature to generate C# files for all the classes within the model.
'''6.''' Within Visual Studio, use the codegen feature to generate C# files for all the classes within the model.


Build the solution and make sure the project builds successfully with no errors.
'''7.''' Build the solution and make sure the project builds successfully with no errors.


Upload the project to the MDriven Server. All assemblies will be uploaded to the MDriven Server using the Assets_TK folder.
'''8.''' Upload the project to the MDriven Server. All assemblies will be uploaded to the MDriven Server using the Assets_TK folder.

Revision as of 15:44, 15 August 2024

.NET projects are cross-platform, offering access to modern development practices and services across different environments.

MDriven provides flexibility by supporting .NET applications, enabling access to features like CodeDress for enhancing your application with C# code and integrating third party services not available in standard MDriven applications.

1. Create a .NET project targeting .Net 6 and above.

2. Install MDriven.MVC.Core from nuget packages.

3. Get the ecomdl version (Expanded version) of the Model project by saving your MDriven Model project in the MDriven Designer as .ecomdl

4. Copy all Model files to the created .NET project.

5. Make sure Assets_TK folder existings within the .NET project to use the CodeDress feature, if not, create it in the same folder level where the .ecomdl file is located.

6. Within Visual Studio, use the codegen feature to generate C# files for all the classes within the model.

7. Build the solution and make sure the project builds successfully with no errors.

8. Upload the project to the MDriven Server. All assemblies will be uploaded to the MDriven Server using the Assets_TK folder.

This page was edited 31 days ago on 08/20/2024. What links here