Simple play icon Course
Skills

.NET Diagnostics for Applications: Best Practices

by Neil Morrissey

Issues in deployed applications can be difficult to diagnose. This course will teach you how to use capabilities in .NET to trace and instrument your applications in order to log the behavior of the system and diagnose problems.

What you'll learn

Software doesn’t always behave as expected. When problems occur, you need to understand the behavior of the deployed system in order to diagnose and solve issues with your code and data. In this course, .NET Diagnostics for Applications: Best Practices, you’ll learn to how to instrument and trace your code, in order to create useful diagnostics. First, you’ll learn how to instrument apps using classes in System.Diagnostics, like Debug, TraceSource, and DiagnosticSource. Next, you’ll discover the various destinations for TraceListeners and Logging Providers. Finally, you’ll explore how to instrument more complex, distributed applications using the Activity class and OpenTelemetry. When you’re finished with this course, you’ll have the skills and knowledge of instrumenting and tracing needed to implement diagnostics for .NET applications.

Table of contents

About the author

Neil has worked on everything from early mobile .NET compact framework apps to modern Azure based web apps during his years in IT. As a developer and architect, he has focused on .NET and JavaScript application development, security, and hosting across a variety of Microsoft platforms, including ASP.NET, SharePoint, and Dynamics CRM. Neil has several Microsoft Certifications, including MCPD, MCSA, and MCSD.

Ready to upskill? Get started