Deploying .NET 10 on Heroku: A Practical How-To
Learn the step-by-step process for deploying .NET 10 applications to Heroku, from buildpack detection to SDK pinning, and understand the lifecycle of .NET LTS releases.
Loading…
Topic
24 posts about .NET. Every summary links to the original.
See the idea
Learn the step-by-step process for deploying .NET 10 applications to Heroku, from buildpack detection to SDK pinning, and understand the lifecycle of .NET LTS releases.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Qodana 2026.3 adds Dart and Flutter code analysis, allowing teams to review analyzer diagnostics like dead_code_on_catch_subtype and unreachable_switch_case. A new baseline algorithm using an extended hash cascade improves issue matching after file moves or refactoring, raising average precision from 45% to 90% across four scenarios. New .NET inspections flag cryptographic algorithms and SSL protocols that are not post-quantum compatible, showing NIST security ratings. Spring-aware taint analysis now follows untrusted input from annotations like @RequestParam through Java applications to detect potential SQL injection paths. OpenGrep taint analysis no longer has a 100-trace limit, and security inspections for JavaScript, TypeScript, and C# produce fewer false alarms.
A 2026 statistic shows 65% of AI-to-human handoffs still require customers to repeat themselves. Twilio Conversation Relay addresses this by preserving call context during the transfer. The tutorial builds a .NET web application that uses an OpenAI-powered AI agent to handle initial calls. When the caller requests a human, the AI generates a conversation summary and stores it as TaskAttributes in Twilio TaskRouter. The call is then seamlessly handed off to a human agent along with the stored context. The solution uses ngrok for local tunneling and requires a Twilio account with a voice-enabled phone number.
Callers often have to repeat account details each time they contact a business. Twilio Conversation Memory addresses this by storing customer profiles, traits (e.g., VIPStatus, PreferredLanguage), and observations (e.g., ‘Order #9401 delayed’) for use by voice agents, chatbots, and IVRs. This tutorial presents two import paths: uploading a CSV directly in the console with AI-assisted mapping of columns to custom traits of types string, integer, boolean, or array, or building a .NET 9 Web API for programmatic sync. The API solution reads a mock JSON file containing four customer records, maps fields like phone and email to the Profiles API via CrmSyncService, and exposes a POST /sync/{phone} endpoint that first checks for existing profiles to avoid duplicates. After successful syncing, customer data appears in the Conversation Memory Store and is accessible on incoming interactions without extra database calls.
The .NET 11 release is now available for Red Hat Enterprise Linux 8.10, 9.9, 10.3, and Red Hat OpenShift. It includes the C# 15 and F# 11 SDKs, with C# adding support for union types. Runtime async moves async/await handling from compiler-generated state machines into the runtime, reducing allocations and improving performance. ASP.NET Core 11.0 updates to OpenAPI 3.2, enables automatic cross-site request forgery protection, and introduces Zstandard response compression. Standard-term support for .NET 11 lasts 2 years, until November 2028, and .NET 10 is also supported until that date.
Sentry’s .NET SDK 7.0 fully supports .NET 11 and introduces breaking changes that consolidate SDK initialization to prevent duplicate errors. Logging integrations no longer start the SDK; instead, developers initialize Sentry in one place with SentrySdk.Init or UseSentry(). New packages add UseSentry() for generic host apps and Sentry.Quartz for monitoring Quartz.NET jobs with cron check-ins. The release drops .NET 9 support for Android, iOS, Mac Catalyst, and MAUI Windows targets, requiring .NET 10 or later for those platforms. Requests ending in 301, 305–399, or 401–404 are no longer traced by default to reduce noise in performance data.
ReSharper 2026.3 adds Claude Agent and Codex as selectable coding agents in the AI Assistant tool window, alongside Junie. All three agents can use ReSharper’s refactoring skill to run refactorings such as Rename. The release provides day-one support for .NET 11 and C# 15, including union types, closed class hierarchies, and collection expression arguments. The test runner now supports xUnit v3 4.0 and NUnit 5.0, and Playwright settings from .runsettings files are applied. For C++, a class layout view and format string checks for std::format, std::print, {fmt}, and Unreal Engine’s structured logging macros are added.
Rider 2026.3 ships alongside .NET 11 with complete support on day one, including C#15 features such as unions, closed hierarchies, and extension indexers. The release introduces JetBrains Air, an agentic development experience for directing and orchestrating agents and verifying their work inside JetBrains IDEs. Rider now supports new agent skills, and agents can execute tests through the Rider MCP. Game development improvements include new Lua and Verse plugins, professional debugging for Godot, and C++ debugger enhancements like natvis and command-line argument presets. A new Welcome screen allows users to get started without opening a solution, and the IDE can copy local project configuration into new Git worktrees for parallel workflows.
The post details authentication and authorization improvements in .NET 11. SignalR connections can now refresh their access token in place via a dedicated /refresh endpoint, avoiding disconnection or stale credentials. The server validates the refresh by comparing the sub claim and rejects subject changes with a 403 status. Authorization attributes implementing IAuthorizationRequirementData now work uniformly across Minimal APIs, MVC, SignalR, and Blazor. ASP.NET Core Identity infers passkey display names from the authenticator’s AAGUID for common managers like Google Password Manager and iCloud Keychain. Smaller changes include TimeProvider support in Identity, dotnet user-jwts for file-based apps, and TLS channel binding for Negotiate on HTTPS.
This monthly newsletter from JetBrains aggregates recent .NET and software development resources, including videos, articles, and tool updates. It highlights that F# Units of Measure verify dimensional calculations at compile time with zero runtime cost, maximizing reliability. The issue includes links to videos on AI agents in Rider, .NET MAUI UI replication, and connecting Azure Functions with managed connectors, as well as articles on C# 15 union types, DuckDB.NET performance, ASP.NET Core authentication in .NET 11, and human-in-the-loop AI drafts. It also announces recordings from JetBrains GameDev Day 2026 and .NET Day Online 2026, covering Godot development with GDScript and GDExtensions, and .NET topics including .NET 11 and Critter Stack. Additionally, it warns about compromised eMudhra certificates requiring updates to JetBrains IDEs, ReSharper, .NET Tools, Toolbox App, and Gateway, and notes the availability of TypeSafe Jev .NET SDK 0.7.0 with experimental images and bounding boxes.
In a .NET container with a one-CPU limit, Parallel.ForEachAsync defaults its MaxDegreeOfParallelism to Environment.ProcessorCount, which returns 1, causing I/O-bound calls to run serially. The author’s lab processed 200 records, each requiring three enrichment calls and one write, taking 83.6 seconds with one CPU versus 42.1 seconds with two. The solution uses a DependencyBudgets class with separate SemaphoreSlim instances per dependency to cap concurrency independently. Strategy C4, with 24 enrichment permits and 6 write permits, avoided all HTTP 503 rejections while accepting 35.08 records per second in a slow write scenario. The author recommends configuring per-dependency concurrency limits, validating them at startup, and using separate timeouts for service calls and permit waits.
The Supabase .NET SDK provides a single C# client for Auth, Database, Storage, Realtime, and Edge Functions; version 8.0.0 moves serialization to System.Text.Json and adds injectable HttpClient with retry. It also ships a dependency injection package for ASP.NET Core that registers the client as scoped via IHttpClientFactory to pool connections. Models derive from BaseModel with table and column attributes; queries use From () with Where filters, and updates require explicit calls without a change tracker, supporting both model-based and query-builder approaches. Authentication covers email/password, OAuth, magic links, phone, and SSO, with auto-refresh tokens attaching to subsequent requests for Row-Level Security. Setup for ASP.NET Core uses AddSupabase, while other apps construct the client manually and call InitializeAsync; the post also distinguishes publishable and anon keys for client apps from secret and service keys that bypass Row-Level Security.
JetBrains .NET Day Online 2026 took place on October 7, and all session recordings are now available on YouTube. The keynote by Anastasia Kazakova, Matt Ellis, Matthias Koch, and Mehul Harry introduced JetBrains Air, demonstrating how Rider shares debugging and refactoring skills with agents, and showed that the dottrace-analyze skill raised agent accuracy from 4.7 to 8.1 out of 10. Other sessions covered the Outbox, Inbox, and Saga patterns for distributed systems, C# interceptors enabling Native AOT compatibility, and a refinement-first process for AI development that starts with user stories. Additional talks explored supply chain attack risks through NuGet and MSBuild, modular monoliths as a middle ground between monoliths and microservices, and .NET interoperability across platforms using the C# MCP SDK. The event also featured Microsoft’s open-source SQL MCP Server for database access by language models and a Blazor Data Orchestrator built with .NET Aspire and Azure Container Apps.
The Supabase .NET SDK v8 is now available, consolidating all packages under a single repository with a unified version number. Previously, packages like Gotrue, Realtime, and the main package were scattered across multiple repositories with separate versions and lifecycles, making upgrades complex. From v8.0.0, all packages—Gotrue, PostgREST, Realtime, Storage, Functions, and the umbrella package—share the same version, and previous repositories are archived as read-only. The jump from v1.x.x to v8.0.0 was necessary because Realtime was already on v7.x.x, and this ensures lockstep versioning going forward. A new dependency injection extension package registers the Supabase client with the .NET service container and lets IHttpClientFactory manage its HttpClient, starting at v8.0.0 as well. The update switches serialization from Newtonsoft.Json to System.Text.Json, adds configurable retry with backoff, accepts publishable and secret API keys, and targets netstandard2.1, with a migration guide available for breaking changes.
ClickHouse has released an experimental native TCP client for .NET, available in the ClickHouse.Driver package. Unlike the HTTP client, which requires two format conversions between column blocks and rows, the TCP client uses the native protocol to transfer data as column blocks, enabling zero-allocation, zero-copy reads and writes. In benchmarks, this achieves 1.5-2x faster speeds, over 99% fewer GC allocations, streamed reads of 1.1 million rows per second (115 million values), and parallel inserts at 877,000 rows per second (832,000 from POCOs), all on modest hardware. The client supports three API tiers—column streaming for maximum performance, POCO mapping with compiled per-column loops, and object arrays—and includes a migration path from HTTP. However, it remains experimental, lacking ADO.NET, binary JSON, JWT authentication, and alternative formats, and it only runs on .NET 8 or later.
The dotInsights newsletter from JetBrains collects recent .NET and software development articles for developers. Topics include C# 15 collection expression arguments, union serialization with System.Text.Json, and control flow obfuscation for .NET and Java teams. Several posts focus on ASP.NET Core, covering middleware, RAG integration, and using passkeys for second factor authentication. The newsletter also features discussions on event-driven architecture versus CRUD over pub/sub and the impact of AI on database schema design. JetBrains announces the Rider 2026.2.3 release and explains how Microsoft helped fix slow startup times for Rider and ReSharper.
Rider 2026.2.3 is released, adding AI performance analysis to the Monitoring tool window and fixing an issue with the AI Agent Setup widget on Windows. The Monitoring tool window collects runtime data every time an application runs, allowing the AI agent to find bottlenecks and link them to code using the Analyze with AI action, which sends a prompt to the agent to begin the investigation. The agent uses the dottrace-analyze skill to show where time was spent, follow hot paths in code, and provide useful performance insights in the chat. This feature requires Windows, dotUltimate or the All Products Pack, and the AI Assistant plugin. The widget fix addresses issue RIDER-143160, where clicking its taskbar icon with display scaling below 175% failed to open the widget, and updates are available from the IDE, Toolbox App, or website.
RCS Business Messaging upgrades SMS with branded conversations featuring images, suggested replies, and read receipts delivered natively on the recipient’s phone. Twilio Programmable Messaging supports RCS via the same API used for SMS, allowing reuse of existing integrations. This tutorial teaches building an RCS campaign in .NET 10, requiring a Twilio account, registered RCS Sender, Messaging Service, ngrok, and a code editor. The process includes creating a rich card template with hero image, dynamic placeholders, and three buttons (Shop the sale, Send promo code, Unsubscribe), then broadcasting personalized messages via the Twilio helper library while capturing status and replies through webhooks exposed by ngrok. Test devices receive messages without waiting for full RCS sender approval, and the server terminal outputs inbound replies and status callbacks in real time.
The post details how to add secure human-in-the-loop approval to an AI expense agent built with Microsoft Agent Framework and Auth0, completing the four-part series that handles identity, authorization, and action. Because approval is a security-sensitive action requiring the same cryptographic rigor as any authentication event, the agent uses Client-Initiated Backchannel Authentication (CIBA) to push a notification to the manager’s phone instead of accepting chat input. The notification includes a binding message describing the expense by ID, amount, vendor, and context, giving the manager enough information to decide from a lock screen. The agent polls Auth0’s token endpoint until the manager approves or denies, then uses the CIBA-issued access token scoped with approve:expenses to record the decision on a separate Expense API. This design ensures approval decisions are cryptographically bound to the manager’s identity and verifiable by downstream services, completing the secure loop.
The tutorial builds a C# .NET 9 ASP.NET Core voice service that preserves caller context, preferences, and action history across separate inbound calls. It combines Twilio Conversation Relay and a Twilio Conversation Memory Store with an OpenAI gpt-4o-mini service, using WebSockets to connect the call flow and stream generated text. The setup covers creating the project, installing Twilio, DotNetEnv, and OpenAI packages, configuring credentials and IDs in .env, exposing local webhooks with ngrok, and routing /voice to /ws. The sample assistant is framed as Owlbert's Auto Repair and is instructed to speak naturally, avoid lists and emojis, refer to caller details, and acknowledge uncertainty rather than guess. Testing uses two calls from the same number; the expected result is that the second call recalls first-call details and that Twilio shows a stored conversation summary.
This tutorial shows how to connect a Twilio voice agent to an external REST API so it can retrieve live information during a conversation. It uses C# .NET 9, Twilio Conversation Relay, WebSockets, OpenAI tool calling, and the authentication-free Cat Facts API as a demonstration. An ASP.NET Core application exposes a /voice webhook, connects calls to a /ws endpoint, maintains conversation messages, streams model responses, and executes get_cat_fact by requesting and parsing JSON from the Cat Facts service. The guide also covers environment variables, NuGet dependencies, ngrok tunneling, Twilio number configuration, and troubleshooting for webhook URLs and API keys. After setup, callers can ask for a cat fact and receive one from the external service, illustrating how function tools can give voice agents real-time data and perform API-backed work.
The best engineering reads, once a week.