TGViewer
Channel Public Channel
//devdigest

//devdigest

@devdigest

All about software development: .NET, C#, F#, Azure and other Microsoft technologies! For more information visit https://bio.link/devdigest
Subscribers
376
Photos
1
Videos
0
Links
2.2K

Showing posts older than #2719 · Back to latest

Older Posts 20 shown
Post #2718 67
⚡️ .NET 11: Runtime Async, Native AOT, and AI Application Development Tools

At the Microsoft Build 2026 conference, the company spoke in detail about the key innovations of .NET 11.

The update includes an accelerated SDK with support for Native AOT, new capabilities for working with AI agents, improvements to System.Text.Json, and built-in support for the JSON Lines format.

One of the main announcements was Runtime Async, a new asynchronous execution mechanism that improves performance, reduces the size of applications, and simplifies debugging.

Microsoft also unveiled an initiative to improve memory security and a number of runtime optimizations that should make .NET a more efficient platform for cloud-native and AI-centric applications.

♻️ Subscribe for free now!
Microsoft .NET 11 in depth: Runtime, libraries, and SDK for the AI era .NET 11 delivers a new wave of improvements across the runtime, libraries, and SDK to help developers build modern applications for the AI era. In this session, we’ll take an in-depth look at the key investments in performance, diagnostics, and developer…
Post #2717 106
⚡️ How to Create an MCP Server on .NET

Paul Michaels showed how to turn an ordinary . NET code into a set of tools that can be used by AI assistants like Cursor, VS Code, and LM Studio.

His sample MCP server connects to a local LLM through LM Studio, finds available functions in the assembly and allows the agent to call them via stdin/stdout — for example, create or add files.

According to the author, the basic implementation takes about 12 lines of code, and the new AI tool can be described as a simple static method with attributes and a clear text description.

♻️ Subscribe for free now!
pmichaels.net Creating a Simple MCP Server in .NET In my previous post, I covered how to interact with a local LLM from .NET using LM Studio. In this post, I’m going to take that a little further and build an…
  • ❤ 1
Post #2716 107
⚡️ HybridCache is a single API for two-tier caching

HybridCache is an API that combines fast local IMemoryCache and distributed IDistributedCache, such as Redis.

HybridCache automatically works with two cache tiers, takes care of data serialization, and protects applications from cache stampede, a situation where many concurrent requests overload the database after the cache has expired.

HybridCache also supports invalidation by keys and tags, but retains an important limitation: local caches on other servers are not cleared instantly, so developers need to configure the L1 cache lifetime separately.

♻️ Subscribe for free now!
adrianbailador.github.io HybridCache in .NET 9: One Caching API, Stampede Protection Included IMemoryCache is fast but per-server. IDistributedCache is shared but slow and full of boilerplate. .NET 9's HybridCache combines both into one API — two...
  • 👍 1
Post #2715 123
⚡️ Memory in C# will become noticeably safer

Microsoft has announced a large-scale rethinking of the memory safety model in C#. The key change is that unsafe will no longer be just a pointer marker and will become an explicit contract between the author of the code and its consumers, and the compiler will begin to control potentially harmful memory operations more strictly. Innovations should reduce the number of security errors and make the code, especially created with the help of AI tools, more reliable and predictable.

♻️ Subscribe for free now!
Microsoft News Improving C# Memory Safety The `unsafe` keyword is being redesigned to mark caller-facing contracts rather than just syntax. Safety obligations between callers and callees become visible and reviewable. The model is motivated by the rise of AI-assisted code generation and arrives as…
  • 👍 1
Post #2714 146
⚡️ .NET API under 1 million requests per minute

The article discusses the construction of a high-load system based on ASP.NET Core Minimal API using a set of practices for the development of high-load services: EF Core optimization, the use of Dapper, the configuration of PostgreSQL indexes, the implementation of pagination and caching.

The performance of the solutions is evaluated using BenchmarkDotNet on a demo project that includes the Orders.Api service and the Orders.Benchmark benchmark set.

♻️ Subscribe for free now!
elmah.io Blog - .NET Technical tutorials/guides and new features Designing high-throughput APIs for 1M requests/minute .NET Builds an ASP.NET Core Minimal API benchmarked with BenchmarkDotNet against a PostgreSQL Orders table, comparing a naive EF Core query using Include and Take(50000) against a raw Dapper query with pagination, indexing, and connection pooling to sustain 1M…
Post #2713 113
⚡️ dotInsights | May 2026

JetBrains May Digest: Explore the impact of AI tools on code quality, multi-agent workflows in .NET, Entity Framework Core optimizations, and what's new in C# 15.

The company paid special attention to its own AI initiatives: early builds of ReSharper 2026.2 and Rider 2026.2 introduced new AI agents and tools for automating testing and analyzing code coverage.

♻️ Subscribe for free now!
The JetBrains Blog dotInsights | May 2026 - The JetBrains Blog Did you know? C# supports ref return and ref local, which let you return and work with references to variables instead of copies of their values. Welcome to dotInsights by JetBrains! This
Post #2712 109
Post #2711 120
⚡️ In .NET, MAUI will default to CoreCLR

Microsoft has announced that starting with .NET 11 in .NET MAUI, the default runtime will be CoreCLR for Android, iOS, and Mac Catalyst apps. This means moving away from Mono in mobile development in favor of the same engine used in ASP.NET Core, Azure, and .NET desktop applications.

The company expects to unify the platform, improve performance through ReadyToRun and Profile-Guided Optimization, and prepare for full support for NativeAOT on mobile devices.

At the same time, Microsoft admits that some large Android applications are still facing performance regressions and an increase in the size of assemblies, so developers are advised to actively test applications on .NET 11 and, if necessary, temporarily return to Mono through a special configuration flag.

♻️ Subscribe for free now!
Microsoft News .NET MAUI Moves to CoreCLR in .NET 11 .NET MAUI apps on Android, iOS, and Mac Catalyst now run on CoreCLR by default in .NET 11, unifying the runtime across all of .NET.
Post #2710 102
⚡️ Web Worker in .NET 11 for background tasks in Blazor

.NET 11 introduces the Web Worker project template, which is designed to perform CPU-intensive tasks without blocking the interface.

This pattern can be used in Blazor applications to move heavy computing to background threads through Web Workers.

♻️ Subscribe for free now!
Andrew Lock | .NET Escapades Running background tasks in Blazor with Web Workers In this post I discuss the new Web Worker template available in .NET 11 for running CPU intensive tasks without blocking the UI
Post #2709 91
⚡️ Working with context in OpenTelemetry

In distributed systems, it is important to maintain observability as requests move between processes and services.

The article describes how in . NET applications pass tracing context using OpenTelemetry to track the path of the request through different components.

♻️ Subscribe for free now!
Meziantou's blog Propagating OpenTelemetry context in .NET Learn how to propagate OpenTelemetry context across process boundaries in .NET applications using messaging systems, queues, and background jobs.
Post #2708 78
Post #2707 91
Post #2706 102
⚡️ Why you should disable HTTP cache in the API

API responses should only be cached if it's intentional.

Accidental caching can serve out stale data, create vulnerabilities, and lead to hard-to-reproduce bugs.

How to configure caching settings - in today's publication.

♻️ Subscribe for free now!
Meziantou's blog Disable HTTP caching by default in ASP.NET Core APIs Learn why API responses should not be cached by default and how to implement middleware to prevent caching in ASP.NET Core applications.
Post #2705 106
⚡️ C# 15 introduces union types

Microsoft has announced a long-awaited feature for C# — union types, which will appear in the fifteenth version of the language and are already available in the .NET 11 preview.

The new mechanism allows you to explicitly specify a limited set of possible types for a variable and ensures that your code processes each of them at compile time.

This makes it easier to work with heterogeneous data and eliminates old trade-offs such as using object or base classes.

♻️ Subscribe for free now!
Microsoft News Explore union types in C# 15 C# 15 introduces union types — declare a closed set of case types with implicit conversions and exhaustive pattern matching. Try unions in preview today and see the broader exhaustiveness roadmap.
  • 👍 1
Post #2704 85
⚡️ Will AI kill programming? Even critics doubt this

Danish developer and blogger Mark Seemann has unexpectedly questioned his own criticism of AI. He acknowledges that his concerns about using LLMs in development — from security issues to bugs in code — may be the result of "motivated thinking," i.e., trying to protect a familiar craft.

But the main question remains: even if 90% of fears are far-fetched, which of the remaining threats will really hit the industry – and when will it happen?

♻️ Subscribe for free now!
ploeh blog Motivated reasoning Most of my concerns about AI are probably irrelevant, but what if one of them is not?
Post #2703 74
⚡️ Postgres-based hybrid cache on Azure

Microsoft introduced an approach to building high-performance distributed caching in .NET 10 using PostgreSQL in Azure and the HybridCache library.

In this post, you'll learn how combining in-memory and distributed cache can reduce latency, improve fault tolerance, and simplify application scaling.

The solution is focused on modern microservice architectures and can be used in production scenarios without significant code changes.

♻️ Subscribe for free now!
Microsoft News High-Performance Distributed Caching with .NET and Postgres on Azure Adding caching to your application architecture can significantly improve key performance metrics, cut latency, and reduce load across downstream systems. In this walkthrough, we highlight the latest caching best practices and incorporate these design patterns…
Post #2702 86
⚡️ Game Boy emulator on F#

Developer Nick Kossolapov created a full-fledged Game Boy emulator in F# in an effort to gain a deeper understanding of computers. The Fame Boy project, which grew out of educational experiments with CHIP-8 and the From NAND to Tetris course, supports graphics and sound and works on both desktop and browser. The author described in detail the architecture of the emulator, the trade-offs between functional style and performance, as well as the role of AI — from generating tests to finding critical bugs.

♻️ Subscribe for free now!
nickkossolapov.github.io I built a Game Boy emulator in F# Hundreds of hours, many late nights, and a working Game Boy emulator in F# with sound, running on desktop and web.
Post #2701 154
⚡️ F# Weekly #16, 2026

In the latest release, the main events of the week for the F# community: from the release of .NET 11 Preview 3 and the SwaggerProvider 4.0 beta to the updates of Fantomas, FSharp.Data, Feliz and Farmer. The digest also includes new articles, videos, and open source projects — from type-safe Cypher builder and Orleans API for F# to tools for AI orchestration and debugging of agent-based protocols.

♻️ Subscribe for free now!
Sergey Tihon's Blog F# Weekly #16, 2026 – .NET 11 Preview 3 & SwaggerProvider 4.0 beta Welcome to F# Weekly, A roundup of F# content from this past week: News .NET 11 Preview 3 is now available! TypeFighter Replace Queue with mutable doubly-linked EventList by nojaf · Pull Request #3…
Post #2700 146
Post #2699 98
⚡️ Microsoft updated Quantum Development Kit

Microsoft has extended the capabilities of the open source Quantum Development Kit by adding domain libraries for scientific problems and integration with GitHub Copilot.

The updated toolset supports Q#, OpenQASM, Qiskit, and Cirq, works in Visual Studio Code, Python, and Jupyter, and helps developers write, test, and debug quantum code in the Azure Quantum ecosystem.

♻️ Subscribe for free now!
Help Net Security Microsoft adds domain libraries and Copilot integration to the quantum development kit The Microsoft Quantum Development Kit (QDK) is an open-source toolkit that runs on laptops and in common development environments.
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →