Motowilliams_large

Eric Williams

Building a Solution with dotnet cli templates

In a previous post I showed an example of using dotnet cli commands to create a sample web solution with a web project that has dependencies on models and services projects and a test project that also is in the mix. I personally think that is super useful and I can think of scenarios where I will be using that. Another scenario is where you . . .

Read More

February 20, 2017

Sql Server Management Studio Script Encoding

Why are my diffs wrecked?

When you install Sql Server Management Studio (SSMS) 2016 and have it generate script files for you the encoding is set in such a way that git will show them as binary files and your diffs will be useless.

Silvrback blog image

To fix this open SSMS and go to the following menus:
Tools » Options » Environments » International Settings. From there changed the . . .

Read More

February 14, 2017

Using VS Code as a git diff tool

As Visual Studio Code continues to evolve there are some command line switches that make it even more interesting to use.

By issuing /path/to/vscode sourcefile destinationfile --diff you can have VS Code display a visual file diff. On its own that is somewhat useful if you have to files in different locations you want to diff.

A more common . . .

Read More

February 13, 2017

Building a Solution with dotnet cli

The latest version of the dotnet cli is offering some nice features for getting a .NET software solution started. This can enable scenarios where you want to start a project off with some guide rails on where you want your team to put things. Instructions for installing are here

The simple example to talk about it dotnet new mvc which will . . .

Read More

February 11, 2017

GitTip: Commit Message Lines

Silvrback blog imageThe other day I stumbled upon a neat little trick with the git commit message. You would normally git your commit flow starting with just a git commit command. This will start your default editor such as vim or another simple text editor. Another little shortcut for this is the -m switch. You can commit with a message with a git commit -m . . .

Read More

Posted in: commandlinegit

January 30, 2017

A Better Integrated Terminal for VS Code

VS Code has been around for a while now and one of the nice features from this editor is the ability to start an integrated terminal shell within the application and in the context of your working directory. Out of the box Code ships with the default windows command prompt aka COMSPEC. This can be use for some tasks but having Powershell in . . .

Read More

January 08, 2017

What, that tech still works?

jQuery and string concatenation

There are times when you just need to add something to the DOM. Sometimes you just need to make a quick call to an HTTP endpoint and get some data to display. There are also times when you don't want to spin up a 42 step frontend build pipeline just to calculate the airspeed velocity of an unladen swallow.
Silvrback blog image
I was looking at a way to add . . .

Read More

December 02, 2016

Archive