🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Migrating From MDriven .NET Framework to .NET Core
Created by Charles on 2024-12-04 · Last edited by Charles on 2025-11-12.

Migrating from .NET framework to .NET Core provides a multitude of advantages that can significantly enhance you application's performance, scalability and deployment flexibility.

NOTE: Make sure you using the latest MDriven Designer for Model projects and the Latest MDriven Visual Studio extension for Visual Studio Model projects from the MDriven Downloads page https://mdriven.net/App#/Downloads.

1. Back Up Your App Data and User Data

  • Before starting any migration, the first important thing to do is backing up your MDriven Application.

2. Upgrading your MDriven Project

This step is only important for Visual Studio projects targeting .Net framework, change the target framework for your project to .NET Core (.NET 8 or .NET 9 is fine) and make sure your project is able to compile with no errors.

Check the link here How To Create a .NET Core MDriven Project for more information on Creating a .NET Core MDriven Project.

3. Preparing your Hosting Environment

IIS

Azure

4. What Is New in MDriven Server & Turnkey Core App Settings

  • Credentials for connecting to the MDriven Server within the Turnkey app are now in the App_Data/MDrivenServerOverride.xml file
  • Turnkey settings are now set in the App_Data/TurnkeySettingsOverride.xml file to ensure there are not lost on app upgrade.
  • App_Data/CommandLineOverride.xmlfile is now needed and should be configured for both the MDriven Server and MDriven Turnkey. it contains command line argument configurations the applications should start with. The Url for the application is specified in this file and it points iis to your application if hosting with iis.

5. Restoring Your App

In case Turnkey is blocked from connecting, use PwdReset to set new password for user a.

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments