Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ...
by Salgat on Wednesday July 30, 2025 @02:56PM
(#44738165)
dotnet run *.cs is my favorite new feature for scripting. It has basically replaced powershell for me. It's trivial to script powerful operations now.
Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ...
by SeriousM on Wednesday July 30, 2025 @04:10PM
(#44738955)
I guess LinqPad will lose some users to this feature.
Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ...
by teh_klev on Wednesday July 30, 2025 @07:22PM
(#44740710)
This isn't LinqPad's selling point. All that dotnet run *.cs has done is remove the need to have a project file for each "script" you write.
LinqPad maybe has this feature but it's selling point is as a scratch pad to experiment with working with data and general futzing around.
Re:.NET 10 Preview 6 brings JIT improvements, one-shot tool ...
by Salgat on Wednesday July 30, 2025 @07:37PM
(#44740807)
The .NET team said they're working on VS Code integration. LinqPad still has some unique features (mostly database related), but at least for me, VS Code + dotnet run will be sufficient for my needs. Worst case, I can just throw a breakpoint on my database IQueryable result.
"dotnet tool exec" is so you can run third party command line tools like csharpier that previously required "dotnet tool install" before you could use them. For example, in https://csharpier.com/docs/Installation you can now simply do "dotnet tool exec csharpier". This is like "npx" in the JavaScript world.