GithubHelp home page GithubHelp logo

aspnet-mysql's Introduction

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

aspnet-mysql's People

Contributors

ups216 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aspnet-mysql's Issues

Use 1.0.0-*. instead of specified version

Hi,

Here is PomeloFoundation, We have made some new features for Pomelo.EntityFrameworkCore.MySql today. It optimized for droping PK, FK, IX, etc and renaming table, column, index, etc. We made sure the 1.0.0-* is based on .NET Core 1.0.0 rtm. So you can use -* instead of specified version.

BR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.