June 24, 2006

WCF/Indigo - Change to .svc file format for .Net 3.0

after installing the .Net 3.0 (winfx) components, my Indigo service stopped compiling -- i was getting a System.Web.HttpParseException on my Service.svc file...

after much hunting around for 'HttpParseException', I stumbled upon the answer searching for 'Service directive':

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=414261&SiteID=1
-- and --
http://blogs.msdn.com/madhuponduru/archive/2006/02/22/537627.aspx

Basically, change "Service" to "ServiceHost" and change "class=MyFancyIndigoService" to "Service=MyFancyIndigoService"

No comments: