Posts

Working with GPIO in C# on Raspberry Pi 2
146351 views

<p>I'm normally not a Raspberry Pi kind-of-guy, three weeks ago I knew basically nothing about them. I am however a <i>Microsoft guy</i>, loving Windows, Visual Studio and C#, so when a colleague ment…

Raspberry Pi C# Mono
Using Sony SmartTags with a Nokia Lumia
22352 views

<p>I have had a Nokia Lumia 920 for more than a year now and I have never tried using NFC. Until now that is. I don't remember why but all of the sudden I got extremely interested in NFC, so I downloa…

Windows Phone NFC
Client certificate trouble in IIS
5469 views

<p>I was recently working on a website that used client certificates to authenticate the users, and while testing the application I was surprised to find that the certificates stored on the smart card…

IIS Security Certificate
Deploying web applications with TFS and MSBuild
34042 views

<p>I'm administering a local TFS that hosts several web application projects. The projects are being built on each check-in, and the goal has always been to deploy the applications to various environm…

TFS 2012 MSBuild Web Deploy
WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping
2669 views

<p>The other day I was updating an old application that was created in Visual Studio 2010 originally and later was upgraded to Visual Studio 2012. One of the changes I made was to add the &lt;httpRunt…

MVC Troubleshooting
Load .aspx files from class libraries
5975 views

<p>During my time as developer I have created a few ASP.NET web applications. One common task that I often do is to add forms authentication functionality to these web applications. This means a lot o…

ASPNET
Database initializers in EF code-first
3300 views

<p>When working with code-first development in entity framework you will most likely need to initialize the database at some point. Entity framework provides a set of database initializers that can be…

Entity Framework Code-first
Sharing code between WinForms/Web and Windows Phone
962 views

<p>So recently I started developing for Windows Phone, just to try it out. One of my first apps was a port of a WinForms application that I had done before. One of the issues I faced during the develo…

Windows Phone Visual Studio 2012
When a week has two numbers
2689 views

<p>The other day I was getting indications that one of my applications was behaving strangely. Without getting too techinical about it, it seemed like the application had lost data. Losing data is nev…

Troubleshooting
Max connection pool size reached
1853 views

<p>Some time ago I was told to troubleshoot a problem in one application (ASP.NET 2.0). The problem seemed to occur randomly, and when it occurred the application would halt and begin generate the fol…

Windbg Troubleshooting
Enabling SSL in TFS 2012 Express
2851 views

<p>Enabling SSL in TFS 2012 is basically the same as enabling SSL in IIS. TFS uses IIS to provide access to your team project collections, and you will therefor use the IIS manager to bind a certifica…

IIS Security TFS 2012
Enabling SSL in SQL Server 2012
4387 views

<p>In the last post I went through the steps to create a certificate and installing it in IIS. Installing a certificate in IIS opens up the possibility to use SSL between the client and the web server…

Security SQL Server 2012
Offline certificate creation with Windows Server 2008 CA
1142 views

<p>I recently faced the task to submit an offline certificate request from IIS to a CA running on Windows Server 2008. Since there were some tricky bits in completing this task I decided to document t…

IIS Security CA
List<T>.Contains() performance
1325 views

<p>I was troubleshooting a performance issue with a co-worker today when we discovered that a particular call to List&lt;int&gt;.Contains() was causing a huge performance hit. At that moment it struck…

Performance
Disable debugging on prod servers with retail mode
1384 views

<p>After thinking about it for some time I finally decided to turn on retail mode on my web server. Retail mode is a setting in machine.config that will disable a few debugging-related features in ASP…

machineconfig Security
HTTP Error 403.14 in MVC applications on IIS 7.0
1718 views

<p>I was deploying an MVC application to an IIS 7.0 the other day but when I tried to access the application I got an HTTP 403.14 error. That was strange, since it worked on my development machine (ho…

IIS MVC webconfig
Hello World!
902 views

<p>Hello and welcome to the first post ever in my blog. In this blog I plan to post bits and pieces related to software development. For far too long have I solved problems one day just to encounter t…

Blog