vscode

A 3-post collection

Exploring the Docker Extension for VS Code and .NET Core

The Docker extension for VS Code was recently updated to better support .NET Core applications and the experience is super nice! The extension already has great support for building your containers, pushing images to Docker Hub, Azure Container Registry and tasks such as running a specific image or tagging an image too. However, adding a Dockerfile to an ASP.NET Core application was not updated to support the microsoft/dotnet base images. The Docker extension can be downloaded separately or is also available as a part of the Azure extension pack for VS Code which provides a number of other extensions for working with the many cloud services without leaving the editor. First, I'll start by creating a quick Razor...


Setting up ASP.NET Core debugging in VS Code

UPDATE: Now Version 1.0 of Visual Studio Released - Same steps apply for Version 1.0. In the most recent ASP.NET Community Standup (http://live.asp.net), Damian walked through the steps of getting RC2 debugging setup inside of Visual Studio Code - Insiders Build. Here are the steps. Install the dotnet SDK for your OS Go to https://github.com/dotnet/cli#installers-and-binaries and select the proper link for your OS in the .NET Core SDK Installer column and install this. As a note, if you have a previous version of this installed you may need to manually remove the dotnet folder from the installation location prior as the installer will not overwrite, and it fails silently....


VSCode: Creating an Application with Yeoman aspnet generators

Getting Started Visual Studio Code Go get Visual Studio Code! http://code.visualstudio.com, the all new cross platform development tool from Microsoft. Runtime You'll need DNX, formerly known as K or KRE (K Runtime Environment). You can get the full instructions on the ASP.NET Github repo. If you have been running the K Runtime, you can uninstall if you deem necessary; however DNX can and will run side by side. On OSX, the install is simple with Homebrew $ brew tap aspnet/dnx $ brew update $ brew install dnvm This will install the toooling you need (dnx, dnu, dnvm) as well as mono 4.0.1. generator-aspnet If you are starting a new project, it is recommended starting with the...