Are you using Testcontainers in your tests?
Read more here:
https://www.devleader.ca/2024/02/20/testcontainers-in-asp-net-core-a-simplified-beginners-guide/
Are you using Testcontainers in your tests?
Read more here:
https://www.devleader.ca/2024/02/20/testcontainers-in-asp-net-core-a-simplified-beginners-guide/
Even more Performance Measurement and Profiling of Roslyn Source-Generators included in Part 3 of Benchmarking Compiler Extensions.
- Wednesday, 2025-08-13
- 17:00 UTC
️ GPT-5 Now in Visual Studio's GitHub Copilot
#devdigest #dotnet #net #microsoft #ide #visualstudio #git #github
A Mistake I Made with ASP.NET Core Middleware
I once added some logging middleware… at the wrong place in the pipeline.
Result? I missed all the early failures.
Lesson: Order matters in ASP.NET Core middleware.
Put logging and error handling before your app-specific stuff.
Learned that one the hard way.
Day 24 of the Genetic Algorithms Bootcamp is live!
Today, we combine Genetic Algorithms + Hill Climbing.
A hybrid memetic approach for faster, smarter optimization in C#.
Update on the future of Rx.NET versioning:
https://github.com/dotnet/reactive/discussions/2211
The 3 scenarios that seemed to prevail:
1. Keep the System.Reactive packages. Solve problems using hacks (different API surface in build time than in runtime).
2. Introduce System.Reactive.Net packages, keep System.Reactive as a facade.
3. Try the first one in Rx7. If (when?) something breaks, switch to the second one.
A YT summary:
https://www.youtube.com/watch?v=GSDspWHo0bo
Question: I want to build a light-weight simple UI for Linux on C#
Ideally, I don't large complex dependencies. What are my options?
1) https://avaloniaui.net/
2) https://platform.uno/
3) MAUI -- does not support Linux!
4) https://github.com/GtkSharp/GtkSharp -- development stopped
5) GObject/GTK wrappers? https://gircore.github.io/
C# is doing a lot of work to explore unions in an OO language. Watch this space, a very hard decision: perhaps more style perhaps than theory.
A very good summary here:
https://github.com/dotnet/csharplang/blob/main/meetings/working-groups/discriminated-unions/union-proposals-overview.md
As inheritance is baked in deep, we don't necessarily need unions -- rather we need closed hierarchies. So one of my favourite low-impact suggestions are `Standard Unions`
https://github.com/dotnet/csharplang/blob/main/meetings/working-groups/discriminated-unions/union-proposals-overview.md#standard-type-unions
Minimal APIs aren’t just for “small” #dotnet apps.
They can ship prod systems faster:
Less boilerplate
Feature-split endpoints
Pair w/ MediatR or CQRS
It’s not less functionality — it’s less ceremony.
via @dotnet : .NET 10 Preview 7 is now available!
https://ift.tt/cKpd4xf
#DotNet10 #Preview7 #DotNet #CSharp #ASPNETCore #Blazor #DotNetMAUI #EntityFrameworkCore #WindowsForms #WPF #SoftwareDevelopment #Programming #DeveloperCommunity #TechNews #OpenSource #Rele…
.NET 10 Preview 7 is now available!
Find out about the new features in .NET 10 Preview 7 across the .NET runtime, SDK, libraries, ASP.NET Core, Blazor, C#, .NET MAUI, and more!
https://devblogs.microsoft.com/dotnet/dotnet-10-preview-7/ #dotnet
Looking for a quick way to share CSharp snippets?
Read more here:
https://www.devleader.ca/2023/11/08/discovering-the-features-of-dotnetfiddle-how-to-compile-c-online/
Your #dotnet app feels slow?
It’s rarely the GC.
More often it’s:
Inefficient LINQ
Blocking async calls
Slow serialization
Profile first: dotnet trace, dotnet-counters, PerfView.
Find the real bottleneck before tweaking GC.
What’s your worst .NET perf pitfall?
#softwaredev
️ GPT-5 Available in Visual Studio with GitHub Copilot
#devdigest #dotnet #net #microsoft #ide #visualstudio #git #github
️ Choosing the right .NET core Image for your workload
Blogged: Running .NET in the browser without Blazor
https://andrewlock.net/running-dotnet-in-the-browser-without-blazor/
In this post I show how to run .NET in your browser without using Blazor, and instead rely on lower-level abstractions provided by [JSImport] and [JSExport]
I'll be speaking about WinUI, Windows App SDK, and the Windows AI APIs at @techbash 2025 this fall.
Register today with code SUMMER10 to save 10% on 3-day and 4-day tickets thru Labor Day. I'll see you there Nov 4-7: https://techbash.com/
I'll be speaking about WinUI, Windows App SDK, and the Windows AI APIs at @techbash.bsky.social 2025 this fall. Register today w/ code SUMMER10 to save 10% on 3-day & 4-day tickets thru Labor Day. I'll see you there Nov 4-7: techbash.com #dotnet #ai #windowsappsdk #windev #winui #csharp #windowsai
Day 23 of the Genetic Algorithms Bootcamp is live!
Today, we dive into NSGA-II.
A powerful way to handle multiple objectives in your C# GA without losing diversity.