filmov
tv
Setting up Logging (w/ .NET Host, Serilog, and File Logging) - EASY WPF (.NET 5)
![preview_player](https://i.ytimg.com/vi/SfTdUNuApYc/maxresdefault.jpg)
Показать описание
Learn how to setup logging in a WPF application. In WPF, the best destination to write logs is to a file. However, Microsoft does not provide a mechanism to write logs to a file. That said, I also demonstrate how to leverage third-party logging providers, in this case Serilog, to write logs to a file. I go over a few useful configuration options for logging, but this tutorial focuses on setting up the logging rather than all the amazing and advanced configuration options.
TIMESTAMPS:
0:00 - Introduction
1:04 - Demo Introduction
1:48 - Microsoft.Extensions.Logging Setup
3:47 - Configuring Microsoft.Extensions.Logging
5:42 - Microsoft.Extensions.Logging w/ Host
7:15 - Issues w/ Microsoft.Extensions.Logging
8:10 - Serilog Setup
10:01 - Logging to a File w/ Serilog
12:25 - Serilog w/ Host
13:52 - Conclusion
OTHER LINKS:
TIMESTAMPS:
0:00 - Introduction
1:04 - Demo Introduction
1:48 - Microsoft.Extensions.Logging Setup
3:47 - Configuring Microsoft.Extensions.Logging
5:42 - Microsoft.Extensions.Logging w/ Host
7:15 - Issues w/ Microsoft.Extensions.Logging
8:10 - Serilog Setup
10:01 - Logging to a File w/ Serilog
12:25 - Serilog w/ Host
13:52 - Conclusion
OTHER LINKS:
Setting up Logging (w/ .NET Host, Serilog, and File Logging) - EASY WPF (.NET 5)
.NET logging: Setup, configure and write a log with ILogger (uses .NET Core)
High-performance logging in .NET, the proper way
Logging in ASP NET Core
Open Source Logging: Getting Started with Graylog Tutorial
Senior Programmers vs Junior Developers #shorts
My Jobs Before I was a Project Manager
Setting up a production ready VPS is a lot easier than I thought.
How to Build a Website - Lesson #05: Hosting Setup & WordPress Install
The Pi-Hole install EVERYONE needs!
Strongly typed logging in .Net
5 Basic Networking commands for everyone (2023) | How to troubleshoot network issues on Windows?
How To install Windows 11 on Smartphone #shorts #windows11
Car-Net and your Volkswagen: How to setup Wi-Fi | Crosby Volkswagen
Audi Connect: How To Set Up and Connect In-Car WiFi
STOP using this Two-Factor Authentication (2FA) method!
What To Do AFTER Building a Gaming PC! 😄 [BIOS, Drivers & Windows 11 Install!]
Tenda Router Setup and Full Configuration
How To Enable iMessage On iPhone | Tech Insider
access EVERYTHING from your web browser!! (Linux and Windows Desktop, SSH) // Guacamole Install
Growatt Wifi (2022 Dongle) Setup, Re-configure or Troubleshooting
Not Sure How to Register Your Smart Bro WiFi Prepaid SIM? Just Follow These Steps
Industrial-scale Web Scraping with AI & Proxy Networks
Maximize Your Internet Router: Understanding Ports
Комментарии