.NET and MultiStage Dockerfiles

A while back I talked about building optimized docker images. (Building Optimized Docker Images with ASP.NET Core) With compiled runtimes like Go, Java and .NET, you’ll want to first compile your code before having a binary that can be run. The components required to compile your code are not required to run your code. And the SDKs…

0

Balancing change: feedback + learning / impact to customers = change

I was reading a post about the frustration a customer had around the constant change. First, I do apologize for the frustration as it is difficult to continually learn new things when the things you’ve learned keep changing. With each change, we balance the impact it will have on our existing customers, the challenges they’re…

6

Visual Studio Docker tools support for Visual Studio 2015 and 2017

With the Visual Studio 2017 RC release, we’ve started down the path to finally shipping an official version of Visual Studio Docker tools; enabling developers to locally develop and debug containerized workloads. The latest Visual Studio 2017 RC Docker Tools added a number of anticipated features: Multi-container debugging, supporting true microservice scenarios Windows Server Containers…

6

Building Optimized Docker Images with ASP.NET Core

If you’re exploring docker, you’ll often see dockerfiles that demonstrate the simplicity of building a docker image by copying your source into a container and voila, you have a docker image with the environment packaged with your app. FROM microsoft/dotnet WORKDIR /app ENV ASPNETCORE_URLS http://+:80 EXPOSE 80 COPY . . RUN dotnet restore ENTRYPOINT [“dotnet”, “run”] While…

27

Building .NET Core Linux Docker Images with Visual Studio Team Services

If you’ve been wondering how to build a .NET Core app into a Docker image using VSTS, well here’s the current steps as of June 2016. Prerequisites You’ll need the following to complete this walk through Docker Tools for Visual Studio 0.21 to build the docker assets we’ll use for CI in VSTS Docker Tools for Visual Studio Team…

3

Docker Containers as the new Binaries of deployment

In prep for .NET Conf, I was asked by Vaso to explain some of the benefits of containers. I was talking with one of our engineering leaders in Azure, John Gossman about how we view containers more broadly. Our Azure Container Service is our Microsoft Container Orchestration solution, offering Container as a Service (CaaS). We’ll be…

1

Docker-Machine and Visual Studio Tools for Docker

If you’re using Docker Tools for Visual Studio, version 0.14 or later, you’ll notice that we depend on a docker-machine entry.  What exactly does that mean? Do I need docker-machine installed? Will this work with the Docker for Windows beta? We wanted the Docker Tools for Visual Studio to align with the Docker tools from Docker. It…

0

WhereYouAt BUILD 2016 Demo

Last week at build, Scott Hanselman and Scott Hunter presented an ASP.NET Core app we called Where You At. We were quite excited at the response and set of questions that arose. In response, we wanted to write a series of blog posts, each of us covering the different aspects of what we built, why…

1

Docker For Windows Beta Released

Today, docker announced and released a replacement for Docker Toolbox. There are many enhancements, including my top …6 Works with Hyper-V Docker Toolbox utilized VirtualBox. An alternate Virtualization technology that meant developers had to disable Hyper-V. Which means they can’t run VMs or the various developer emulators, which also use Hyper-V Starts automatically – no more docker-machine start default The docker…

4

Developing ASP.NET Apps in Docker Containers

This week we released our latest Docker Tools for Visual Studio which continues our journey for developing apps in their target environment with Docker containers. Our 3 step goals have been the following: Run code in a container Switch the Visual Studio F5 experience from running code on your development machine to running in a…

5