MongoDB BSON Mapping in C#: Typed Models and Immutable Records
Understand MongoDB BSON mapping in C# with explicit field names, immutable record creation, ID representations, and compatibility checks for stored documents.
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 7–12 of 264 articles
Understand MongoDB BSON mapping in C# with explicit field names, immutable record creation, ID representations, and compatibility checks for stored documents.
Learn how List and HashSet in C# represent ordering, duplicates, membership, and equality, with complete examples and clear boundaries for application code.
Learn MongoClient in ASP.NET Core with explicit configuration, singleton reuse, borrowed collection handles, and version-aware cluster ownership at shutdown.
Understand collections in C# through access, ordering, equality, mutation, and ownership contracts, with practical examples for everyday application code.
Understand MongoDB in C# through client ownership, typed BSON mapping, bounded reads, write boundaries, and index evidence without duplicating CRUD tutorials.
Compare NLog vs Serilog in .NET to choose the right logging library. Covers configuration style, structured logging, performance, rules routing, sinks vs targets, and migration guidance.