Category Archives: WCF

WCF Configuration for Large Data

In one of our projects we had to transfer large data from the server to the client WPF application. In the beginning we had some performance issues. Therefore we decided to do some comparisons between ASP.NET Web API, WCF (with and without protobuf-net). The configuration: ASP.NET Web API WCF (Protobuf) WCF – Protobuf serializer –… Read More »

First Time WCF Client Contracts = Nightmare!

In one of my projects (WPF, WCF) we are working with server and client side entities. Although the entities look very similar, we had some reasons to separate them: – Client side entities require more logic -> Implementation of INotifyPropertyChanged -> Implementation of IEditableObject -> Restore handling (When user cancels edit) All these functionalities were… Read More »

WCF basicHttpBinding and Https

Running a WCF service (svc) with basicHttpBinding and Https needs some configuration inside the web.config. First create a website for your service in IIS with a Https (port 443) binding. For this example, I created a test certificate with makecert.exe. Now develop your WCF service with default ABC-configuration (Binding = basicHttpBinding). Open the the service… Read More »

Dynamic IIS hosted WCF Service

For hosting WCF Services in IIS you usually need a .svc file. This File exposes your Service. With ASP.NET virtual Paths you have the opportunity to load your service without a .svc file. You can put the WCF Service inside a DLL without adding a reference to the ASP.NET WebApp. Implementation: – Create a Class… Read More »