Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Develop ASP.NET with Docker

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

Develop ASP.NET with Docker

ASP.NET Core has unlocked the power of Docker for .NET developers. This talk will be a deep dive into developing an ASP.NET application inside a Docker container and moving that application through a continuous delivery workflow.

Avatar for John Oerter

John Oerter

July 07, 2016
Tweet

More Decks by John Oerter

Other Decks in Technology

Transcript

  1. FROM ubuntu:14.04 RUN apt-get update && apt-get install - y

    cowsay ENV PATH $PATH:/usr/games COPY docker.cow /usr/share/cowsay/ cows/ RUN ln -sv /usr/share/cowsay/cows/ docker.cow /usr/share/cowsay/cows/ default.cow CMD ["cowsay"] Dockerfile Image Registry Container docker build docker run docker push docker pull docker run
  2. Why Should I Care? • Microsoft is doubling down on

    Linux and Docker support • 1 in 3 VMs in Azure running Linux • Azure container service • Docker Data Center in Azure • SQL Server running on Linux • 76% of 1400 companies plan to use containerization in 2016 - North Bridge Partners Survey
  3. ASP.NET vNext Announced ASP.NET 5 Announced ASP.NET 5 and .NET

    Core RC 1 ASP.NET Core and .NET Core RC 2 ASP.NET Core and .NET Core 1.0 May 2014 February 2015 November 2015 January 2016 June 2016 dnvm dnu dnx dotnet new dotnet restore dotnet run
  4. "Before using Docker, we had issues with developers, CI and

    prod running sometimes different versions our datastores. By containerizing everything, we now develop on the exact same version/environment that is used on CI, staging and prod. If it works locally, we won’t have any surprises going through the pipeline." Matt Aimonetti, co-founder and CTO of Splice https://blog.docker.com/2016/06/docker-for-mac-splice/
  5. Resources • Docker Con 2016 Summary • Docker Data Center

    in Azure • Docker Compose Overview • Docker Swarm Overview • Using Compose with Swarm • Deploying ASP.NET Core applications using Docker Containers • Docker Yeoman Generator • Docker Tools for Visual Studio