We may earn an affiliate commission when you visit our partners.
Erik Dahl

Supercharge your log entries for your ASP.NET Core applications using Serilog Enrichers. We'll cover standard enrichers and custom enrichers for HttpContext information. All without cluttering application code!

Read more

Supercharge your log entries for your ASP.NET Core applications using Serilog Enrichers. We'll cover standard enrichers and custom enrichers for HttpContext information. All without cluttering application code!

Serilog is a powerful logging framework for .NET applications, but many log entries still miss critically important pieces of information needed to fully analyze or troubleshoot problems. In this course, Serilog Enrichers: Getting Common Information into Log Entries, you will learn foundational knowledge of leveraging Serilog enrichers for ASP.Net Core web projects. First, you will learn standard enrichers for things like the machine name and assembly information. Next, you will discover custom enrichment that includes information from the HttpContext to support information regarding the query string and logged-in users - both in API and MVC websites. Finally we'll look at custom enrichment and exception details. When you’re finished with this course, you will have the skills and knowledge of Serilog enrichers needed to supercharge your own ASP.NET Core applications with awesomely consistent log entries.

Enroll now

What's inside

Syllabus

Course Overview
Enrichers: Getting Additional Information into the Entries

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Explores various enricher options to include useful information in logs, such as machine name and assembly
Teaches how to add important information to log entries in ASP.NET Core web applications, including HttpContext, query string, and logged-in user details
Focuses on common and custom enrichers, providing a practical approach to log enhancement
Suitable for developers working with ASP.NET Core applications who want to improve logging capabilities
Instructed by Erik Dahl, an experienced professional in the field
Requires students to be familiar with ASP.NET Core and basic logging concepts

Save this course

Save Serilog 2 Enrichers: Getting Common Information into Log Entries 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 Serilog 2 Enrichers: Getting Common Information into Log Entries with these activities:
Review advanced programming and software engineering fundamentals
Review the fundamentals of software development to strengthen your base and prepare for more advanced concepts in this course.
Show steps
  • Go over basic data structures and algorithms.
  • Revise design patterns and principles.
  • Practice coding problems in your preferred programming language.
Join a Study Group for Serilog Enrichers
In a group setting, you can learn from the experiences and different viewpoints from others taking the same course.
Show steps
  • Find a group of peers who are also taking the course
  • Meet regularly to discuss the course material
Follow tutorials on logging using Serilog in ASP.NET Core applications
Supplement your learning by exploring tutorials that demonstrate the practical application of Serilog in ASP.NET Core applications.
Show steps
  • Find tutorials from reputable sources.
  • Follow step-by-step instructions to implement Serilog in your own projects.
  • Experiment with different Serilog configurations and enrichers.
Seven other activities
Expand to see all activities and additional details
Show all ten activities
Participate in group discussions or code reviews on Serilog implementation
Engage with other learners to exchange ideas, discuss implementation strategies, and provide feedback on Serilog usage.
Show steps
  • Join online forums or discussion groups related to Serilog.
  • Initiate or participate in discussions about Serilog implementation.
  • Review and provide constructive feedback on code examples shared by others.
Write a Summary of Course Content
Summary writing helps to solidify understanding and key points of the course.
Show steps
  • Go through each section of the course
  • Write a short summary of the key points
Create code snippets or blog posts on Serilog best practices
Solidify your understanding by sharing your knowledge through code snippets or blog posts, focusing on best practices for using Serilog in ASP.NET Core.
Show steps
  • Choose specific topics related to Serilog best practices.
  • Develop code samples or write blog posts that illustrate these practices.
  • Share your content with others through platforms like GitHub, Medium, or your blog.
Solve coding challenges using Serilog to enhance log output
Test your understanding by solving coding challenges that require you to implement Serilog enrichers to improve log output.
Show steps
  • Find online coding challenges or create your own.
  • Design solutions that utilize Serilog enrichers for additional log details.
  • Run your solutions and analyze the resulting log output.
Develop a GitHub Project Using Custom Enrichers
This activity will allow you to gain practical experience through a GitHub project.
Browse courses on GitHub
Show steps
  • Create a new GitHub repository
  • Add code to use custom enrichers in an ASP.NET Core application
Contribute to Serilog or related open-source projects
Extend your learning beyond the classroom by contributing to Serilog or other open-source projects related to logging in .NET.
Show steps
  • Explore Serilog's GitHub repository and identify areas where you can contribute.
  • Fork the repository and create a new branch for your changes.
  • Implement your enhancements or bug fixes.
  • Submit a pull request with detailed documentation of your changes.
Build a small logging framework in .NET using Serilog as a reference
Challenge yourself by creating your own logging framework inspired by Serilog's design principles.
Show steps
  • Research and understand the core concepts of logging frameworks.
  • Design and implement your own logging API and underlying architecture.
  • Develop custom enrichers and sinks to extend the functionality of your framework.
  • Test and evaluate your framework using real-world scenarios.

Career center

Learners who complete Serilog 2 Enrichers: Getting Common Information into Log Entries will develop knowledge and skills that may be useful to these careers:
Data Analyst
Data Analyst roles often involve working with logs to debug production systems. This course on Serilog Enrichers can help build a foundation for working with logs. You'll be able to gather critical information that can help when troubleshooting. For example, getting information about logged-in users and data from the query string.
Technical Support Specialist
Technical Support Specialists provide technical support to users of software and hardware products. They must be able to understand and troubleshoot problems that users encounter. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Technical Support Specialists.
DevOps Engineer
DevOps Engineers are responsible for bridging the gap between development and operations teams. They must be able to understand and troubleshoot problems that occur during the software development lifecycle. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for DevOps Engineers.
Cloud Engineer
Cloud Engineers help manage and operate cloud computing systems. They must be able to understand and troubleshoot problems that occur with cloud systems. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Cloud Engineers.
Information Technology Manager
Information Technology Managers are responsible for managing and overseeing information technology systems. They must be able to understand and troubleshoot problems that occur with IT systems. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Information Technology Managers.
Quality Assurance Analyst
Quality Assurance Analysts are responsible for testing and validating software systems to ensure that they meet requirements. They must be able to identify and report bugs and other issues. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Quality Assurance Analysts.
Computer Systems Analyst
Computer Systems Analysts are responsible for analyzing and designing computer systems. They must be able to understand and troubleshoot problems that occur during the development process. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Computer Systems Analysts.
Web Developer
Web Developers are responsible for designing and developing websites. They must be able to understand and troubleshoot problems that occur during the development process. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Web Developers.
Network Administrator
Network Administrators are responsible for managing and maintaining computer networks. They must be able to understand and troubleshoot problems that occur with networks. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Network Administrators.
Information Security Analyst
Information Security Analysts are responsible for protecting an organization's information systems from unauthorized access, use, disclosure, disruption, modification, or destruction. This course on Serilog Enrichers can help build a foundation for working with logs, which is critical for Information Security Analysts.
Full-Stack Developer
Getting insight into which system components are behaving abnormally is a critical aspect of full-stack development. As a Full Stack Developer, you operate across the entire software development lifecycle. You must consider not only the front-end experience, but also how it interacts with the back-end and vice-versa. With a greater understanding of how to get common information from logs, such as machine name and assembly data, you'll be better equipped to analyze and debug issues.
Systems Analyst
Systems Analysts are responsible for analyzing and designing software systems. They must be able to communicate with both technical and non-technical stakeholders to gather requirements and design systems that meet those requirements. This course on Serilog Enrichers provides foundational knowledge of how to leverage Serilog enrichers for ASP.Net Core web projects, which can help Systems Analysts supercharge their own applications with awesomely consistent log entries.
Software Engineer
Software Engineers are responsible for the design, development, and maintenance of software systems. They must be able to analyze and troubleshoot problems that arise during the development process. This course on Serilog Enrichers provides foundational knowledge of how to leverage Serilog enrichers for ASP.Net Core web projects, which can help Software Engineers supercharge their own applications with awesomely consistent log entries.
Software Architect
Software Architects help design and build software systems, typically leading teams of Software Engineers. As a Software Architect, you need to keep the 'big picture' in mind, ensuring that the system meets all requirements and performs well. This course on Serilog Enrichers can help you understand how to get common information from logs, which can be critical for debugging and performance tuning.
Database Administrator
Database Administrators handle a variety of important tasks, including designing, managing, and monitoring databases. They often need to troubleshoot issues with databases and this course on Serilog Enrichers can be helpful in that regard. It's not a course about databases, but knowing how to work with logs can be very helpful for a Database Administrator.

Reading list

We've selected nine 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 Serilog 2 Enrichers: Getting Common Information into Log Entries.
This popular book introduces design patterns in a non-technical way, providing helpful context for understanding how enrichers work and can fit into application design. has been widely used for background knowledge and as an introduction to design patterns in academia and the industry.
Provides a theoretical foundation for understanding the domain-driven design principles that underpin the use of Serilog and enrichers. is recommended as supplementary material for those seeking a deeper understanding of the underlying concepts.
Provides a comprehensive overview of logging concepts and best practices, including a chapter dedicated to Serilog. It offers a valuable supplement for those seeking a deeper understanding of logging and how enrichers fit into that ecosystem.
Provides a comprehensive overview of advanced topics in ASP.NET Core web development. It covers logging and monitoring as part of a broader discussion on building robust applications.
Offers a deep dive into .NET Core 6, including chapters on logging and debugging. It valuable resource for experienced developers who want to master the latest features of the platform.
Focuses on building web APIs with ASP.NET Core 6. It includes a chapter on logging and error handling, providing practical advice for developing robust and scalable APIs.
For those interested in the security implications of logging, this book provides a comprehensive overview of security engineering principles and practices. Understanding security concepts can help you appreciate the importance of logging and enrichers in maintaining secure systems.
Provides a deep understanding of Log4j, a widely used logging framework in Java. It is helpful for those who want to explore alternative logging options or compare different approaches.
Offers a broad perspective on software architecture, including principles and best practices related to logging and monitoring. It is useful for architects and developers who want to gain a comprehensive understanding of system design.

Share

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

Similar courses

Here are nine courses similar to Serilog 2 Enrichers: Getting Common Information into Log Entries.
Logging and Monitoring in ASP.NET Core
Most relevant
Effective Logging in ASP.NET Core 3
Most relevant
Securely Handling Errors and Logging Security Events in...
Most relevant
.NET 4 Logging Done Right: An Opinionated Approach Using...
Most relevant
ASP.NET Core 3 Health Checks
Most relevant
ASP.NET Core 3 and ASP.NET 4 Input Validation
Most relevant
Building and Running Custom ASP.NET Core Containers
Most relevant
Continuously Deliver IIS-based .NET 4 Applications
Implementing Custom Middleware Components in ASP.NET Core...
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