“To a man with a hammer, everything looks like a nail.” You’ve all probably heard this one, but, more importantly, I’m sure you’ve all also experienced it. Life is so much easier when you have the right tool for the job, so I’ve compiled this list of top 10 .NET tools you can get from NuGet Gallery to help you hit that nail right on the head.
This is a set of AWS extensions for the .NET CLI that help you build and deploy .NET Core and ASP.NET Core applications. This particular package adds commands to the dotnet CLI enabling you to deploy AWS Lambda functions from the command line.
dotnet tool install --global Amazon.Lambda.Tools --version 4.1.0
OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov, and others are great tools to verify code coverage of your automated testing tools. However, the reports generated by these tools can quickly become eye-clutter. ReportGenerator takes the output of these tools in different formats and presents it in a much clearer, human-readable form. The reports show code coverage quota and include the relevant source code, visualizing which lines have been covered.
dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.6.4
Paket is a dependency manager for .NET that lets you reference not only NuGet packages, but also Git repositories as well as files from any HTT resource. The project site offers extensive documentation including how to convert from using legacy NuGet format to Paket. Learn more about Paket from Steffan Forkman, one of the project’s co-creators. Install it
dotnet tool install --global Paket --version 5.249.2
If C# is your language, then Cake is for you. It’s a cross-platform build automation tool that lets you write your build scripts in C#. It’s available on Windows, Linux, and macOS, runs on .NET Core, .NET Framework and Mono and runs with common build tools like MSBuild, .NET Core CLI, MSTest, and more. Cake can also invoke test runners like xUnit.net and nUnit, and integrates with popular CI servers like Jenkins, TeamCity, Travis CI and more. Install it
dotnet tool install --global Cake.Tool --version 0.38.4
Entity Framework Core is a popular framework for working with databases in .NET. This package enables a set of commonly used commands for the .NET CLI.
dotnet tool install --global dotnet-ef --version 3.1.7
We all love to write code, but we can’t help writing bugs, we’re only human. SonarSource improves the quality of our code with tools that provide static source code analysis to find code smells, bugs, and security vulnerabilities. With support for many coding languages, including C#, you might want to try this package to analyze your .NET projects with SonarCloud/SonarQube. Install it
dotnet tool install --global dotnet-sonarscanner --version 4.10.0
Running unit tests? Of course, you are. Then this tool will show how well you’re covering your code. It can be used through integration with VSTest or an MSBuild task, or as a .NET Global tool, and even has an integration with Cake mentioned above.. Note that it only covers SDK-style projects.
dotnet tool install --global coverlet.console --version 1.7.2
SemVer has become a popular versioning system over the last few years and is used by many projects. But determining the right version for a build with many committers can be a bit problematic. This tool takes care of the versioning for you automatically using your git history.
dotnet tool install --global GitVersion.Tool --version 5.3.7
Swagger has become an industry standard for the design and development of APIs. It enables you to build APIs for your ASP.NET Core application and generate the corresponding documentation. By providing an embedded version of the swagger-ui, Swashbuckle enables you to generate documentation for your API that’s always in sync with the latest version. Install it
dotnet tool install --global Swashbuckle.AspNetCore.Cli --version 5.5.1
Serverless code is all the rage today, and one of the leading Serverless platforms is Amazon Lambda. This package provides a tool that helps you debug and test your .NET Core 2.1 AWS Lambda functions in your local environment before you deploy them to AWS.
dotnet tool install --global Amazon.Lambda.TestTool-2.1 --version 0.10.1
As the top ten tools downloaded from NuGet Gallery, these are obviously the right tools for the respective jobs that they do, but that’s only the beginning. Having the right set of tools at your fingertips can do wonders for your productivity, and NuGet Gallery currently offers over 1800 different tools, a veritable tool chest that can help push your development forward. So head out to NuGet Gallery and start checking them out.
Ozcode Visual Studio Extension
Elevate LINQ debugging with visibility, clarity and insights into your queries.
Time travel to see how your code will execute before you step through it.
Heads-up display gives you powerful visualizations so you can instantly understand what’s happening in your code.