ardalis (Steve Smith)
banner
ardalis.com
ardalis (Steve Smith)
@ardalis.com
Software Architect and Force Multiplier of dev teams. Husband. Dad to 4 kids: 3 ADHD sons, 2 twins, 1 daughter.

💡NimblePros.com
🔥devBetter.com
🎥YouTube.com/ardalis
Pluralsight | Dometrain author
Microsoft Dev MVP

💥Combat Engineer veteran
Pinned
Introduce yourself with some jobs you’ve done apart from what you do

- 🍔 🍟Burger King cook

- ⌨️ 🖥️ Data entry temp

- 📦 🚛 Loaded trucks

- 🇺🇸💥🫡 Combat Engineer Officer
Reposted by ardalis (Steve Smith)
#CSAdvent post 2 for December 4, 2025!

"Single File Test Suites in Dotnet Csharp" by @ardalis.com

ardalis.com/single-file-...

#dotnet #csharp
Single File Test Suites in Dotnet Csharp
With .NET 10, C# now supports single file apps. And with a bit of work, this means we can also create single file test suites, which can be useful in a variety of scenarios!
ardalis.com
December 4, 2025 at 1:45 PM
Reposted by ardalis (Steve Smith)
The future 😂
December 4, 2025 at 1:19 PM
When your LLM coding assistant suddenly decides it's time for...

Summarizing history...

#ai #copilot #claude
a dog is laying on a chair in a living room .
Alt: a child is spinning slowly on a chair in a living room .
media.tenor.com
December 3, 2025 at 5:41 PM
Reposted by ardalis (Steve Smith)
ADP shows private hiring has essentially ground to a halt overall in recent months led by job losses among small firms
December 3, 2025 at 1:21 PM
W00t! Submitted my Advent of C# article for Day 4 (tomorrow) with *hours* to spare.

*Hours*

www.csadvent.christmas

#dotnet #csharp #csadvent
C# Advent 2025
Starting on December 1st, the C# Advent will reveal TWO new C# content entries every day up to and including December 25th.
www.csadvent.christmas
December 3, 2025 at 2:49 AM
With #dotnet 10 we now have file-based C# programs, which are super useful. One particular use case is writing tests as single file apps. Here are some tips for getting this working with xUnit as well as a NuGet package to make it super easy:

ardalis.com/single-file-...
Single File Test Suites in Dotnet Csharp
With .NET 10, C# now supports single file apps. And with a bit of work, this means we can also create single file test suites, which can be useful in a variety of scenarios!
ardalis.com
December 2, 2025 at 10:37 PM
Reposted by ardalis (Steve Smith)
Congress is attempting to fast track KOSA and more than a dozen bills that would restrict internet access, censor speech and increase surveillance under the guise of protecting children.

Committee hearings begin tomorrow.
Lawmakers to consider 19 bills for childproofing the internet
KOSA is back, along with more than a dozen other bills that will erode free speech and privacy in the name of protecting kids.
reason.com
December 2, 2025 at 1:17 AM
If you like using 'cd -' in your shell to return to previous directory but are bummed that it is broken in #PowerShell 7 I have a solution for you. But really it's for future me, mostly. Also talks about oh-my-posh and custom $PROMPT stuff. Enjoy. Share. Etc.

ardalis.com/use-cd---in-...
Use cd - in Powershell 7 to Return to Previous Directory
A brief description of your post (used for SEO and social sharing)
ardalis.com
December 2, 2025 at 5:07 PM
Reposted by ardalis (Steve Smith)
Learn the dark arts of refactoring to banish antipatterns from your code!

With practical techniques and expert guidance, you'll transform your code from a haunted mess into a clean, efficient masterpiece.

https://mailchi.mp/nimblepros/common-antipatterns-recording
December 2, 2025 at 1:30 PM
Reposted by ardalis (Steve Smith)
I’m still thinking about this and it really is one of those “everyone thinks Elon Musk is a genius until he gets involved in your field” moments. I’m gonna be a total bore and think about this seriously, please don’t read on if you don’t care what a landscape architect thinks about this shit… 1/?
Oh shit waddup
December 2, 2025 at 12:00 AM
Reposted by ardalis (Steve Smith)
Version 1 of the OWASP AI testing guide just got published.

I promise you, from my own experience, this will save you a lot of heartache.

github.com/OWASP/www-pr...
November 27, 2025 at 10:31 AM
Reposted by ardalis (Steve Smith)
I heard there was a secret tool
That you could use if you were a fool
But you don't care for PDF files, do ya?

It goes like this: you click "log in"
A chatbot bubble blocks the screen
Investors thought this feature was a shoo-in
Uh-huh. I don’t doubt it
December 1, 2025 at 11:25 AM
Reposted by ardalis (Steve Smith)
And it's up! All together now...

🎶 Somebody told me
the user provider
should use an adaptor
to proxy the query
factory builder... 🎶

www.youtube.com/watch?v=p03o...
November 28, 2025 at 3:15 PM
Reposted by ardalis (Steve Smith)
Asking for help finding a quote - I'm sure I've read someone saying 'your best ideas will either be ignored or misinterpreted, you don't get to choose which' - anyone know who said this? Link to the correct quote?
December 1, 2025 at 10:03 AM
Reposted by ardalis (Steve Smith)
COMING SOON: AI + Guy™
December 1, 2025 at 1:11 AM
Reposted by ardalis (Steve Smith)
The most precious commodity you have is your attention. You don’t have to waste it on poor-faith debates or arguments with strangers if you don’t think they’ll be productive. You can prioritize the things that matter to you and make your life richer.
November 30, 2025 at 8:00 PM
Reposted by ardalis (Steve Smith)
There has literally never been a universal basic income trial program that didn't deliver real and measurable results above and beyond any other form of social welfare, and every time another concludes with the same findings the powers that be go "interesting! Anyway," and pretend it wouldn't work.
November 22, 2025 at 6:00 AM
Reposted by ardalis (Steve Smith)
November 26, 2025 at 9:22 PM
Reposted by ardalis (Steve Smith)
I use commas in my passwords so that they break the CSV files of the hackers 😅
November 27, 2025 at 8:47 PM
Reposted by ardalis (Steve Smith)
don't miss the festive stranger things float in the macy's parade today (I am not joking)
November 27, 2025 at 12:46 PM
Reposted by ardalis (Steve Smith)
An indirect prompt injection in an implementation blog can manipulate Antigravity to invoke a malicious browser subagent in order to steal credentials and sensitive code from a user’s IDE. www.promptarmor.com/resources/go...
Google Antigravity Exfiltrates Data
An indirect prompt injection in an implementation blog can manipulate Antigravity to invoke a malicious browser subagent in order to steal credentials and sensitive code from a user’s IDE.
www.promptarmor.com
November 27, 2025 at 11:27 AM
Reposted by ardalis (Steve Smith)
Omggggggg Canada Post has holiday squirrel stamps 😍 store.canadapost-postescanada.ca/store-boutiq.... #sqrlpix
November 27, 2025 at 1:23 AM
Reposted by ardalis (Steve Smith)
Big news in #AppSec: the #OWASP Top 10 2025 is now available! I'm part of the project team and ALL OF US want every dev, security engineer, and leader to read it (please).

https://twp.ai/E6DRWp

1/5
November 27, 2025 at 2:49 AM
Reposted by ardalis (Steve Smith)
It’s not too late to go shopping and start a new thanksgiving tradition - violence.
November 27, 2025 at 12:58 AM
Gah. Of course the generated db password would have a ; in it which totally breaks when you put it in a connection string...
November 26, 2025 at 4:59 PM