Difference between revisions of "Publish Project to AWS"

From MgmtWiki
Jump to: navigation, search
(Solution)
(Solution)
Line 9: Line 9:
  
 
===Deployment File===
 
===Deployment File===
 +
* [https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/dotnet-manifest.html Running multiple applications and ASP.NET core applications with a deployment manifest]
 +
 +
{
 +
  "manifestVersion": 1,
 +
  "deployments": {
 +
    "aspNetCoreWeb": [
 +
      {
 +
        "name": "my-dotnet-core-app",
 +
        "parameters": {
 +
          "archive": "dotnet-core-app.zip",
 +
          "iisPath": "/"
 +
        }
 +
      }
 +
    ]
 +
  }
 +
}
  
 
==References==
 
==References==

Revision as of 11:25, 5 June 2020

Full Title or Meme

Build and zip a Visual Studio dot net core 2.1+ Project for publication to Amazon Web Services.

Context

Problems

Solution

  1. Prepare a project with all dependencies marked.
  2. Add a deployment file (see section below)

Deployment File

{
 "manifestVersion": 1,
 "deployments": {
   "aspNetCoreWeb": [
     {
       "name": "my-dotnet-core-app",
       "parameters": {
         "archive": "dotnet-core-app.zip",
         "iisPath": "/"
       }
     }
   ]
 }
}

References