Questions tagged [wcf-4]

Wcf 4 is a version of Microsoft Windows Communication Foundation (WCF) released with Microsoft .NET Framework 4.0

44 questions
2
votes
1 answer

Duplex channel Faulted event does not rise on second connection attempt

I have regular net.tcp WCF service client, and regular net.tcp duplex (i.e. with a callback) WCF service client. I have implemented some logic to constantly reinstantiate the connection in case a service has faulted. They are created in the exactly…
Vasyl Boroviak
  • 5,959
  • 5
  • 51
  • 70
1
vote
0 answers

WCF 4.0 and .net remoting

There is a solid comparison between WCF and .NET remoting on A Performance Comparison of Windows Communication Foundation (WCF) with Existing Distributed Communication Technologies (MSDN). Many questions asked in StackOverflow regarding performance…
Stefan Papp
  • 2,199
  • 1
  • 28
  • 54
1
vote
1 answer

ActionLink behavior with ASP.NET WCF and Routes.Add in MVC application

I'm want to host both WCF 4 and MVC 3 in my C#.Net project. But when I add the service paths for WCF, Html.ActionLink starts creating a wrong url for MVC app. My route table is created…
1
vote
0 answers

RestFul WCF 4 consuming

I have a problem with a RestFul WCF 4 service, I've used the visual studio.net template to create one, and when publishing it on the IIS 7 on windows 7, everything ok, I can access the service from the local machine, but when accessing the service…
logicChild
  • 291
  • 3
  • 5
1
vote
2 answers

Autofac + WCF REST 4.0

I am building a WCF 4.0 REST service and want to use Autofac as DI container. Apparently, I want to be able to call a parameterized constructor of the service class (service contract implementation), which accepts a bunch of interfaces to work with.…
1
vote
2 answers

Configuring WCF Service to run on IIS 6

After deploying to production env' I receive only 404 - File Not Found. The service needs to be configured as a virtual directory ( /v1 ). It has its own Application pool. I enabled ASP .Net 4.0 as per…
H.Wolper
  • 699
  • 1
  • 13
  • 26
1
vote
1 answer

Create flattened WSDL using svcutil for wcf 4

I need to create a wsdl without the extras xsd files as external files, but have them all inside a single file. I need this because they will be imported by Delphi's WSDL importer, that is quite out-of-date. Can I do this using svcutil.exe? If it's…
Pascal
  • 2,944
  • 7
  • 49
  • 78
1
vote
1 answer

Custom MTOM Binding in WCF 4

Since WPF 4 provides default configuration out of the box, I'm having difficulty trying to create a custom MTOM binding for my service. In short, my WCF library hosts several services that are using basic HTTP. One of the services is used for file…
dandax
  • 1,267
  • 3
  • 15
  • 22
1
vote
1 answer

WCF 4 service responds to localhost address but not machine name

I am building a very simple WCF 4 service to test SharePoint External content list. When I run the service, this works fine: http://localhost:49669/Service1.svc?wsdl But this does not: http://machinename:49669/Service1.svc?wsdl In the old 3.5 wcf…
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
1
vote
2 answers

How Get Client IP. MAC. PC name use wcf4 (tcp/ip mode)

I have a wcf service running on LAN server, use tcp/ip mode. Now I need to get every client info when the client send request connect the wcf service. Because it's all on LAN. I just need get the client MAC, IP , PC name. Is there any way to get…
qakmak
  • 1,287
  • 9
  • 31
  • 62
1
vote
1 answer

WCF service with multiple webHttpBinding bindings fails in visual studio test client

I have a service with four endpoints defined, the configuration looks like this:
Pelle
  • 2,755
  • 7
  • 42
  • 49
0
votes
1 answer

WCF 4 and multiple endpoint bindings

I am yrying to have the same contract and service to be exposed as both basicHttpBinding and webHttpBinding to be able to do a POST call. somehow it's NEVER seeing the endpoint for webHttpBinding when I look at the wsdl. What I am doing…
DavieDave
  • 1,394
  • 2
  • 18
  • 35
0
votes
2 answers

How to host WF4 state machine as a WCF service

I'm new to WF4. What I want to do is to expose WF4 state machine as a WCF service.I have created the state machine. How can I execute the transition triggers and change the status using WCF.…
0
votes
1 answer

WCF oddity with simple example

Ive defined a WCF Service and published the service to IIS on my Win 7 laptop. If I don't explicitly define a namespace on the ServiceContract I get the error I've seen people discuss when I try to consume the service. The remote server returned an…
DavieDave
  • 1,394
  • 2
  • 18
  • 35
0
votes
1 answer

Error while trying to access the method in the WCF service where the project type is "WCF Service application"

I have a WCF Service application project , a class library project(acts as a proxy betwen the service and the client) and a Asp.net web project. Now in the WCF Service application project, I have the method GetData(int) [the default one] public…
user1025901
  • 1,849
  • 4
  • 21
  • 28