OdeToCode IC Logo

.NET Core Opinion 13 - Commit Your Scripts

Monday, April 22, 2019

In a previous post, I suggested you think of your ASP.NET Core application as a command line tool you can use to execute application specific tasks. In an even earlier post, I suggested you keep scripts related to development checked into source control. I think you can see now how these two posts work together to make everyday development tasks automated and easy.

The command line renaissance gives us a wide range of tools we can use to speed up .NET Core development. Here are some of the tools I've been using recently, in no particular order:

  1. Various dotnet global tools, including dotnet-cake, dotnet-t4, and dotnet-rimraf

  2. The Windows Subsystem for Linux, because it opens up an entire universe of standard tools, like Curl

  3. The Chocolatey package manager

  4. mssql-cli

mssql-cli autocomplete

  1. Azure CLI and aws-shell

aws-shell.


Comments
Gravatar Jon Monday, April 22, 2019
I've found the package manager http://scoop.sh/ scoop is pretty good. It has the latest package of neovim at least. The one thing I really don't like about package managers is that they don't have the latest and greatest versions of apps. I'm not sure if scoop is any different. But if they did have the latest and greatest it makes life so much nicer since I would be able to script a new machine to install all the apps I love. But I've become disillusioned by them (even on linux) so I just stopped using them if possible.
Gravatar K Tuesday, April 23, 2019
@Jon If you want to bleeding edge of everything, you want Archlinux or Manjaro. If you want newer than that you need to be building the source. Which, objectively can usually be done with a simple curl and makefile execution. Brew is worth looking at now as well, as it's crossplatform. Brewfile installation makes full system installs effortless. Also look into yadm. It'll make your restore/reinstalls more expedient.
Gravatar Karthik Chintala Wednesday, April 24, 2019
Looks good. So, no need to open SSMS for querying database for simple select queries. I like the intellisense in command prompt
Your Comment