JSON.NET – CASE INSENSITIVE DICTIONARY

JSON.NET can of course deserialize a dictionary out of the box but yesterday I needed to change the way the dictionary is created during deserialization. I needed the dictionary to be case insensitive when comparing string-keys, which means that the dictionary needs to be created with the StringComparer.OrdinalIgnoreCase…

Read this article

USING POWERSHELL TO BACKUP SQLSERVER DATABASES

A backup process can be really simple or very complex depending on your requirements. In this post I’m going to show how you can backup your sql server databases by using PowerShell. If you don’t want to use this approach you can of course use sql server agent…

Read this article

POWERSHELL + UNC PATH + CREDENTIALS

Today I was faced with the fact that one of our backup processes needed to copy compressed database backups to a remote server over an UNC path every night. Of course were the UNC path protected with credentials other than the credentials my script were running under. The backup process…

Read this article

AUTOMATING PRIVATE BUILDS WITH GITHUB, JENKINS, PSAKE AND MS WEB DEPLOY

I have written some posts before on similar topics. In the latest post about this topic I wrote: “To get a more reliable solution we could deploy using web deploy”. In this post I will go through how we at Cloud Connected has setup our build server with GitHub, Jenkins,…

Read this article

PREVENT POST BACK ON ENTER IN AN ASP.NET INPUT FIELD (ASP:TEXTBOX)

Lets say you have the following ASPX code: <div id="LoginWraper"> <asp:TextBox runat="server" ID="TbUsername" ClientIDMode="Static" /> <asp:TextBox runat="server" ID="TbPassword" TextMode="Password" ClientIDMode="Static" /> <asp:Button runat="server" ID="BtnLogin" ClientIDMode="Static" Text="Login"/> </div>…

Read this article

IMAGEVAULT 3 – UNABLE TO LOAD ONE OR MORE OF THE REQUESTED TYPES

Recognize this when fetching a EPiServer project from your version control system that uses ImageVault and your development environment doesn’t have ImageVault installed? It could be related to the fact that ImageVault (version 3) requires six assemblies being preinstalled to the GAC and a lot of “leadtools”-assemblies in…

Read this article

THE “FOLDER WITHOUT A NAME” PROBLEM

Some days ago I created a new Virtual OS at my laptop using VirtualBox but VirtualBox freaked out and created the folder structure for the Virtual OS within a folder without a name: After the installation of the OS, VirtualBox started to complain about not finding settings or virtual hard…

Read this article

CONTINUOUS INTEGRATION WITH JENKINS AND PSAKE

Every now and then I get questions about build/deploy/test automation. Often the questions are asked by project lead or the customer and containing something like how much money will it cost? or how much time will it consume? My answer is usually something like… It will depend on…

Read this article

HOOKED ON COFFEE

More and more I find myself talking about CoffeeScript and all the things I like about the language so I thought it would be a great idea to summarize all my talking in a post. Before I begin I must say that one of the best things about CoffeeScript is…

Read this article

USING SERVICESTACK BUNDLER

Bundler by ServiceStack is a solution for bundling, minifying and compiling client script (JavaScript/CoffeScript(!)) and style sheets (CSS, LESS and SASS). There are a lot of this sort of solutions out there but I really like this one, hopefully you will too after reading this. At the projects GitHub…

Read this article