Windows Communication Foundation is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications. This integrates various other(.net\java\MSMQ) technologies. The primary focus on the interoperability of different stacks of communication.

learn more… | top users | synonyms

0
votes
0answers
54 views

WCF using TAP without worrying about timeouts

I am really liking using the new TAP pattern in .net 4.5. And am updating some of my older projects to use it. One of the old patterns I used to use was to use EAP with WCF so I could have functions ...
0
votes
0answers
81 views

netTcpRelayBinding WCF service hosted in Windows Service - Standard practices

I am writing netTcpRelayBinding WCF service hosted in Windows Service. I feel my code is naive due to lack of experience in windows service development. This get called from Windows-Azure. Could you ...
0
votes
1answer
63 views

How to write a stable WCF service

I'm writing a WCF service for validating password and getting company ID for the clients that requests the services. The service runs on a server locally as a windows service, which sends queries to ...
4
votes
2answers
2k views

Recommended method to use a WCF service client and handling it's exceptions

I am new to WCF and need to work with another programmer's code. I am unsure of the way the WCF service client is used here : private void barButtonDocuments_ItemClick(object sender, ...
4
votes
1answer
1k views

How to design a good interface for WCF service

A little bit of background might be in order to fully illustrate the problem. I'm designing a client (UI made with WPF) and server (WCF) that communicates with a device known as DDC (Direct Digital ...
2
votes
0answers
123 views

Self hosting service architecture

I'd like to have a few advices on my self hosting wcf services project. Image: Class: Host holds IoC root container creates ServiceHost instances with endpoints, behaviors and running them Q: Am ...
2
votes
1answer
327 views

caching in WCF web service

I want to realize caching in WCF web service. I'm using the following code: public interface ICache<T> : IDisposable where T : class { string Name { get; } CacheItemPolicy ...
1
vote
1answer
595 views

how to self-host wcf in winform without another windows process [closed]

I have a windows application and want to self-host a wcf in it. This MSDN article walks you through how to self-host wcf in a console. Jason Henderson's article demonstrates how to call the service. ...
1
vote
2answers
297 views

Best practice Multiple service classes vs Single class using partial class and different interfaces?

I want to have separate service classes for each business layer. And trying another possibility with partial classes. Please suggest which one is better one. regards, anand Option 1: ...
3
votes
2answers
2k views

WCF wrapper implementing dispose-finalize pattern

I tried to implement the dispose-finalize pattern on this WCF wrapper. Do you have any comments about this? Something I missed? namespace System.ServiceModel { public class ...
3
votes
1answer
2k views

How to improve WCF client proxy based on CreateChannel (not generated from WSDL) in C#

When invoking a Web Service from C# (where the external service might be WCF, ASMX, Java, etc. - you just don't know), it is common practice to point your modern development tool of choice (Visual ...
4
votes
2answers
242 views

Is this a good way to handle Web API UriTemplates?

I want to be able to do /contacts/Matt%20Phillips and /contacts/1 and have both of them return a contact. The way I did that was to try and parse an int from the captured parameter and call the Id ...
2
votes
2answers
320 views

WCF general response validation for multiple services

Background information I am building a web application that consumes 3 different WCF services that are hosted internally. Each response object from the service inherits from a base class ...