QUICK START

Your first code generation in 7 steps

Follow this guide to set up MetaFirst and generate your first ASP.NET Core backend code.

Progress:
0/7
1

Download Software

Download the MetaFirst software package for your platform.

  • Windows x64: Self-contained Deployment (56 MB)
  • Linux x64: Coming Soon
  • Mac x64/ARM: Coming Soon
Download
2

Install

Extract the contents to a local folder.

  • The folder contains all required files
3

Start Application

Double-click run.bat to start Mf.exe.

  • The command prompt will open automatically
  • Your default browser will open
  • The local web app runs on localhost
run.bat
4

Quick Code Generation

Upload a CSV metadata file and generate code.

  • Use the 'Todo-Metas.csv' for a quick start
  • Navigate to the Code Generation section
  • Upload the file and click 'Generate'
5

Extract Visual Studio Solution

Extract the generated solution and compile it.

  • Open the .sln file in Visual Studio
  • Build the project (Ctrl+Shift+B)
6

Initialize Database

Run the PowerShell commands in the Package Manager Console.

  • Open the Package Manager Console in Visual Studio
  • Replace [ProjectName] with your actual project name, e.g. Todo
Package Manager Console
Add-Migration InitialCreate -Context [ProjectName]DbContext 
-Project [ProjectName]Ef -StartupProject [ProjectName]Ef
Update-Database -Context [ProjectName]DbContext 
-Project [ProjectName]Ef -StartupProject [ProjectName]Ef
7

Start Admin Interface

Adjust the settings and start both projects Admin and WebApi.

  • Adjust paths in appsettings.json
  • Set both projects as startup
  • Press F5 to debug

Need Help?

If you encounter any issues or have questions, contact us. Our team is happy to assist you.

Contact Us