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

Could not find default endpoint element that references contract

Mine is windows application. I am using web service. When i add service reference to my application it is generated one app.config file.
anusha
1
vote
1 answer

WCF Service Bus Service failing to start with configuration error "collection already contains an item of the same type"

I am exposing my windows service via Service Bus, follwoing is my configuration file. I am getting strange error (all of sudden it start coming, though no change in code/config. It was working fine before. One23InsightService failed to start.…
Anand
  • 4,523
  • 10
  • 47
  • 72
1
vote
0 answers

Workflow services scalability issue

I'm currently experiencing some issues with workflow services. They work fine if I start 4, 5 in short sequence, but if I increase this value (starting from ~10) then I get the following exception: This channel can no longer be used to send…
1
vote
2 answers

WCF error - 'Cannot obtain metadata'

I'm working on my first WCF service and am getting an error when trying to launch the service inside of visual studio. So, it will be running under Cassini. The error is: Error: Cannot obtain Metadata from http://localhost:1393/BEService.svc Here…
Bill Martin
  • 4,825
  • 9
  • 52
  • 86
1
vote
1 answer

Contract was not found in the implemented contracts in this service host

I'm getting the error mentioned in the title and not sure what exactly I may be doing wrong. I'm running Mono 2.10.6 on openSUSE. The issue only happens when I try to browse to the WCF service (web pages load fine). Service code is: namespace…
JustinN
  • 896
  • 1
  • 14
  • 28
0
votes
1 answer

SwaggerWCF configuration for self hosted WCF library

I'm having some difficulties getting SwaggerWCF to load my documentation page, and I'm not sure why. I get no errors, but I also get no Swagger docs either, just a 404 when I visit http://localhost:8733/docs per the endpoint configuration. What am…
ShawnW.
  • 1,771
  • 1
  • 12
  • 12
0
votes
0 answers

How to use netTcpBinding with Message level security?

I am migrating my WSE3 services to WCF platform. Clients are going to be legacy WSE3 clients. To achieve some requirements, I have created custom service behavior. The configuration (in web.config) for the service behavior contains the…
Learner
  • 4,661
  • 9
  • 56
  • 102
0
votes
0 answers

WCF Ws-Seciurity service configuration

I'm having truble with configuration around my WCF service and WS-Seciurity. I don't have access to the client side, so far I'm trying to use SoapUI as a client with WS-A adressing, userName, Password and WSS Password Type 'PasswordDigest'…
0
votes
1 answer

Configure WCF without using config file and instantiating proxy client with default constructor

I am not sure this is even possible to be honest, I am wondering if there is a way of removing the use of the config file without having to override the creation of the client proxy. Let me give an example: In a client app we have a WCF DAL…
Jon
  • 15,110
  • 28
  • 92
  • 132
0
votes
0 answers

Accessing BasicHttpBinding endpoint fails with System.ServiceModel.Security.SecurityAccessDeniedException: 'Access is denied.'

I have a WCF service exposing basic HTTP binding and HTTPS binding (with federation). The client app can access the service with HTTPS, but the basic HTTP endpoint method access started giving "Access…
0
votes
1 answer

WCF - question about endpoint element under system.serviceModel in config file

While implementing a WCF client endpoint, my config file had the following endpoint entry:
laconicdev
  • 6,360
  • 11
  • 63
  • 89
0
votes
0 answers

WCF: Missing System.ServiceModel.Configuration.* types on .NET Core

WCF on netcore is only client-side only implementation, I see. But where are configuration types for getting access to client configuration? Does WCF on netcore support configuration at all?
Shrike
  • 9,218
  • 7
  • 68
  • 105
0
votes
1 answer

WCF cannot obtain metadata

I'm trying to create a WCF service that can be accessed over HTTP and Named Pipes. After changing the default configuration (I added the netNamedPipeBinding and endpoint), I can't consume the WCF service anymore. Something has to be wrong with my…
igor treptau
  • 33
  • 1
  • 5
0
votes
1 answer

WCF - How to configure Site-level web.config and make all services use a same behaviorConfiguration

I have a site that host more then 60 services. With the simplified version of the wcf configuration, i dont have to speficy all the services and its corresponding endpoints. The question is how do I speficy the service host to use the same…
Andy
  • 5,287
  • 2
  • 41
  • 45
0
votes
1 answer

Adding AJAX-enabled WCF Service to the Solution throws an error

I am just trying to learn Ajax enabled WCF service, when I try to create a new web application and add new item "AJAX-enabled WCF Service" I get an error message that "The extension of type…
Sri Reddy
  • 6,832
  • 20
  • 70
  • 112