All Projects → stevejgordon → AspNetCoreDockerWorkshop

stevejgordon / AspNetCoreDockerWorkshop

Licence: MIT license
No description, website, or topics provided.

Programming Languages

C#
18002 projects

ASP.NET Core and Docker Workshop

Pre-requisite Setup

  1. Clone this repository locally
  2. Install Postman for Windows - Download Postman

What You'll Be Building

In this workshop you will build a simple ASP.NET Core API from scratch, initially using the .NET SDK CLI. The finished API will have two endpoints, one returning data via HTTP GET and the other accepting data via HTTP POST. It will make use of ASP.NET Core configuration.

You'll then create a Docker image for your API and run it as a Docker container.

Activities

Activity Topics
Activity #1 Install the .NET Core SDK and Docker tooling
Activity #2 Create an empty web project via the command line
Activity #3 Create a controller and action
Activity #4 Returning JSON Data
Activity #5 Binding data from the query string
Activity #6 Binding data from route parameters
Activity #7 Accepting posted data
Activity #8 Application configuration
Activity #9 Working with logging
Activity #10 Initial Dockerfile
Activity #11 Production Dockerfile
Activity #12 Working with Docker Compose
Activity #13 Adding some unit tests
Activity #14 Adding an integration test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].