We may earn an affiliate commission when you visit our partners.
Pluralsight logo

.NET 4 Logging Done Right

An Opinionated Approach Using Serilog 2

Erik Dahl

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.

Read more

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.

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,

, 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

Serilog is a logging framework integrated with .NET applications for recording diagnostic logs into files and SQL/NoSQL databases

Some of the benefits of Serilog include:

In this course you will learn about:

This course is intended for those who want to learn Serilog and its approach to .NET Logging. Especially useful for people who want to minimize situations where they have to reproduce problems in their applications or jump on escalated issues to troubleshoot.

This is an intermediate level course, so it assumes some previous exposure to working with application development, including troubleshooting and fixing issues in applications. Familiarity with ASP.NET, MVC, Web forms, JavaScript, WPF and WCF will come in handy.

Enroll now

What's inside

Syllabus

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
Read more
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

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Useful for troubleshooting and problem-solving in applications
Emphasizes logging best practices for efficient resource utilization and performance optimization
Targeting developers who prioritize clean and structured code
Prerequisite of troubleshooting and fixing issues in applications
Assumes intermediate-level knowledge in application development

Save this course

Save .NET 4 Logging Done Right: An Opinionated Approach Using Serilog 2 to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in .NET 4 Logging Done Right: An Opinionated Approach Using Serilog 2 with these activities:
Organize personal notes, assignments, and quizzes
Improve retention and accessibility by organizing and summarizing learning materials from the course.
Show steps
  • Gather and sort materials
  • Create a system for organizing
Attend a workshop on advanced logging tools and techniques
Expand knowledge and skills in advanced logging tools and techniques through hands-on learning and interaction with experts.
Browse courses on Logging Best Practices
Show steps
  • Identify and register for a relevant workshop
  • Attend the workshop and actively participate
  • Apply the learned techniques in practical scenarios
Follow tutorials on advanced logging techniques
Enhance knowledge of logging best practices and advanced techniques for effective log analysis and troubleshooting.
Browse courses on Logging Best Practices
Show steps
  • Research online tutorials or documentation
  • Follow step-by-step instructions
  • Practice implementing advanced logging techniques
  • Evaluate the effectiveness of different approaches
One other activity
Expand to see all activities and additional details
Show all four activities
Write a blog post or article on logging best practices
Share knowledge and insights on logging best practices, demonstrating a deep understanding of the subject matter.
Browse courses on Logging Best Practices
Show steps
  • Research and gather information
  • Outline the content
  • Write the blog post or article
  • Edit and proofread the content

Career center

Learners who complete .NET 4 Logging Done Right: An Opinionated Approach Using Serilog 2 will develop knowledge and skills that may be useful to these careers:
Software Engineer
Logging is a critical aspect of software development, and Serilog is a powerful logging framework for .NET applications. As a Software Engineer, you will be responsible for designing, developing, and maintaining software systems. A strong understanding of logging will help you troubleshoot problems, identify performance bottlenecks, and improve the overall quality of your software. This course will provide you with the knowledge and skills you need to use Serilog effectively in your own projects.
DevOps Engineer
As a DevOps Engineer, you will be responsible for bridging the gap between development and operations teams. A strong understanding of logging will help you monitor the health and performance of your applications, identify and resolve issues quickly, and improve the overall efficiency of your team. This course will provide you with the knowledge and skills you need to use Serilog to set up a comprehensive logging system for your applications.
Data Analyst
As a Data Analyst, you will be responsible for collecting, analyzing, and interpreting data to identify trends and patterns. A strong understanding of logging will help you gather the data you need to perform your analysis, identify anomalies, and make informed decisions. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system that captures the data you need.
Web Developer
As a Web Developer, you will be responsible for designing, developing, and maintaining websites and web applications. A strong understanding of logging will help you troubleshoot problems, identify performance bottlenecks, and improve the overall quality of your web applications. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system for your web applications.
Systems Engineer
As a Systems Engineer, you will be responsible for designing, developing, and maintaining computer systems. A strong understanding of logging will help you troubleshoot problems, identify performance bottlenecks, and improve the overall reliability of your systems. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system for your systems.
Application Architect
As an Application Architect, you will be responsible for designing and developing software applications. A strong understanding of logging will help you design applications that are reliable, scalable, and easy to maintain. This course will provide you with the knowledge and skills you need to use Serilog to design applications that log events in a consistent and meaningful way.
Software Tester
As a Software Tester, you will be responsible for testing software to identify bugs and ensure that it meets the requirements. A strong understanding of logging will help you troubleshoot problems, identify performance bottlenecks, and improve the overall quality of the software you test. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system that captures the data you need to perform your testing.
Technical Writer
As a Technical Writer, you will be responsible for writing documentation for software and other technical products. A strong understanding of logging will help you understand the technical details of the products you document and write clear and concise documentation that explains how to use them effectively. This course will provide you with the knowledge and skills you need to use Serilog to understand the logging features of the products you document.
IT Manager
As an IT Manager, you will be responsible for managing the IT infrastructure of an organization. A strong understanding of logging will help you monitor the health and performance of your IT systems, identify and resolve issues quickly, and improve the overall efficiency of your team. This course will provide you with the knowledge and skills you need to use Serilog to set up a comprehensive logging system for your IT systems.
Product Manager
As a Product Manager, you will be responsible for managing the development and launch of new products. A strong understanding of logging will help you understand the technical details of your products and make informed decisions about their design and development. This course will provide you with the knowledge and skills you need to use Serilog to understand the logging features of your products.
Business Analyst
As a Business Analyst, you will be responsible for analyzing business needs and developing solutions to meet those needs. A strong understanding of logging will help you understand the technical details of the solutions you develop and make informed decisions about their design and implementation. This course will provide you with the knowledge and skills you need to use Serilog to understand the logging features of the solutions you develop.
Project Manager
As a Project Manager, you will be responsible for planning, executing, and closing projects. A strong understanding of logging will help you track the progress of your projects, identify and resolve issues quickly, and improve the overall efficiency of your team. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system for your projects.
Quality Assurance Analyst
As a Quality Assurance Analyst, you will be responsible for testing software to identify bugs and ensure that it meets the requirements. A strong understanding of logging will help you troubleshoot problems, identify performance bottlenecks, and improve the overall quality of the software you test. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system that captures the data you need to perform your testing.
Database Administrator
As a Database Administrator, you will be responsible for managing the databases of an organization. A strong understanding of logging will help you monitor the health and performance of your databases, identify and resolve issues quickly, and improve the overall efficiency of your team. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system for your databases.
Network Administrator
As a Network Administrator, you will be responsible for managing the networks of an organization. A strong understanding of logging will help you monitor the health and performance of your networks, identify and resolve issues quickly, and improve the overall efficiency of your team. This course will provide you with the knowledge and skills you need to use Serilog to set up a logging system for your networks.

Reading list

We've selected 11 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in .NET 4 Logging Done Right: An Opinionated Approach Using Serilog 2.
Offers in-depth explanations of the Common Language Runtime (CLR), the foundation of .NET. It's a great resource for understanding the technical underpinnings of .NET.
An accessible introduction to design patterns, which are reusable solutions to common software development problems. Familiarity with design patterns can improve the design and implementation of logging solutions.
Comprehensive guide to Elasticsearch, a popular search and analytics engine. It covers topics like data ingestion, indexing, and querying, which are relevant for storing and analyzing log data.
Provides a comprehensive overview of ASP.NET Core MVC, a popular web framework in .NET. It covers topics such as routing, controllers, and views, which are relevant for understanding global logging in ASP.NET Core.
For those focusing on ASP.NET Core, this book provides specific guidance on logging in this framework. It can enhance your understanding of the course's relevant sections.
Provides a theoretical foundation for domain-driven design (DDD), a software development approach that emphasizes modeling the domain of the application. Understanding DDD principles can enhance logging practices.
Provides a deep dive into SQL Server execution plans, essential for optimizing database queries. This knowledge is valuable when working with logging data stored in SQL Server.
Serves as a good starting point for those new to C# and object-oriented programming. It covers basic concepts like classes, objects, and inheritance, which are helpful for understanding the code examples in the course.
Provides a collection of practical recipes for solving common C# problems. It covers all aspects of C# development, from basic syntax to advanced topics such as concurrency and networking.
Provides a fun and engaging introduction to C# for beginners. It uses a visual and interactive approach to teach the basics of C# programming.
Provides a comprehensive and in-depth look at C#. It covers all aspects of C# development, from the basics to advanced topics such as concurrency and unsafe code.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to .NET 4 Logging Done Right: An Opinionated Approach Using Serilog 2.
Serilog 2 Enrichers: Getting Common Information into Log...
Most relevant
Secure Coding: Preventing Insufficient Logging and...
Most relevant
Java 11 Core Libraries: Java Log System
Most relevant
Effective Logging in ASP.NET Core 3
Most relevant
Installing the Elastic Stack
Most relevant
Securely Handling Errors and Logging Security Events in...
Most relevant
Logging and Monitoring in ASP.NET Core
Most relevant
SQL Server: Understanding, Configuring, and...
Kubernetes Security: Implementing Monitoring, Logging,...
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser