In this tutorial, you will be able to create a simple ASP.NET Core MVC app working with Docker. But before starting code, let’s talk about these technologies: I’m sure, you have listened about .NET Framework, but what about .NET Core? What about Docker? Well, it’s time to put all on site.
Requirements:
- .NET Core Runtime
- Docker
- Docker Compose
- Docker Toolbox only if you can't install Docker and Docker Compose
- Azure Data Studio for SQL Server database management
Clone this repo and run this command on your terminal in the root of the project:
$ docker-compose build
$ docker-compose up
Then, go to http://localhost:8000/characters on your favorite browser. You can also connect to the database in the localhost,5433 server (in my case, I'm using Azure Data Studio):