Skip to content

raschmitt/net-core-docker-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.Net Core - Docker Sample

Azure DevOps builds (stage) Azure DevOps builds (stage) Sonar Coverage Mutation testing badge Docker Image Version (tag latest semver)

Sample .Net Core API, with SQL Server Database, containerized with Docker and ready to use.

Dependencies

Live preview Website

A live preview of this API can be found here.

How to run locally

  • Running the API

  1. After cloning this repository go into the src directory and run docker-compose up.

  2. Access http://localhost:8080/swagger and you are good to start playing with this API.

  • Connecting to the container's database

If you wish to connect to the container's database you can do so with the following credentials:

Parameter Value
Server name 127.0.0.1,1433
Login sa
Paswword sa@@2020

How to debug

Contributions

Contributions and feature requests are always welcome.