Deploy C# Web App with Code First Database

What if you need to create the database elsewhere first? The following code will generate a script to run on the production server.

dotnet ef Migrations script > [filename]

All that is left is to:

  1. publish the app to a folder,
  2. Copy the folder to the server
  3. Setup the Environment variables
  4. Setup the server environment

DeployWebApp (last edited 2024-08-08 20:19:13 by scot)