A sample code for the presentation "Docker and ASP.NET Core 2.1"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
BoardGames.Api
BoardGames.Client
BoardGames.Proxy
.dockerignore
.gitattributes
.gitignore
BoardGames.sln
LICENSE
README.md
docker-compose.dcproj
docker-compose.override.yml
docker-compose.yml
msnetwork-2018-docker-and-aspnet-core.pptx

README.md

Docker and ASP.NET Core 2.1

A sample code for the presentation "Docker and ASP.NET Core 2.1"

Some docker and config files taken from (inspired by) Quick intro to Docker and Docker Compose: Angular, ASP.NET Core and Postgres app post by @joaofbantunes.

Running the sample

Make sure you have the latest Docker for Windows installed.

Run the following console command from the root folder:

docker-compose build

Following with:

docker-compose up

Note

If you get 401 errors in dev console when application is open in browser (http://localhost:5110) you need to set new API access tokens in /BoardGames.Client/aurelia_project/environments/*.js files. To get new API token open this URL in browser http://localhost:5110/get-token?admin=true.

After the token is updated, repeat the process of building and starting the docker compose services.

Download