How to debug ASP.NET Core in Kubernetes from Visual Studio 2019?

How to debug ASP.NET Core in Kubernetes from Visual Studio 2019?

How to debug ASP.NET Core in Kubernetes from Visual Studio 2019? Prepare Visual Studio. copies launch. json into bin directory. replaces environment variables in launch. json. replaces relative paths with absolute ones in launch. json. starts remote debugging.

Since the original post got outdated here’s the new one for VS2019

Prepare the workstation

For this tutorial we will need:

  • kubectl - installed and configured to access the cluster
  • Visual Studio 2019

This is assuming you already have a kubernetes cluster, a docker image build pipeline and a way to publish dotnet app to that cluster.

visual-studio kubernetes aspnetcore debugging dotnet

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50+ Useful Kubernetes Tools for 2020 - Part 2

Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.

[Guest post] Learn C# with Visual Studio, Visual Studio for Mac, and Unity

In this tutorial, I explains his approach to teaching C # with Visual Studio, Visual Studio for Mac by emphasizing exploration, fun, and games. We're announcing a fun coding challenge for beginners, with a chance to win a copy of the new edition of Head First C # book.

How Do I Debug Async Code in Visual Studio?

Debugging async code is challenging. Let's explore some Visual Studio tools that can help you debug your async programs easier!

Introducing Local Process with Kubernetes for Visual Studio 2019

Today, we’re proud to announce the Local Process with Kubernetes preview feature in Visual Studio 2019 16.7 Preview 2.     Local Process with Kubernetes allows you to write, test and debug your .NET microservice code on your development workstation while connected to your Kubernetes cluster with the rest of your application or services.  

Writing Visual Studio Extensions with Mads - Episode 1: Item Templates

Join Mads Kristensen from the Visual Studio team each week as he builds extensions for Visual Studio live!