ASP.NET Core: Logging with log4net
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to use the logging framework log4net to standardize event logging for your ASP.NET Core applications.
Syllabus
Introduction
- Leverage the power of logging frameworks
- What you should know
- What is a logging framework?
- Why use a logging framework?
- What are the common logging frameworks?
- Logging levels and appender types
- Setting up log4net in .NET Core console apps
- Adding the log4net.config file
- Logging to the console with colors
- Setting up log4net in .NET Core web API apps
- Logging to a file
- Logging to a rolling file
- Challenge: Setting up log4net in .NET Core MVC apps
- Solution: Setting up log4net in .NET Core MVC apps
- Logging to an SQL database
- Setting up an exception handler middleware
- Log all unhandled exceptions to a file
- Log unhandled exceptions using a filter
- Handling and logging 404s in MVC
- Continuing on with logging
Taught by
Ervis Trupja
Related Courses
Build Web APIs using ASP.NETMicrosoft via edX MVC Application Design using .NET Core 2.0
Microsoft via edX Getting Started with ASP.NET Core Razor Pages
Coursera Project Network via Coursera ASP NET Core,MVC,C#,Angular, ChatGPT & EF Crash Course
Udemy RESTful Web API - The Complete Guide (.NET7 API) Part 1
Udemy