AspNetCoreDockerWorkshop
AspNetCoreDockerWorkshop copied to clipboard
ASP.NET Core and Docker Workshop
Pre-requisite Setup
- Clone this repository locally
- 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 |