Serilog Tutorial - Starting out with Serilog in ASP.NET Core (Blazor app)

Published: 21 August 2021
on channel: Code with Julian
4k
79

This is a tutorial for setting up and using Serilog in an ASP.NET Core web application, specifically a Blazor Server web app. By the end of this tutorial you will know how to use Serilog to write logs to Console, File and to a Microsoft SQL Server Database (using Entity Framework Core).

Here are the steps in this tutorial:
1. Create a Blazor Server App
2. Install the Packages Required
3. Setup Serilog for Console
4. Setup File Logging with Serilog
5. Setup the Sql Server Database (using EF Core)
6. Setup MSSqlServer Serilog Sink

Join my mailing list:
Checkout my website:

Here are the dependencies for this project:
- Serilog for AspNet core:
- Entity Framework Core for Sql Server:
- Entity Framework Core Tools:

Credits:
- Icons designed by and
- Images from the artists on


Watch video Serilog Tutorial - Starting out with Serilog in ASP.NET Core (Blazor app) online without registration, duration 30 minute 40 second in high hd quality. This video was added by user Code with Julian 21 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4 thousand once and liked it 7 people.