.NET Logging Done Right: An Opinionated Approach Using Serilog

Establish a great logging framework for all of your applications using Serilog as a foundation, then get them written to database sinks (SQL Server and Elasticsearch specifically), and explore log data using custom and in-the-box tools.
Course info
Rating
(46)
Level
Intermediate
Updated
Sep 25, 2017
Duration
5h 2m
Table of contents
Course Overview
Goals of Good Logging / Intro to Serilog
Write a Global Logger as a Serilog Wrapper
Global Logging: ASP.NET MVC and Web Forms
Global Logging: ASP.NET WebAPI
Global Logging: JavaScript/TypeScript
Global Logging: WPF and WCF
Global Logging ASP.NET Core
Choosing the Right Sink to Enable Analysis
Description
Course info
Rating
(46)
Level
Intermediate
Updated
Sep 25, 2017
Duration
5h 2m
Description

Establishing a foundational framework for logging can save hours in troubleshooting and provide valuable insights to both utilization and performance within all of your applications. In this course, .NET Logging Done Right: An Opinionated Approach Using Serilog, you will learn about 4 primary "things" (usage, performance, errors, and diagnostics) to log and how to log them. You will also learn how to globally write these log entries without needing to inject logging code everywhere in an application – so developers can focus on business logic, not logging code. Global logging will be shown with all flavors of ASP.NET, WPF applications, WCF services, and TypeScript/JavaScript applications. Lastly, you will see techniques for searching, exploring, and visualizing log entries that you will have written to both SQL Server and to Elasticsearch to gain insight into the application, its usage, and how it's performing. By the end this course, you’ll know how to create a great logging framework that will provide huge benefits to you and many other people who have a stake in your applications

About the author
About the author

Full-stack developer, architect using the Microsoft stack and other key tools to create awesome solutions.

More from the author
More courses by Erik Dahl
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone! My name is Erik Dahl, and welcome to my course,. NET Logging Done Right: An Opinionated Approach Using Serilog. I'm a principle architect at RealPage with a lot of experience working in enterprise applications. Does troubleshooting your applications involve a lot of trying to reproduce problems? Or do you end up having to jump on emergency issues just because someone comes up to you and asks you to fix something? Getting logging done right can help minimize these things. In this course, we're going to establish a great logging framework using Serilog. Then we'll be applying it to a variety of applications with a special focus on minimizing the impact to application code. We'll also be exploring the data that we've logged using viewers and dashboards. Some of the major topics that we'll cover include the goals of good logging, objectives of a good logging framework, establishing such a framework using Serilog, applying that framework to different application types including ASP. NET apps, Web API, JavaScript, Angular 4, WPF and WCF, as well as ASP. NET Core and writing log entries to SQL Server and Elasticsearch, and then exploring and visualizing the data. By the end of this course, you'll know how to create a great logging framework that will provide huge benefits to you and many other people who have a stake in your applications. I hope you'll join me on this journey to learn great logging with the. NET Logging Done Right: An Opinionated Approach Using Serilog course at Pluralsight.