python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Using Serilog for Blazor Server solution -> "IHostBuilder does not contain a definition for 'UseSerilog'
I am trying to implement Serilog for my Blazorserver project.
First and foremost, i follow the instructions as described in the link https://www.c-sharpcorner.com/article/log-data-into-file-using-seri...
beinando
Votes: 0
Answers: 1
How to silence Serilog in integration tests with the new minimal hosting model of .NET 6
I have a .NET 6 web API project with existing integration tests for some of the API endpoints. The project uses Serilog for logging and everything was fine so far.
I migrated the code to the new minim...
kampfmoehre
Votes: 0
Answers: 1
C# Serilog Thread Id does not correspond with thread id in process explorer
I use an enriched serilog configuration that logs the thread id. This results in logging the thread id in a 2 digit number:
Now I want to check a high CPU issue and which thread is causing it. For th...

Yves1982
Votes: 0
Answers: 0
Serilog: How do I remove unnecessary information Net core 6
I'm using ASP net core 6 and I don't have the startup class. Of course, I programmed the whole thing in Visual studio code 2022
The problem:
enter image description here
I don't want the location to b...
Always learning
Votes: 0
Answers: 0