Questions tagged [wcf-configuration]

Windows Communication Foundation (WCF) is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications. This tag covers its configuration aspects.

Windows Communication Foundation (WCF) is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications. This tag covers its configuration aspects.

More Info

112 questions
2
votes
1 answer

How to set the WCF binding scheme via code?

I need to reproduce this app.config service file via C# code. .... ... Specially the scheme part, so i did this: var binding = new…
gog
  • 11,788
  • 23
  • 67
  • 129
2
votes
1 answer

WCF stream compression - Is it adaptive?

I have just found out that compression has been added to WCF, supporting Deflate and GZip compression schemes. The documentation seems very vague on the operation details. I was wondering if someone has detailed information on how the compression…
user1222021
2
votes
1 answer

Where, when and how to specify servicePrincipalName in identity element of certificate based WCF services?

I've got a WCF enabled Windows service on our server which I'd like to consume. Both server and client should have appropriate certificates in their stores so these certificates can be used to secure the communication. I'm not very experienced in…
Gorgsenegger
  • 7,356
  • 4
  • 51
  • 89
2
votes
1 answer

system.serviceModel has invalid child element domainServices

I get this error and really don't know how to fix it: The element 'system.serviceModel' has invalid child element 'domainServices'. List of possible elements expected: 'behaviors, bindings, client, comContracts, commonBehaviors, diagnostics, …
NoWar
  • 36,338
  • 80
  • 323
  • 498
1
vote
0 answers

WCF Service with Shared Hoster causes 404 (Placed in IIS App)

If I try to hit a method using jQuery or via browser, I get a 404. My configuration looks like the following:
Jason N. Gaylord
  • 7,910
  • 15
  • 56
  • 95
1
vote
1 answer

WCF wsHttpBinding with certificate message security

I am trying to create client and service applications with Message security with Certificate. But I have some errors all the time and can't make it work. Could somebody suggest what is wrong with my configuration files? This is the service…
Yaplex
  • 2,272
  • 1
  • 20
  • 38
1
vote
1 answer

Crossdomain WCF - Silverlight configuration error a:ActionNotSupported

I tried to run WCF functions from SilverLight Code. WCF is runing on site www.my-site.com Silverlight application is downloaded from site www.my-site.com as < IFrame/> part of html page which is downloaded from site www.vkontakte.ru. I have received…
1
vote
1 answer

WCF 4.0 REST IIS Hosted Long Running Operation No Response after 1 hr

I have an IIS Hosted WCF REST 4.0 service. When I execute a rest operation that takes over an hour to run it never returns a response to the client. Instead I receive the following exception after 4 hours: "The request channel timed out while…
Grant
  • 11
  • 2
1
vote
1 answer

How to specify implemented Service Contract dll in WCF config

My service implementation is present in Calc.dll. WCF Service is present in Svc.dll I have added contract inside endpoint tag in the WCF app.config file of Svc.dll.
meetjaydeep
  • 1,752
  • 4
  • 25
  • 39
1
vote
1 answer

WCF Configuration for Endpoint in Another Project

I have two projects in a single solution. One project, let's call it MainProject, becomes an executable. The other project, let's call it ControlsProject, contains UserControl's and is referenced (and used) within the MainProject. The…
Jason N. Gaylord
  • 7,910
  • 15
  • 56
  • 95
1
vote
3 answers

Why IMetadataExchange is invisible?

I have created WCF Service that is hosted with IIS 6 (Windows XP):
Andrew Florko
  • 7,672
  • 10
  • 60
  • 107
1
vote
2 answers

WCF bindings/security configuration for Intranet that uses Mac and Windows?

What bindings and security configurations are best for an environment with Windows and Mac Computers?
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
1
vote
1 answer

configuring web.config (system.serviceModel) for a site which talks to multiple web services (some through dlls)

I've a solution which consists of a web project and a class library project. The web project solution directly references a wcf service. There is a 2nd wcf service, but it is the class library project which directly references it. I'm adding the…
deostroll
  • 11,661
  • 21
  • 90
  • 161
1
vote
1 answer

Getting EndpointNotFoundException: There was no channel actively listening in WCF

I have created a WCF multiservice with two interfaces, i'm trying to export two endpoints one for each service. Here below you can see the two endpoints:
cascadox
  • 893
  • 4
  • 14
  • 32
1
vote
1 answer

Modifying the service host base addresses without rewriting the application configuration file

I am trying to adjust the host base address prior to launching the WCF service host to add an instanceName to the base address: var baseAddresses = Utils.EmptyList; var cfg = ConfigurationManager.OpenExeConfiguration( …
mark
  • 59,016
  • 79
  • 296
  • 580