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
1
vote
1 answer

WCF Request Delay Every 50 Seconds

I have a simple WCF service that streams images to the client. On the client, the first request for an image takes around 5.5 seconds and then subsequent requests take around 40ms, which is great. However, after every ~45 seconds, regardless of…
irv075
  • 11
  • 1
  • 3
1
vote
0 answers

WCF maxItemsInObjectGraph exceeded - how to see from svclog what objects are causing issues

I am seeing the error: Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota and I understand how to address this in server and…
Ricibob
  • 7,505
  • 5
  • 46
  • 65
1
vote
1 answer

basicHttpBinding with basic authentication send first request with no user/pass data

When using WCF basicHttpBinding with basic authentication, I notice that the first request after IIS reset is sent without user/pass data (without Authorization: Basic .... Header data) Code: client.ClientCredentials.UserName.UserName =…
Tarek El-Mallah
  • 4,015
  • 1
  • 31
  • 46
1
vote
1 answer

WCF - How to correctly configure MVC Client consuming WCF Service?

I am perfectly aware that this problem has already been discussed a whole lot of times, but it is a specific configuration of my project that I miss to grasp which makes my Service - Client communication go wrong. I ask for your help in this matter.…
Ionna
  • 223
  • 4
  • 19
1
vote
0 answers

WCF self hosted service processing slow compare to same services hosted on IIS

I have a couple of Application which were hosting multiple WCF services.My WCf services also spawn background thread via task parallel library. As we know there is some limits of number of threads and WCF concurrent Calls/instances at a single point…
Kamran Shahid
  • 3,954
  • 5
  • 48
  • 93
1
vote
3 answers
1
vote
3 answers

Web Service Endpoint identity error

I have a problem with our web service. We didn't make the web service so we don't know what's really happening. At first, it works in our server but sometimes it doesn't which causes us to restart it. Then now, it shows error message: Secure…
ezekiel
  • 187
  • 1
  • 11
1
vote
2 answers

programmatically create/edit the WCF section in the configuration file

How can I programmatically create/edit the WCF section in the configuration file? I know how to read. But when you try to change the configuration, get the error: string pathToProg = @ "C: \ Proj \ WCF_Config \ ConsoleApplication1 \ bin \ Debug…
SoapNewbie
  • 65
  • 1
  • 7
1
vote
1 answer

Adding endpoints implementing different interfaces to an AJAX-enabled WCF Service

I have an AJAX-enabled WCF service and everything works fine with the ajax endpoint. Now I want to add another wsHttpBinding endpoint that corresponds to another interface that is subset of the AJAX interface (i.e. I want only specific methods to be…
Stilgar
  • 22,354
  • 14
  • 64
  • 101
1
vote
1 answer

Send UTF-8 character to WCF service

How can i configure WCF service / client to send UTF-8 characters to the service? I want send norwegian, finnish, romanian text like this "ţşîăâăâşţŞŢĂÎÂ" My binding is like this:
Adrya
  • 3,427
  • 8
  • 31
  • 29
1
vote
1 answer

Host multiple endpoints with the same contract but modify at runtimme

I'm stuck for few days on a development a bit tricky. Explanation: Functional need: Expose a unique service with different bindings type that share the same contract AND switch at runtime which binding to use in function of the clients (is .Net…
1
vote
1 answer

Wcf endpoint customization for simplified configuration

I have a good amount of service contracts being implemented by the same class exposed over IIS, using simplified configuration (that is, no explicit nodes in the config file). This works fine and saves us a lot of trouble, because we have…
julealgon
  • 7,072
  • 3
  • 32
  • 77
1
vote
2 answers

Getting WCF RIA Service Timeout

I am running heavy WCF RIA service operation and getting such error on client-side Silverlight app: Uncaught Error: Unhandled Error occurred in Silverlight Application: Submit operation failed. Для запроса HTTP к…
Andrei
  • 42,814
  • 35
  • 154
  • 218
1
vote
2 answers

Why is WCF replacing my endpoint name?

I've got a service with the following endpoint: When I add this service reference to another…
elucid8
  • 1,412
  • 4
  • 19
  • 40
1
vote
1 answer

WCF username authentication not working

I'm new to WCF service. I wanted to create a WCF service with basichttpbinding to create a custom authentication mechanism before giving access to my WCF service. I have used security mode = Transport and clientcredentialtype = basic. I have…
dreamweiver
  • 6,002
  • 2
  • 24
  • 39