Gáspár Nagy on software

coach, trainer and bdd addict, creator of SpecFlow; owner of Spec Solutions

Enable .NET 4.0 WCF hosing in IIS 8

by Gáspár on January 23, 2014

I still receive quite a lot of hits to my blog post from 2009 on hosting WCF in IIS 7. At that time we used .NET 3.5 and I had a Windows 7 machine with Visual Studio 2008. The time has passed since then and many things changed, but sometimes you still need to host WCF services with IIS. So this post shows the steps you have to do today, especially for setting up the hosing on a developer machine. If you get the 404.17 error with the message “The requested content appears to be script and will not be served by the static file handler.”, these steps might help.

[read more…]

SpecFlow tips: input and output files

by Gáspár on January 20, 2014

Integration tests have to deal with file system files from time to time, even if the system under test does not use the file system. You might have test input files or generated logs, traces or other output files that you generate during the test execution.

Handling such files is not too hard, but there are a few common mistakes that may arise along the folder handling of these files that I would like to highlight in this post, so that the tests can be properly executed in different environments.

[read more…]

Aging makes user stories dull

by Gáspár on January 8, 2014

Although aging makes beef more tasty and delicious, user stories that have been discussed but not implemented for weeks can easily become uninteresting, boring or even hated by developers. This happened in our team two times in the last months: the developers started to work on a low priority, not discussed story instead of doing the high priority, well discussed one – that was standing in a backlog for a couple of weeks.

[read more…]

Connect to TFS 2013 Git Repository with LibGit2Sharp

by Gáspár on November 12, 2013

Have you ever tried to connect to a Git repository that uses NTLM authentication? No? I’m not surprised, because none of the known Git providers required such credentials. But with the Team Foundation Server 2013 git source control this is necessary, at least for the on-premise installed one. If you have used LibGit2Sharp (http://www.nuget.org/packages/LibGit2Sharp/, https://github.com/libgit2/libgit2sharp/)  in your application to connect to Git, you will need to realize that it does not support NTLM authentication unfortunately, so you (or your clients) cannot enjoy the benefits of Git with TFS 2013. If you try, you will get an exception, like “Request failed with status code: 401”.

[read more…]