.𝐍𝐄𝐓 𝟏𝟏 𝐢𝐬 𝐡𝐞𝐫𝐞 𝐢𝐧 𝐩𝐫𝐞𝐯𝐢𝐞𝐰. But the real question is not “what’s new”. It is: 👉 What actually matters for developers? After going through the updates, here is what stands out: • runtime improvements focused on performance • cleaner async with lower overhead • meaningful SDK and tooling updates • better System.Text.Json flexibility • new C# 15 features like union types At the same time, it is still a preview. Which means: • some features are incomplete • breaking changes can still happen • not ready for production The biggest takeaway for us: .NET 11 is not about big flashy features. It is about steady improvements that make development faster and cleaner. The article included a detailed breakdown covering: • runtime changes • library updates • SDK improvements • C# 15 features • what actually matters in real projects 👇 Link in the comments Are we planning to try .NET 11 early, or waiting for the stable release? #DotNet #CSharp #SoftwareEngineering #Programming #WebDevelopment
NET 11 Preview: What Matters for Developers
More Relevant Posts
-
⚙️ Middleware in ASP.NET Core Ever wondered how requests are processed? It’s all about the pipeline. 🖼️ Visual idea: Request → Middleware 1 → Middleware 2 → Response 🔹 Handles requests step-by-step 🔹 Used for logging, authentication, error handling 🔹 Order of middleware matters 💡 Think of middleware as layers between user requests and your application logic. #ASPNetCore #Backend #DotNet #Programming #WebDev
To view or add a comment, sign in
-
I finally took Claude Code CLI out for a spin last night and have to say I'm not really that impressed. The install was entirely too technical and involved a lot of PowerShell. It honestly felt like setting up a fake development environment for coding boot sequences and sprites on a Commodore 64. I'd recommend it for people that want to claim hardcore developer by using the command line to write a curl request. Also, Its lack of interface compared to other VS tools like Cursor and Antigravity feel like a serious loss of visibility and control that is typically required in most mature development environments. Anyways, that's my take. I use Anthropic's Sonnet 4.5 in other IDEs so I'm not going to make any claims regarding LLMs and which one is better. But my question here is why all the push and cheering for this?
To view or add a comment, sign in
-
Your API returns 10,000 rows and you're loading them into a `List<T>` before doing anything. Bold strategy. `IAsyncEnumerable<T>` lets you stream data asynchronously, processing each item as it arrives instead of waiting for the whole payload. It pairs with `await foreach` and it just works. --- await foreach (var tick in GetLiveTicker()) Console.WriteLine($"${tick.Symbol}: {tick.Price:F2}"); --- Shipped in C# 8 and .NET Core 3.0 back in 2019, it quietly solved the "why is my app eating 2GB of RAM" problem for a lot of teams. Run it, break it, learn it: https://lnkd.in/e5jMbUvr #dotnet #csharp #programming #asyncprogramming
To view or add a comment, sign in
-
-
The release of the official MCP C# SDK version 1.0 includes enhanced authorization and richer metadata, which is significant because it provides developers with more control over their applications and better integration with other tools. This update is particularly important for teams working on large-scale projects that require complex authorization and metadata management. Most teams will likely focus on the enhanced authorization features, but what often gets overlooked is the impact of richer metadata on the overall system design. The new metadata capabilities can greatly simplify the development process by providing more detailed information about the system's components and their relationships. The v1.0 release of the MCP C# SDK also introduces powerful patterns for tool calling and long-running requests, which can greatly improve the performance and scalability of .NET applications. What are some common challenges that developers face when implementing these patterns in their own applications. #CSharp #DotNet #Programming #SoftwareDevelopment
To view or add a comment, sign in
-
🚀 RandomString4Net v1.10.0 is live on NuGet! 309,000+ downloads later, I'm still actively maintaining and improving this little library — and today it gets .NET 10.0 support! 🎯 If you've ever needed to generate random strings, passwords, tokens, OTPs, or unique identifiers in .NET — this library has you covered with zero dependencies and support for virtually every .NET version ever released. 💡 One line to get started: dotnet add package RandomString4Net What's new: → .NET 10.0 support → Source Link & symbols package for better debugging → Cleaner project structure 📦 https://lnkd.in/dK7X3Gv ⭐ https://lnkd.in/gGe3xCqg Feedback, issues, and contributions are always welcome! #dotnet #csharp #opensource #nuget #dotnet10 #programming
To view or add a comment, sign in
-
-
🤯 C# 15 is introducing something developers have wanted for years — Union Types. Ever had a method that returns: • Success OR Error • Multiple possible results And ended up using object, exceptions, or extra classes? Union Types fix this 👇 👉 One type → multiple possibilities (type-safe) 👉 Cleaner pattern matching 👉 Safer refactoring I wrote a simple, story-based article explaining this with examples. 📖 Read here: https://lnkd.in/d7d3C3xF #csharp #dotnet #programming #softwaredevelopment #developers
To view or add a comment, sign in
-
Most C# developers typically use lock(_syncObj) to synchronize access to shared state, a pattern that has been standard for two decades. However, each use of lock(object) introduces hidden runtime overhead, including SyncBlock indirection, thin-lock to fat-lock inflation under contention, and additional bookkeeping on a System.Object that was not designed for synchronization. With the introduction of .NET 9, a new type has been introduced: System.Threading.Lock. This dedicated lock offers a slimmer fast path, eliminates SyncBlock overhead, and provides a ref struct scope guard returned from EnterScope() that automatically releases. When using lock(object), the runtime must: - Look up or allocate a SyncBlock for the target object - Inflate from thin lock to fat lock when contention occurs - Carry the SyncBlock cost on every operation against that object - Pay indirection on every acquire, even on the uncontended fast path In contrast, System.Threading.Lock: - Is purpose-built with no SyncBlock indirection - Offers a faster uncontended fast path in pure managed code - Returns a ref struct from EnterScope() that auto-releases at the end of the scope - Eliminates "lock on a string/this/Type" anti-patterns by making them errors This pattern is particularly effective for hot, often-uncontended critical sections, including: - Per-instance state guards in services and middleware - LRU and TTL cache mutations - Counter and metric increments under low contention - Singleton initialization paths - Any lock(_obj) accessed by multiple threads in steady state Implementing this change can significantly enhance performance in critical paths. Benchmark results show approximately 7 ns per uncontended acquire on System.Threading.Lock compared to around 14 ns on lock(object)—a roughly 2x speedup on the fast path, with no allocations in either case. #csharp #dotnet #dotnet9 #dotnet10 #performance #threading #programming #tips #coding #softwaredevelopment #aspnetcore #cleancode
To view or add a comment, sign in
-
-
When a service accumulates 50+ command-line parameters, the limitations of static configuration become impossible to ignore. Servy v7.6 tackles this by replacing those parameters with an SQLite-based configuration system. This change isn’t just about storage — it enables runtime adjustments, built-in validation, and compatibility with tools like ORMs and migration scripts. Static configuration formats struggle under the weight of dynamic, versioned state — a problem SQLite solves with structure and persistence. This shift reflects a deeper principle: backend systems should evolve by adopting infrastructure that scales with complexity, not by adding layers of workarounds. I believe choosing the right tool for configuration is as critical as choosing the right architecture for the service itself. #CSharp #DotNet #Programming #SoftwareDevelopment
To view or add a comment, sign in
-
🚀 C# Dev Tip — Day 6: Don’t lose your stack trace A mistake I still see this pattern often: ❌ throw ex; → resets the stack trace ✅ throw; → preserves the original error context When you use throw ex;, you lose where the exception actually happened — which makes debugging much harder than it needs to be. 👉 Use throw; inside catch blocks to keep the full context. Small habit, big difference. #CSharp #DotNet #SoftwareDevelopment #Debugging #CleanCode
To view or add a comment, sign in
-
-
For years, ?. in C# was only half useful. You could read through it. Try putting it on the left side of =. Compiler error. So we all wrote the same thing. A null check. Curly braces. Five property assignments inside. Close braces. Move on. That if (x is not null) wrapper around a block of assignments — I've written it hundreds of times. Configuration methods, optional DTOs, partial updates. Always the same ceremony. C# 14 finally removes that pattern entirely. 🚀 ?. now works on the left side of assignment. The compiler lowers it to a null check — if the target is null, the right-hand side never runs. No if. No braces. That whole block just collapses into a few lines. ✨ Works with compound operators too +=, -=, *=, /= - all of them. Just not ++ and --. I refactored a method yesterday that configured 6 properties on an optional object. Deleted the null check, added ?. to each line. The diff was pure red. That’s the best kind of refactoring. 🩸 Small feature. Disproportionately useful. #CSharp #CSharp14 #DotNet #SoftwareDevelopment #CleanCode
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
https://medium.com/@karthikns999/whats-new-dotnet-11-preview-7125b6f71497