.NET just grew up… and became a script kiddie
You can now run .NET like a script.
No project files. No solution. Just:
dotnet run myscript.cs
Like Shell scripts (Bash, PowerShell). Like Python. Like JavaScript.
But with strong typing and LINQ-y goodness, or accidentally async-void your error handling into oblivion.
Why I think this is the biggest thing announced at Build?: – Quick tasks? One-liner scripts? ✅ – Automation jobs? DevOps glue code? ✅ – Finally stop writing a console app just to test a regex? ✅
We’ve entered a new .NET dimension: The scripting realm.
It’s like ScriptCS from back in the day… (who remembers this?) but now it’s official and way cooler.
This isn’t just convenient. It’s a mindset shift.
.NET isn’t just for big enterprise apps anymore. Now it’s also for those small “I’ll-just-whip-this-up” moments.
Think you’ll try this out? Or even replace your current automation scripts?