Fault Contract’1 was unhandled by user code: Solved

For a training purpose I was trying a basic demo on fault contract in WCF and to be surprised I Got below error while throwing FaultException. It’s not that 1st time I was working on Fault Contract but this error was irritating. After some investigation I found there was some issue in visual studio 2013 … Continue reading Fault Contract’1 was unhandled by user code: Solved

Advertisements

Publish WCF Service in Local IIS on Visual Studio 2013

Long back I wrote a blog post Step by Step hosting WCF Service in IIS 7.5 . In this post I used Visual Studio 2012 as I remember. Today I was trying to host WCF in local IIS in Visual Studio 2013 and found it is surprisingly easy to host WCF Service in IIS 2013 … Continue reading Publish WCF Service in Local IIS on Visual Studio 2013

Solved Access-Control-Allow-Origin Error in WCF REST Service

  Recently I was working on a JSON based WCF REST Service. It was a simple service performing CRUD operation. When I tried to consume service from a web based client, got following errors in browser console. Error message was, No Access-Control-Allow-Origin header is present on the required resource. Since service was running on different … Continue reading Solved Access-Control-Allow-Origin Error in WCF REST Service