Docker ASP.NET "Hello MVC" example. Automate the building of this image and run this container on any cloud using HyperForm.
C#
Latest commit c04503b Aug 12, 2016 @hypergrid-inc committed on GitHub Update README
Permalink
Failed to load latest commit information.
Controllers
Models
Properties
Views
wwwroot
Dockerfile
HelloMvc.xproj
NuGet.config
README.md
Startup.cs
project.json

README.md

This project was cloned from the official Microsoft repository: https://github.com/aspnet/Home/tree/dev/samples/1.0.0-rc1-final/HelloMvc

To run & manage this simple Docker ASP.NET "Hello MVC" application on 18 different clouds and virtualization platforms (including vSphere, OpenStack, AWS, Rackspace, Microsoft Azure, Google Compute Engine, DigitalOcean, IBM SoftLayer, etc.), make sure that you either:

Customize and Run

Customize & Run all the published Docker ASP.NET application templates and many other templates (including multi-tier Java application stacks, Python, Ruby, PHP, Mongo Replica Set Cluster, Drupal, Wordpress, MEAN.JS, etc.)

ASP.NET Hello MVC

Customize and Run

aspnet-mvc:
  image: dchq/aspnet-hellomvc:latest
  mem_min: 50m
  host: host1
  publish_all: true
  cluster_size: 1

Nginx and ASP.NET MVC

Customize and Run

nginx:
  image: nginx:latest
  publish_all: true
  host: host1
  mem_min: 50m
  plugins:
    - !plugin
      id: 0H1Nk
      restart: true
      lifecycle: on_create, post_scale_out:aspnet-mvc, post_scale_in:aspnet-mvc
      arguments:
        # Use container_private_ip if you're using Docker networking
        - servers=server {{aspnet-mvc | container_private_ip}}:5004;
        # Use container_hostname if you're using Weave networking
        #- servers=server {{aspnet-mvc | container_hostname}}:5004;
aspnet-mvc:
  image: dchq/aspnet-hellomvc:latest
  mem_min: 100m
  host: host1
  publish_all: false
  cluster_size: 1

Apache HTTP Server and ASP.NET MVC

Customize and Run

http-lb:
  image: httpd:latest
  publish_all: true
  mem_min: 50m
  host: host1
  plugins:
    - !plugin
      id: uazUi
      restart: true
      lifecycle: on_create, post_scale_out:aspnet-mvc, post_scale_in:aspnet-mvc
      arguments:
        # Use container_private_ip if you're using Docker networking
        - BalancerMembers=BalancerMember http://{{aspnet-mvc | container_private_ip}}:5004
        # Use container_hostname if you're using Weave networking
        #- BalancerMembers=BalancerMember http://{{aspnet-mvc | container_hostname}}:5004
aspnet-mvc:
  image: dchq/aspnet-hellomvc:latest
  mem_min: 100m
  host: host1
  publish_all: false
  cluster_size: 1