Gáspár Nagy on software

Witch typing: If it walks like a duck, quacks like a duck and weighs the same as a duck, it must be a witch.

Enable .NET 4.0 WCF hosing in IIS 8

by Gáspár Nagy 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…]