.NET Ramblings
open-menu closeme
Home
Videos
Feeds
About
Contribute
github linkedin
  • I opened a file with FILE_FLAG_DELETE_ON_CLOSE, but now I changed my mind

    calendar Jul 6, 2026 · devblogs.microsoft.com
    I opened a file with <CODE>FILE_<WBR>FLAG_<WBR>DELETE_<WBR>ON_<WBR>CLOSE</CODE>, but now I changed my mind

    The CreateFile function has a flag called FILE_FLAG_DELETE_ON_CLOSE, which means that the file will be deleted when the last handle to the file is closed. But what if you pass that flag and then change your mind? Is there a way to call take-backs? No, there are no take-backs. The Link to article: …


    Read More
  • Need a different partition key in Azure Cosmos DB? Pick the right approach

    calendar Jul 6, 2026 · devblogs.microsoft.com
    Need a different partition key in Azure Cosmos DB? Pick the right approach

    Once you create a container, its partition key is fixed at creation, and you can’t change it in place. However, if your original key starts causing problems like cr Link to article: https://devblogs.microsoft.com/cosmosdb/need-a-different-partition-key-in-azure-cosmos-db-pick-the-right-approach


    Read More
  • Modular Monolith in C#: Complete Implementation Guide for .NET Developers

    calendar Jul 6, 2026 · devleader.ca
    Modular Monolith in C#: Complete Implementation Guide for .NET Developers

    Build a modular monolith in C# with bounded contexts, module communication, and data isolation. Complete implementation guide with real .NET code examples. Link to article: https://www.devleader.ca/2026/07/06/modular-monolith-in-c-complete-implementation-guide-for-net-developers


    Read More
  • Natvis Comes to Linux and macOS: Visualize Your C++ Types Without Writing a Single Data Formatter

    calendar Jul 6, 2026 · blog.jetbrains.com
    Natvis Comes to Linux and macOS: Visualize Your C++ Types Without Writing a Single Data Formatter

    If you’ve ever debugged your own C++ containers, strings, or hash tables on Linux or macOS, you know the deal: to see anything useful in the debugger, you have to write a custom data formatter. And writing a good data formatter is genuinely painful. Often, the formatter ends up longer and harder to follow than […] Link …


    Read More
  • Does Speaking to Agents Like Cavemen Really Save 65% of Tokens? We Test

    calendar Jul 6, 2026 · blog.jetbrains.com
    Does Speaking to Agents Like Cavemen Really Save 65% of Tokens? We Test

    A paired A/B benchmark of the token-compression skill Caveman on Claude Code, run on SkillsBench: does it actually save tokens, and does it degrade AI agent output quality? Advertised saving: 65%. Measured saving: 8.5%. Output-token saving on real agentic tasks, with the skill forcibly activated. This is the ceiling, …


    Read More
  • Not all model upgrades are upgrades

    calendar Jul 6, 2026 · devblogs.microsoft.com
    Not all model upgrades are upgrades

    A new model drops with lower per-token pricing and better benchmarks. You switch. A week later someone asks why the agent is burning 12x more tokens on the same task while producing worse output. We ran 150 agent tasks across 15 scenarios on two models, Claude Sonnet 4.6 and Claude Sonnet 5, using GitHub Copilot Chat …


    Read More
  • Azure SDK Release (June 2026)

    calendar Jul 6, 2026 · devblogs.microsoft.com
    Azure SDK Release (June 2026)

    Thank you for your interest in the new Azure SDKs! We release new features, improvements, and bug fixes every month. Subscribe to our Azure SDK Blog RSS Feed to get notified when a new release is available. You can find links to packages, code, and docs on our Link to article: …


    Read More
  • Building MCP Servers and Clients in C#: The Complete Guide

    calendar Jul 6, 2026 · devleader.ca
    Building MCP Servers and Clients in C#: The Complete Guide

    Learn how to build an MCP server C# developers can trust, from stdio and HTTP transports to tools, clients, security, Azure hosting, and debugging tips. Link to article: https://www.devleader.ca/2026/07/06/building-mcp-servers-and-clients-in-c-the-complete-guide


    Read More
  • NuGet Versioning and Semantic Versioning (SemVer) in .NET

    calendar Jul 5, 2026 · devleader.ca
    NuGet Versioning and Semantic Versioning (SemVer) in .NET

    Master NuGet versioning with SemVer 2.0 in .NET. Learn MAJOR.MINOR.PATCH rules, pre-release suffixes, version ranges in PackageReference, and csproj version properties. Link to article: https://www.devleader.ca/2026/07/05/nuget-versioning-and-semantic-versioning-semver-in-net


    Read More
  • Serilog in .NET: Complete Guide to Structured Logging

    calendar Jul 5, 2026 · devleader.ca
    Serilog in .NET: Complete Guide to Structured Logging

    Learn Serilog in .NET from scratch. Setup, sinks, enrichers, appsettings configuration, and best practices for ASP.NET Core with .NET 9 and .NET 10. Link to article: https://www.devleader.ca/2026/07/05/serilog-in-net-complete-guide-to-structured-logging


    Read More
  • The .NET Host Process: What Runs Before Main() and Why It Sometimes Hangs

    calendar Jul 5, 2026 · dotnettips.wordpress.com
    The .NET Host Process: What Runs Before Main() and Why It Sometimes Hangs

    This guide explores the essential role of the .NET host process, which initializes the runtime, resolves dependencies, and launches applications. It highlights common issues with lingering host processes, especially during BenchmarkDotNet runs, and offers diagnostic strategies to identify root causes, such as unclean …


    Read More
  • NuGet Package Metadata Best Practices: README, Icon, Tags, and License

    calendar Jul 4, 2026 · devleader.ca
    NuGet Package Metadata Best Practices: README, Icon, Tags, and License

    Learn NuGet package metadata best practices. Configure README files, icons, license expressions, tags, and repository URLs to make your .NET package shine on NuGet.org. Link to article: https://www.devleader.ca/2026/07/04/nuget-package-metadata-best-practices-readme-icon-tags-and-license


    Read More
  • Monolith Architecture in C#: The Complete Guide

    calendar Jul 4, 2026 · devleader.ca
    Monolith Architecture in C#: The Complete Guide

    Explore monolith architecture in C# -- what it is, the types of monolithic architectures, when to use them, and how .NET developers work with each effectively. Link to article: https://www.devleader.ca/2026/07/04/monolith-architecture-in-c-the-complete-guide


    Read More
  • Build Your Own VPN With Tailscale

    calendar Jul 4, 2026 · milanjovanovic.tech
    Build Your Own VPN With Tailscale

    Most of what runs on your servers was never meant to be public: databases, dashboards, admin panels, internal APIs. Tailscale connects your machines into one private, encrypted network so they can talk to each other (and to you) while the public internet sees nothing. Here's what it is and how to wire up applications …


    Read More
  • Weekly Recap: Logging in .NET, HttpClient Observability, and the Complete C# Visitor Pattern Series [Jul 2026]

    calendar Jul 4, 2026 · devleader.ca
    Weekly Recap: Logging in .NET, HttpClient Observability, and the Complete C# Visitor Pattern Series [Jul 2026]

    This week wraps up the C# Visitor pattern series with real-world examples, best practices, a decision guide, and step-by-step implementation, plus a complete guide to logging in .NET with ILogger, Serilog, and OpenTelemetry. There's also deep HttpClient in .NET 10 coverage on observability, resilience, streaming, and …


    Read More
  • How to Create a NuGet Package in C# with dotnet pack

    calendar Jul 3, 2026 · devleader.ca
    How to Create a NuGet Package in C# with dotnet pack

    Step-by-step guide to creating a NuGet package in C# using dotnet pack. Learn how to configure your .csproj, set package properties, and generate a .nupkg file. Link to article: https://www.devleader.ca/2026/07/03/how-to-create-a-nuget-package-in-c-with-dotnet-pack


    Read More
  • HttpClient Logging and Observability in .NET 10: ILogger, DelegatingHandler, and OpenTelemetry

    calendar Jul 3, 2026 · devleader.ca
    HttpClient Logging and Observability in .NET 10: ILogger, DelegatingHandler, and OpenTelemetry

    How to implement HttpClient logging and observability in .NET 10 -- covering built-in ILogger integration, DelegatingHandler for custom request logging, OpenTelemetry tracing and metrics, and redacting sensitive headers in production. Link to article: …


    Read More
  • How did we conclude that CcNamespace.dll was the ringleader of a group of DLLs that unloaded prematurely?

    calendar Jul 3, 2026 · devblogs.microsoft.com
    How did we conclude that <tt>CcNamespace.dll</tt> was the ringleader of a group of DLLs that unloaded prematurely?

    When I presented my study of a crash caused by a thread executing from an unloaded third-party DLL, someone asked how I concluded that CcNamespace.dll was the ringleader of the fa Link to article: https://devblogs.microsoft.com/oldnewthing/20260703-00/?p=112504


    Read More
  • Logging in .NET: The Complete Developer's Guide

    calendar Jul 3, 2026 · devleader.ca
    Logging in .NET: The Complete Developer's Guide

    Master logging in .NET with ILogger, structured logging, log levels, Serilog, and OpenTelemetry. Complete guide for .NET 9 and .NET 10 developers. Link to article: https://www.devleader.ca/2026/07/03/logging-in-net-the-complete-developers-guide


    Read More
  • In Conversation With the Golden Kodee Winners

    calendar Jul 3, 2026 · blog.jetbrains.com
    In Conversation With the Golden Kodee Winners

    KotlinConf 2026 marked a milestone for the Kotlin community: the very first Golden Kodee Community Awards. The awards recognize the individuals and communities whose passion and dedication help the Kotlin ecosystem thrive. From creating educational content and building engaging online communities to organizing events, …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

.NET Ramblings

Copyright  .NET RAMBLINGS. All Rights Reserved

to-top