Skip to content

d393911462/aspnet-mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample for ASP.NET Core 1.0 with Mysql and Docker

This is a sample application for showing ASP.NET Core 1.0 with MYSQL backend and deployed using Docker and Docker-Compose

How to run?

Make sure you have the following tools installed

  • Docker for Mac/Windows
  • ASP.NET Core 1.0
  • Visual Studio Code
  • node, npm, bower, gulp

Make sure you have ready to connect dockerized host, connect your host

  • on macOS: eval $(docker-machine env {machine-name})
  • on Windows: @FOR /f "tokens=*" %i IN ('docker-machine env {machine-name}') DO @%i

Run the code

  • cd src/aspnet-mysql
  • docker-compose build
  • docker-compose up -d
  • docker-machine ip {machine-name}

Open your browser and navigate to http://{docker-machine ip}:5000

Docker Image Url

ups216/aspnetmysql

Detailed instructions can ben found on my blog

-docker4dotnet #1 前世今生 & 世界你好

-docker4dotnet #2 容器化主机

-docker4dotnet #3 .net猿和小鲸鱼的苹果山之旅

Video Demo

http://v.qq.com/x/page/b031665qwth.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 93.9%
  • CSS 3.6%
  • PowerShell 2.3%
  • JavaScript 0.2%