Book Image

Docker for ASP.NET Core MVC [Video]

By : Chris Small
Book Image

Docker for ASP.NET Core MVC [Video]

By: Chris Small

Overview of this book

<p>Docker is the world’s leading software container platform. Developers use Docker to eliminate “it works on my machine” problems when collaborating on code with co-workers. Docker is a way of deploying and scaling applications inside a developer’s own virtual environment, in a completely isolated manner.</p> <p>The course will guide you through setting up Docker on a Windows desktop, running your first ASP.NET Core Docker image, and becoming comfortable managing and running these images. We’ll give you more information on the options available to you for the desktop. Then we’ll show you how to run your containers with the Docker command line, exposing ports and environment variables. Moving on, you’ll build your very first ASP.NET Core application and add a database and linking containers. Then we’ll show you how to debug your .NET application by interacting with your Docker image and debugging it into a container using Visual Studio.&nbsp;</p> <p>You’ll get a brief introduction to the vast options available to run Docker images inside the cloud: Azure, AWS, and Google Cloud. Finally, we’ll take a look at Kubernetes, an open source platform originally from Google for deploying, scaling, and managing containers, which is fast becoming the de facto docker management tool for running containers in the cloud.&nbsp;</p> <p>All the code and supporting files for this course are available on Github at - <a style="color: #fa8d11;" href="https://github.com/PacktPublishing/Docker-for-ASP.NET-Core-MVC-" target="blank">https://github.com/PacktPublishing/Docker-for-ASP.NET-Core-MVC-</a></p> <h2>Style and Approach</h2> <p>This friendly course takes you through Docker with ASP.NET. It’s packed with step-by-step instructions and working examples. This comprehensive course is divided into clear bite-size chunks, so you can learn at your own pace and focus on the areas of most interest to you.</p>
Table of Contents (5 chapters)
Chapter 4
Debugging Your .Net Core Application
Content Locked
Section 1
Getting Ready to Log Your Application
In this video we will learn how to log debug information and errors in an ASP.NET Core application running inside a Docker container. - Understand the history of .NET logging and how it is now simplified - Use the nuget package Microsoft.Extentions.Logging to log - Use Serilog to improve the readability of logs in a development environment