HTTP Header Errors with MVC3 Redirects
We noticed in our error logs that we were getting quite a few of these good old errors:
Windows Symbolic Links
Symbolic links in Windows: http://technet.microsoft.com/en-us/library/cc753194(WS.10).aspx – this was weird. I was moaning to Rohland about how I missed have symlinks from Linux, but I’d never bothered to research the alternative in Windows, assuming that Shortcuts were all we have. It turns out, you CAN make sybmbolic links in Windows.
WCF Quick and Dirty
I added some WCF services to an existing project today, and I found I had completely forgotten the easy way of setting this stuff up. So, here goes. Note that you will usually split your host and consumer between separate projects – this is just an outline of the basics...
Determining the target .NET Framework version of a .NET assembly
To determine which version of the .NET framework an assembly supports, you can use ILDASM.
Moq BadImageFormatException with NUnit
I ran into an issue today running a unit test where I kept getting a System.BadImageFormatException
on the test dll. I incorrectly assumed this was NUnit - after digging around a bit I worked out it
was actually Moq that was the source of the problem.