Implement marufaytekin/hello-world
- Install Docker
- Install Visual Studio Code
- Install C# Extension
- Install Docker Extension
- Optional: Install PowerShell Extension
Note: Tested on Windows 10
- git clone https://github.com/softwarepronto/devopsportal.git
- Run Visual Studio Code
- From Visual Studio Code invoke menu File | Open folder and select cloned git repository (folder devopsportal)
- From Visual Studio, Run | Start Debugging (this will run the build task)
- Run URL from browser: http://localhost:8080/
- Run URL from browser: http://localhost:8080/healthz
- Run URL from browser (Open API): http://localhost:8080/swagger
- From Visual Studio, invoke menu Run | Stop Debugging
- Display Visual Studio Code's Terminal window (View | Terminal)
- Build container: docker build -t devops:v1 .
- Run service: docker run -it --rm -p 8080:80 devops:v1
- Run URL from browser: http://localhost:8080/
- Run URL from browser: http://localhost:8080/healthz