UpdatR
csharpier
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
UpdatR
-
What is the/your current/popular choice for dotnet c# scripting ?
With top level statements a .cs-file can be quite similar to csx. I just whish I could specify the nuget packages in it so we could ditch the csproj. Or that csx for full support in dotnet run. I usually just use top level statements with Bullseye, that's quite neat even if it requires a csproj. Here's an example of what I do with it: https://github.com/OskarKlintrot/UpdatR/blob/main/tools/Build/Build.cs
-
I've been wasting time writing Clone libraries. What's your free time project?
My side project is UpdatR (https://github.com/OskarKlintrot/UpdatR) which I use to replace Nukeeper at work. Nukeeper is deprecated and stopped working on Azure DevOps but Dependabot isn't available on Azure DevOps. "How hard can it be" I thought and spent too many evenings getting it working good enough to actually use... It updates packages to the latest version that is still supported by the target framework and generates a title and body to be used in the PR. It seems to be working so far. I want it to support multitarget frameworks and updating Directory.Build.props too, which are no small tasks...
csharpier
- 100% deterministic c# formatter
-
Is there an all-in-one code style solution yet?
Maybe check out https://csharpier.com/. I've never used it but am curious
-
Would you welcome top Level functions in C#
You're coupling your code in some manner whether you are calling static methods or instance methods. But yes, static methods aren't really mockable, so depending how you test it could bite you. However https://github.com/belav/csharpier makes extensive use of static methods and is incredibly well tested.
- how to bring order to a legacy codebase using editorconfig and dotnet format? it is only fixing whitespace issues
-
Dotnet, C#, code format on JetBrain IDE Rider
CSharpier
-
top 5 things every c# developer should know
I'm kind of hoping https://github.com/belav/csharpier becomes the norm.
- Does anyone have the default/standard resharper roslyn equivalent rules (or close) in an .editorconfig?
- Enforcing .NET code style rules at compile time
-
SourceGenerator.Foundations
https://github.com/belav/csharpier/tree/master/Src/CSharpier.Generators is an example.
-
How to apply formatting style/rules to an existing C# code base?
I'm biased (since I wrote it), but I've found nothing compares to using https://github.com/belav/csharpier
What are some alternatives?
NuKeeper - Automagically update nuget packages in .NET projects
format - Home for the dotnet-format command
simple-exec - 🏃 A .NET library that runs external commands.
EditorConfig - A very generic .editorconfig file supporting .NET, C#, VB and web technologies.
ClearScript - A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
NumSharp - High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
bullseye - 🎯 A .NET library for running a target dependency graph.
StyleCopAnalyzers - An implementation of StyleCop rules using the .NET Compiler Platform
interactive - .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
prettier - Prettier is an opinionated code formatter.
ScriptCS - Write C# apps with a text editor, nuget and the power of Roslyn!
Visual Studio Uninstaller