Click here to Skip to main content
15,887,083 members
Everything / WCF

WCF

WCF

Great Reads

by Daniel Vaughan
Calcium provides much of what one needs to rapidly build a multifaceted and sophisticated modular application. Includes a host of modules and services, and an infrastructure that is ready to use in your next application.
by Roman Kiss
This article describes a design, implementation and usage of the Custom Routing Manager for managing messages via Routing Service built-in .Net 4 Technology.
by Roman Kiss
This article describes a design, implementation and tooling of model driven WorkflowServices logically centralized in the Repository and physically decentralized for their runtime projecting.
by Max Paulousky
This article presents the techniques and caveats of building Silverlight applications that can be notified about database state changes via polling duplex. WSHttp binding and CLR triggers are used to implement the solution as well.

Latest Articles

by NikStar
Using OutgoingMessageProperties and OperationContextScope to implement authorization by http header for WCF client that communicates with non WCF-based web services.
by ToughDev
How to fix PlatformNotSupportedException when running WCF apps
by lvmcastro
A tutorial showing how to use a smartcard API, a SharePoint extension and web services, to add a qualified electronic signature (QES) to a PDF file located in a SharePoint online library.

All Articles

Sort by Title

WCF 

20 Jan 2010 by Vinayaka Krishna Shenoy
.NET Coding Best Practices - Vinayak's thumb rulesDo not hard code strings/ numerics. Instead of that use constants as shown below.Bad practice int Count; Count = 100; if( Count == 0 ) { // DO something… }Good practice int Count; Count = 100; private...
22 Dec 2015 by MarcusCole6833
A basic tutorial on how to Use WCF service with the Entity Framework
6 Jun 2013 by Ankurkumarbora
This tip contains a solution for a Batch process which invokes a RESTful WCF Service.
16 Jul 2015 by Math08avan
A simple example for CRUD actions using WCF service in ASP.NET
8 Sep 2008 by cesar_boucas
A custom derivative of ServiceHostFactory to control how WCF service hosts are created.
7 Jul 2014 by Michael Bergman
Using Windows Communication Foundation to build a simple web server
16 Jan 2012 by Erion Pici
Generating automatized PDF reports based on Docx templates and Business-Logic XML-serialized data
24 Oct 2012 by Ramanujam Shankar
Show data in grid view control of Windows Stores App using web service or WCF
14 Apr 2010 by Sky Sanders
Mixing and matching security to get something like this locked down and providing the desired exposure might be challenging but I didn't offer to solve that in the title, did I?                   
24 Sep 2015 by Phil Boyd
Adding support for PasswordDigest to WCF Service References
27 Sep 2010 by Frozen Rain
There is a simple way to consume WCF from clients which do not support Microsoft's SOAP implementation. It is achieved by using REST to accept data and convert REST calls to SOAP calls with the PHP Framework.
5 Jan 2014 by User 10259217
Handy bridge between ASP.NET webservices and Java
12 Nov 2015 by Eduardo Yost
Creating a Web User Control containing an AutoCompleteExtender for data through WCF (JSON) allowing to store the entity selected through EntityFramework. Entity object serialization from the server to the client and the client to the server.
10 Jul 2015 by Mukesh Pr@sad
This tip describes how to build an application in Azure Cloud with ASP.NET MVC and WCF.
19 Mar 2012 by javieranton
A basic WCF call + callback example in C# using WSDualHttpBinding.
23 Aug 2011 by A Mahesh
Difference between BasicHttpBinding and WSHttpBinding
23 Dec 2009 by Vinayaka Krishna Shenoy
Introduction...
25 Aug 2013 by yafeya
Build a username authentication WCF self-host application with SSL
15 Mar 2018 by Dave M. (Member 10734106)
Develop a simple lite web server using WCF
4 Nov 2012 by Michele Ziparo
An effective way to implement a caching system in Silverlight (MVVM) RIA
23 Oct 2013 by Chaitanya Kolla
Adding the WS-Security Header to a request using the WCF bindings
10 Apr 2014 by Mirko Rezzin
Explain how to implement code generation and inheritance in a WCF service
31 Oct 2014 by Shivarajbk
This tip explains how to write RESTFUL WCF service for Android applications.
10 Sep 2014 by Surya Kiran Bonugu
Client Web Application which consumes OAUTH enabled restful WCF service using JavaScript
19 Feb 2016 by Abhishek Shrotriya
This tip gives the very basic/simple implementation to interact with SAP PI webservice for authorized recipients.
21 Aug 2011 by A Mahesh
wcf durable services
25 Oct 2015 by Damon Du
This tip documents problems encountered in the process of learning WCF and Computer Network.
10 Dec 2012 by Luhuiya
Create a WCF service using wsHttpBinding and use in a Windows Forms application.
30 Jan 2010 by Nicolas Dorier
This is a short bat program to create a self signed key (with private key), if you call the bat "makecertif.bat", to create a key named ServerKey you need to type :makecertif.bat ServerKey, it will create ServerKey.pfx, a certificate with a private key you can use to secure a web site in...
31 Mar 2013 by Melih Mucuk
Creating a WCF Service with JSON data for use on iOS
12 Dec 2012 by Michael Bendtsen
Implementing a service proxy that automatically closes the proxy after each call.
24 Dec 2014 by Alexander Batishchev
Implementing WCF behavior extension to run code on service launch
30 Jul 2019 by Sunny Makode
There are several contents available on the internet that talk about injecting dependencies through .svc file's markup [in WCF service application] and it's easy when you have a WCF service application. But, it is equally easy to do that even in your WCF Library project (without .svc).
7 Oct 2014 by Dominic Burford
Deploying your WCF web service to IIS
31 Mar 2012 by Umesh Khandelwal
Design the WCF service without implementing interface
30 Sep 2014 by WaqaarRasool
Heartbeat Implementation in WCF Service in C#
7 Mar 2013 by Sujeet Bhujbal
In this article I will show you the differences between WCF channel factory and proxy and when to use them.
8 Jan 2011 by Anupama Roy
Different tools to unit test your WCF services
17 May 2011 by Omar Al Zabir
Traditional using() block disposes WCF clients incorrectly when there's a communication exception, eg dropping network connection. It raises exception during the dispose and thus the resources held by the WCF client aren't released properly. After some time, you end up with memory leaks.
18 May 2011 by Patrick Kalkman
Good Tip, got my 5!As an alternative to your tip, when using generated proxies you could also add the logic to a partial class with the same name as the proxy class, see below.public partial class MyGeneratedProxyClient : IDisposable{ void IDisposable Dispose() { try...
22 May 2011 by Jeremy Hutchinson
Or you can use T4 to generate a static class wrapper around the service. Then your call can look like this:SvcWrapper.Login(username, password);The full explanation and sample code is located here[^].
11 Apr 2014 by Krishnendu Ghosh
Dynamic Generation of Client Proxy at Runtime in WCF using a Single Factory
31 Jul 2012 by Christian Amado
A very brief article about the implementation of encryption and decryption of a string in Silverlight Business Application
22 Nov 2011 by Bangla Gopal Surya Prakash
30 Oct 2014 by Dominic Burford
Exception handling in WCF
26 Oct 2016 by Jon McKee
Extending the ServiceHost class to support dependency injection
28 Jul 2014 by lusgon
Uploading a file using WCF REST API and JavaScript
25 Jan 2013 by Oleksandr Kulchytskyi
Boost up your serialization in ASP.NET Web API.
27 Aug 2012 by SONI Technologies (http://sonitechnology.com)
WCF Restful Service which accept data from iPad in any form. e.g JSON, XML, Plain text
8 Apr 2014 by Rahul_Bansal
Remove the ‘Anonymous Authentication’ exception that occurs at the time of WCF service (3.5 framework) hosting on IIS
24 Aug 2013 by Hasan Habib Surzo
Basic Server/Client Example using Windows Communication Foundation (WCF) programming
29 Sep 2017 by Laszlo Voros
We force to hide an empty string-property by serializing with EmitDefaultValue
1 Sep 2014 by Jitendra sondarva
Consume WCF service/ access WCF service, that hosted on Localhost (IIS 7.5 or IIS express)
6 Aug 2015 by Math08avan
Hosting WCF Service - IIS Hosting
1 Nov 2015 by ASP.NET Community
Hosting a WCF Service with netTcpBinding on IIS7
23 Jan 2012 by Abey Thomas
Start a .NET WCF Windows Service automatically soon after the setup installation is complete.
6 Apr 2012 by Henning Dieterichs
This tip shows how to change a WSDL-file to avoid the SFxCannotImportAsParameters_DifferentWrapperName-Exception, which is thrown when importing the WSDL-file in Visual Studio
31 Jul 2015 by Manish_Kaushal
This tip provides a quick starter guide to create a RESTful JSON service in WCF.
18 Mar 2015 by tungnt185
This tip will show you how to create a WCF service return JSON use for mobile app.
16 Oct 2014 by Assil
Just one way to solve a common problem of WCF timing out
4 Jun 2017 by Puresharper
How to generate basic swagger yaml description for WCF automatically on build time with Swagger4WCF .NET 4.0+
10 Oct 2011 by OriginalGriff
Originally, I was going to create a simple Web Service using an ASMX file, but that appears to have been removed from Visual Studio 2010 - or at least I couldn't find it easily. So, WCF it is! I love the way technology lasts, don't you? Right, so I know nothing about WCF, tutorials here I come...
16 Mar 2017 by Arthur Minduca
How to handle faults in WCF without declaring them explicitly
5 Dec 2013 by Infoteam SA
Two solutions to host a self-hosted WCF Service
15 Feb 2011 by WillCaptain
How to implement subcription based on WCF
12 Jun 2015 by HUONG Minh-Luong
This tip explains how we can use PresentationRequestor to query presentation objects over WCF.
31 Dec 2009 by Karuna_Sorate
HTTP status 404: Not Found error while accessing WCF service through an ASMX clientI have personally faced this error without any accurate reasons explained in the server's log/trace. With some trial and error, I just managed to resolve it. Here is how it worked for me.Reason 1:If you...
30 Jan 2011 by Espen Harlinn
IDisposable works for WCF services
10 Sep 2010 by Shine K Velayudhan
Why and How to implement KnownType Attribute in WCF Service
12 Sep 2012 by Alexandr Mihalciuc
This tip shows how to inject WCF proxies into controllers using Castle Windsor Interceptors.
30 Apr 2012 by babzog
Most articles I read about REST and C# apps concerned themselves with starting fresh whereas I needed to add REST to an existing application. This articles describes the process.
28 Dec 2015 by Dhruti90
MVC functionalities with web service with simple integration
23 Dec 2015 by Dhruti90
MVC functionalities with Web Service with simple integration
6 Apr 2015 by Santhakumar Munuswamy @ Chennai
This tip explains WCF and helps understand the difference between WCF and Web Services.
21 Dec 2014 by Shah Ankita
How to join table and display data using WCF Service in MVC
25 Feb 2015 by Mohsen Heydari
Intercepting WCF and SOAP services for logging SOAP envelope
4 Mar 2013 by Dima Zevelev
In this article I will talk about server failover and how to manage it.
19 Dec 2010 by Pranay Rana
Method overloading in WCF
19 Sep 2013 by Member 10409352
Issue of method overloading in WCF and solution.
4 Sep 2014 by Chathuranga Muthukumarana
MVC and jQuery with WCF Data Service
16 Feb 2015 by TalentTuner
In this article, I’ll describe how to use NetNamePipe binding in a WCF application.
16 Feb 2015 by TalentTuner
In this article, I’ll describe how to use NetTcp binding in a WCF application.
16 Jan 2013 by Houssem_Dellai
Developing the client and server side for a chat application.
17 Apr 2014 by muralikannan_t
How to pass values from one Silverlight application to another using WCF service
16 Jan 2014 by Tom Glick Philadelphia, US
POC to demonstrate passing of collections of complex objects to ASP.NET Web API Controllers.
23 Feb 2011 by jasonalls
The solution in this tip will enable you to delete SSL certificates programmatically when you receive the error InvalidOperationException: Found multiple X.509 certificates.
5 Apr 2014 by Rahul_Bansal
Remove the ‘Anonymous Authentication’ exception that occurs at the time of WCF service (3.5 framework) hosting on IIS
25 Mar 2013 by SumitJaiswal
Knowledge sharing article on WWF.
23 Jul 2010 by Mahmudul Haque Azad
6 Sep 2015 by jseijas2
In this tip, we will see how you make quick REST API from database defining the API in a configuration file.