When working with SQL databases, there might be times when you need to add a new column to an existing table. If this column is meant to be mandatory (i.e., it cannot be NULL), you need to ensure t...
In unit testing, it’s common to verify that certain methods are called with specific parameters. Moq provides a convenient way to do this with the Verify method. However, relying solely on Verify c...
Sometimes, I just want to start quickly with an empty HTML file. Here are some starting snippets for HTML. Bootstrap Quick and easy starter setup for bootstrap index.html <!doctype html> ...
What is the decorator pattern Using decorator is a great way to add responsibilities to a set of classes or specific classes without needing to modify the class itself. The decorator implements th...
I use Specflow a lot. It is a simple way to describe specifications for a software system. Working with days, however, never look nice in Gherkin style. Consider the following given: Given a user...
Sometimes you would like to rename the Title field in a SharePoint List. For example: in a list of Countries where the title should be named Country Code. In SharePoint, this is easy to change: ...
When you want an overview of your active tasks in a SharePoint task list, you can create a view where you set a filter to the Assigned To property to [Me] and the Status property to Not Equals to “...
While debugging your .NET code, you might want your debugger to step over some code instead of into it. This can be very useful while (user interface) testing. This code snippet throws an exception...
A new version of content is available.