Egil Hansen

@egilhansen.com

Independent .NET Developer & Cloud Architect | Microsoft MVP | International Speaker | Open-source developer

This is quickly becoming a hill I'm willing to die on. Just because something is created with AI, it does not make it slop or bad quality or a waste of somebody else's time. AI is a tool and if you use it well, you can create high-quality stuff much faster than without.

Bild

Want more of this? Back in October, I did a presentation on this exact topic at @hellostavanger and it covers a bunch of extra details and examples we didn’t get to in the podcast: youtu.be/yT1ckNTCW60?...

Are you writing valuable tests (2025 edition)? – Egil Hansen – HelloStavanger 2025

YouTube video by HelloStavanger

youtu.be

.NET@dot.net · 11mo ago

You write tests. But are they helping you and your team? In this .NET Rocks! episode, @egilhansen.com explores how to make tests more durable, insightful, and future-proof. Plus: should AI be writing your tests? 🤖 #dotnet 🎧 Listen here: msft.it/63323sFo2T

Show hosts for .NET Rocks Podcast playfully holding mics.
Text reads: Valuable Testing with Egil Hansen

Need a cure for that primitive obsession in #dotnet? Take a look at www.nuget.org/packages/Egi... First real attempt at a source generator library. Happy with the result. A key feature is that it’s very easy to overwrite the default generated code, just as it is with C# record classes and structs.

Egil.StronglyTypedPrimitives 1.9.7

A source generator for creating strongly-typed primitive types that makes it easy to avoid the primitive obsession anti pattern. Add a [StronglyTyped] attribute to a partial record struct ...

nuget.org

Another excellent rendition of the #swetugg conference is in the bag. Really great conference; food, venue, organizers, and sessions were all top notch. Big recommendation from me!

FluentAssertions have moved dual license (free for open source/paid for corp work) with their v8, and as expected people are blowing a gasket. Please remember, @dennisdoomen.com and co do not owe you their free time in perpetuity. Stay on v7, buy a license, or move on. Be thankful, don't bitch ❤️

#azure #mvpbuzz friends, if I have an ACA environment with dedicated workload profile, minimum capacity > 2, and zone redundanzy turned on, and I have a container app in the environment with minReplicas > 2, am I then guaranteed to have my container replicas placed equally between the ACA instances?

Starting a new Azure project at work and was reminded how long it takes to develop IaC scripts (bicep). The developer-inner-loop is soooo slow, test running the scripts takes minutes, especially when provisioning resources that involve vnets or other networking resources. Tips are welcome!