WCF: Configuring HTTP / HTTPS to host a System.ServiceModel WCF Service

Using Windows Communication Foundation (WCF) over HTTP either requires the use of a host, such as Internet Information Services (IIS), or manual configuration of the HTTP settings through the HTTP Server API. This post describes how to manually configure WCF when using HTTP and HTTPS. Logo_WCF

Continue reading

WCF Service: Adding a reference results in: System.BadImageFormatException

I have a Solution with a WCF Service Project, a few Classes in projects and a Winform Project. When trying to add a Service Reference from within the Winform Project i always got the Microsoft WCF Service Host – ‘System.BadImageFormatException: Could not load file or assembly ‘file’.. Logo Microsoft Visual Studio

Continue reading