Triggering a build when file changed in Visual Studio
In Visual Studio when a source code file is changed, the project it belongs to will be built when the whole solution is being built. So far, so good. But what happens if you want some other files (read: non source code files) to have the same behavior? In my...
Quick Tip – JavaScript Namespaces
Quick Tip \u2013 JavaScript Namespaces Namespaces (or named scopes) are widely used in many programming languages. Namespaces help to group a set of identifiers into a logical group. An identifier can be a named class, named interface or any other language...
Asynchronous WPF Command
The ICommand interface provides a nice way of binding WPF buttons to methods in a view model. If those methods use any amount of time, though, you'll want to run them in a background thread.This implementation of ICommand is an easily-extendable way to run...
How to Join Multiple Columns with Linq To SQL
Today I had to create a Linq-To-SQL query which joined two tables. These tables had compound primary keys (table simplified for example): Table Referrers ServerID (PK) ReferrerID (PK) Value 1 1 My value 1 1 2 My value 2 1 3 My value 3 Table ReferrerInfo ServerID...
A HTTP web server program that opens files on the server, using QR-Codes and a REST architecture
A command promt web server that starts the program or open a a file given in as an argument in an http adress. Could potentially be used to show media on screen using QR-codes.