Disable foreign key constraints in Microsoft SQL databases
Databases do not allow the deletion of rows if those are referenced in other tables with the foreign key constraint. You can turn off the validation of foreign keys in Microsoft SQL databases for the duration of the maintenance with the following script.…
Free Windows Virtual Machines for all major Internet Explorer versions by Microsoft
Microsoft published free Windows virtual machines for every major Internet Explorer version for multiple virtualization platforms. https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/windows/
Display the branch structure and other important events in the Git command line interface
To set up the display of the branch structure, tags and pulls in the command line interface first create the following “alias” git config --global alias.lgb "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)…
Include PBD files in ClickOnce deployment to show the line numbers in the Stack Trace
If there is an error in an application, the line numbers are only included in the Stack Trace when the PBD files are also in the application directory. To include the PBD files in an application that was distributed with ClickOnce deployment you need to:…
How to get rid of the boring unwanted picture in Skype
Since Microsoft purchased Skype there is an annoying, unwanted advertisement on the main page. If you are tired of seeing the same boring picture every time you turn on Skype In the Tools menu select Change language, At the bottom of the list click Edit…
Branching and merging in Git
Branching and Merging are very powerful features in Git. There are may branching strategies, my favorite is well explained at http://nvie.com/posts/a-successful-git-branching-model/ Pick any model you like and stick to it for a while to better understand…
Merging in Git with four panels in Windows
Git is a great repository for small and large projects. It is easy to create and merge branches to separate code for the features you work on. To make merging easier you can use a free 4 panel merging tool, Perforce P4Merge. Download Download the…
How to delete a folder from Git, but not from the local disk
I have accidentally included a folder in my Git repository, that I don’t want to include in source control. I wanted to remove it from the Git index, but not from the local hard drive. The solution is the following command git rm -r --cached…
Visual Studio 2015 is very slow on Windows 10
When I have upgraded Windows 7 my computer to Windows 10 I have also installed Visual Studio 2015 professional. From the first moment Visual Studio 2015 was very slow. My computer was freezing all the time. I have read many articles about the slowness of…
NUnit in Visual Studio 2015
To use NUnit in Visual Studio 2015 Create a unit test project and download NUnit from NuGet Start Visual Studio 2015 and open or create a solution In your solution create a new class library for your unit tests Right click the unit test project and…