csharp-11-ef-core-7-features
Code samples for .NET Core7/C#11 and EF Core 7 (by karenpayneoregon)
Serilog
Simple .NET logging with fully-structured events (by serilog)
csharp-11-ef-core-7-features | Serilog | |
---|---|---|
13 | 67 | |
72 | 7,623 | |
- | 0.7% | |
9.4 | 7.3 | |
about 1 month ago | about 2 months ago | |
C# | C# | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
csharp-11-ef-core-7-features
Posts with mentions or reviews of csharp-11-ef-core-7-features.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-11-30.
-
EF Core HasData
git init PayneServiceLibrary cd PayneServiceLibrary git remote add origin https://github.com/karenpayneoregon/csharp-11-ef-core-7-features.git git config core.sparseCheckout true echo "PayneServiceLibrary/*" >> .git/info/sparse-checkout git pull origin master
-
NET 9 BinaryFormatter migration paths
All code samples use mocked up data from here.
-
Hidden NET 9 gems
Source code
-
Visual Studio package security
If there are many projects that have suppressions, get the following project and run it which will create a json file listing Visual Studio solutions with projects that has suppressions.
-
C# Search by multiple strings
Spam Source code Activity log Source code
-
Window Forms Dark mode
Standalone form project Class project
-
Regex timeout - C#
Source code has more code than shown below.
-
Learn FormattableString (C#)
Main project EF Core project Templating project
-
NodaTime – time offsets C#
Console project
-
Push your skills Part 2
Forms project
Serilog
Posts with mentions or reviews of Serilog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-06-09.
-
log4net VS Serilog - a user suggested alternative
3 projects | 9 Jun 2025
Serilog is also a Logging framework like Log4net
-
Logging Like a Pro in .NET
Once you're ready for production, you can plug in any of Serilog’s many available sinks, like Seq, Application Insights, etc.
-
Serilog filter log files by type
Serilog
-
NET 9 BinaryFormatter migration paths
Each code sample are void of exception handling as all work in done in the project’s debug folder which a developer has permissions. For an actual application use assertion, try-catch blocks and optionally logging runtime errors to a physical log file using a provider such as SeriLog.
-
Essential .NET Libraries Every Developer Should Know
Logging with style? Serilog is here for you.
-
🚀 Introducing NextSolution V2: ASP.NET API + Next.js + Expo Starter Template
This template was built using a variety of powerful frameworks and tools, including: .NET, Ngrok, JWT (JSON Web Tokens), Entity Framework, AutoMapper, FluentValidation, Flurl, Humanizer, libphonenumber-csharp, MailKit, OAuth, Serilog, Twilio, Swagger, React.js, React Native, React Navigation, Axios, Expo Dev, Lodash, NativeWind, React Hook Form, Zustand, Visual Studio Code, Visual Studio, Android Studio, Git, GitHub Copilot, Node.js, React Native Paper, NextUI
-
Logging Best Practices in ASP.NET Core
You can find the full list of supported Sinks in the Serilog GitHub page.
-
How to Implement Structured Logging and Distributed Tracing for Microservices with Seq
Add the Serilog logging package to both microservices.
-
WinForms dynamic buttons
Which is used to feed information to ButtonOperations constructor. Note, Log.Information which uses SeriLog NuGet packages to write details to a file which is useful if there is an issue with displaying buttons, remove this for production code.
-
C# PeriodicTimer
If there are any runtime exceptions they are written to a log file using SeriLog. In source project see folder SampleLogFile for samples of the error log file.
What are some alternatives?
When comparing csharp-11-ef-core-7-features and Serilog you can also consider the following projects:
sql-server-computed-columns - Using SQL-Server computed columns with EF Core
NLog - NLog - Flexible and Structured Logging for various .NET Platforms
enum-tips - Various tips for working with enums
Log4Net - Apache Log4net is a versatile, feature-rich, efficient logging API and backend for .NET
command-line-exploration - Working with command line parameters/arguments for console projects
Sentry - Sentry SDK for .NET