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

-1
votes
0answers
8 views

How to create serialize class for soap xml message using WCF data contract serializer? [closed]

I need to create class and assign values of classes's property.Can I convert this composed class into SOAP XML message.The soap message should include credential in header. Can I do this by using WCF ...
3
votes
1answer
53 views

.NET WCF Activator for sync and async calls

I decided to re-write my code responsible for WCF calls, as all of my methods had try-catch-...
1
vote
1answer
44 views

Concept for saving context information

My Problem I have a library containing business logic which is being used from 3 different projects: Website Local WPF Application WCF Service The library uses Entity Framework and a connection ...
4
votes
1answer
44 views

Using XDocument properly

I have a WCF service in which I am reading and adding some records to a .xml file. I load the .xml document in the constructor and use it in all the methods and save when it's updated. I want to ...
3
votes
1answer
604 views

Call to external web service

The architecture is showing a call to an external Web Service which is called by me. Then I will expose the data using WCF to be callable from another WCF client. But I really don't like how it's ...
2
votes
2answers
712 views

Consistent way to handle transient timeouts with WCF calls (timeouts, unreliable network, server load, etc)

I'm currently using the following code to manage calls to WCF services that are unreliable, and or suffer performance load issues due to contention. Right now this code is limited to solving issue ...
1
vote
2answers
104 views

Exposing WCF Service with dynamic search operation

I have this WCF service providing search functionality - to be used by our client in his web application. There can be any number of search parameters and possible nesting of ...
4
votes
1answer
833 views

Thread-safe wrapper around WCF ServiceModel.ClientBase subclass

I have an ASP.NET application which uses a Service Reference to a (third-party, offsite) payment processor. The service reference class is generated automatically. Its implementation is a subclass of ...
1
vote
1answer
242 views

Avoiding Duplicate Boilerplate Code in WCF Service

I'm responsible for maintaining a web service project in c#. I have one service class with a bunch of methods that look a lot like this: ...
3
votes
3answers
2k views

Make WCF Service testable

I have WCF Service. It works fine and I want to have test coverage for it. Unit tests and acceptance. The problem is the static class in the code. How is it ...
1
vote
1answer
151 views

Simple WCF messaging system via EF

I'm open to any comments on this code/approach. This is mostly architecture and threading. ...
1
vote
0answers
483 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 ...
1
vote
1answer
160 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 ...
7
votes
3answers
10k 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 : ...
4
votes
1answer
3k 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
200 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 ...
3
votes
1answer
692 views

caching in WCF web service

I want to realize caching in WCF web service. I'm using the following code: ...
1
vote
1answer
1k 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
1k 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
3k 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? ...
3
votes
1answer
3k 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
347 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 ...
2
votes
1answer
445 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 ...