wcf

Grouping same WCF Requests

If a WCF Service gets the same request, means the same MD5 over all Parameters i want to block all except the first request until the processing is done and notify all waiting clients. What is the best way doing this? I thaugh of something like a channel sink, maybe there is a finnished implementation for archieving this? ...

WCF service deployed to Azure

Hi I have create a WCF Service Web Role project.I can consume the service locally. But I am having issues trying to deploy the service on the azure cloud. After starting the webrole it justs kepps going in a loop where it init then stops. I have not made any changes to the default WebRoleclass that was added automatically. Can anybody po...

publish Password protected feeds and atom using WCF service

I have a WCF service to publish feeds and atom. The tricky things is need to publish password protected feeds that too passing userid and password along with URL. Since WCF REST support bindbyposition and bindbyparameter name, just i would like to know how to allow & extract userid and password from webget url into wcf service. Please ...

wcf windows service interaction

I have a windows service in which i host a wcf service. What is the best approach to control the windows service via the wcf service? I already created the interfaces for the wcf service, but I have no idea how to interact with the windows service's classes and functions. ...

WCF MSMQ Service unable to detect that a queue is transactional

I have created an service oriented application using wcf and msmq. We can only use server 2003, so the version of msmq is 3.0. The service works, but when using the Microsoft Service Trace Viewer. I keep getting warning when opening service hosts about wcf not being able to confirm wether the queue is transactional. Here is the Trace :...

How to Prioritize Outgoing Messages with WCF

I would like to be able to prioritize the outgoing data/messages from a WCF service. Here's the basic scenario: Client requests from server a data stream. The data stream is live, large, and potentially unending (equipment monitoring data). We'll call this HighPriorityDataStream. Client requests additional data. We'll call this LowPri...

WCF Data Service Query seems to be retrurning duplcate rows on repeated queries

Hello, I have a data class that return some objects from a wcf dataservice to a silverlight app: void ExecuteWipReportQuery(DataServiceQuery qry) { context = new StaffKpiServices.HwfStaffKpiEntities(theServiceRoot); qry.BeginExecute(new AsyncCallback(a => { try ...

C# WCF - The socket connection was aborted - CommunicationException.

ORIGINALLY I thought this was a circular reference problem........turns out it's not. The problem arose from having not configured the service configurations at all. Since the defaults are very low, sending lots of data will make the service collapse. Scenario It seems I may have circular references in my WCF service, but using "[D...

Windows authentication in WCF & IIS to access a database

Hi there, I've got a WCF service I want to use to access a SQL db (via Linq2SQL at the moment), but the trusted security in a live IIS environment doesn't seem to use the right credentials - I've tried to follow the related posts here, but can't seem to quite get it. I'd be really grateful if someone could spot my mistake ... in the En...

Enable PUT on WCF REST Api on IIS 6 (without .svc file)

On IIS 6 how can I allow the PUT operation on a WCF Rest API? Since I don't have the .svc file (I added a route on global.asax to service class) I can't allow the put operation on the .svc extension on IIS 6. ...

having trouble returning this type in A Asynchronous WCF Service Call From Silverlight

I have a WCF Service. It returns the below type. I get the data in the first level but not any of the data in the nested lists... What could be my problem? using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace slCF2.Web { public class Customer { string _firstname; string...

WCF REST RequestInterceptor authentication

I am trying to do some basic authentication in a WCF RequestInterceptor. I am using this article as a start. The problem I am running into is communicating between the interceptor and the service. Nothing I have tried seems to work. So far, I have tried: OperationContext.Current requestContext.RequestMessage.Properties[HttpRequestMess...

Windows Form calls Web Service but needs to impersonate a different Windows user

I have a Windows Form app (4.0) that calls a Web Service (WCF) but needs to impersonate a different user than who is currently logged inot the machine. How can that be done? Right now the Web Service is failing to return records because the user does not have the rights. I need to use a different user for the Web Service call. ...

Webservice/WCF (timer update engine)

Hi, I am trying to build (csharp) one webservice /WCF engine that make two actions: 1 – Have one timer (thread), that will run in each 10-10 minutes, requesting some information (connecting with other server to grab some info - status) to update in one database. (This must be automatic and no human action will be available). The idea ...

Same Origin Policy and Web Services

If I have a WCF SOAP (C#) based web service running in my local IIS - and I make an ASP.net website, again running in my local IIS - will the javascript making HTTP request calls from my webpage be successful? Or do the same origin policy rules come into play here? ...

Concurrency of thread

I have a WCF application (vb) which works fine but when a user requests information while the server is doing a call to another user, everybody hangs! ...

How to restart REST Services?

I want to restart the REST service since even after adding a new service or services I don't see any change in the help page at all and afterward all the services don't work... Is their any solution to this... worst case scenario I have to create a new project all over again... By the way Im using C# .NET 4.0 ...

wcf service start

I have a wcf service inside a windows service. Inside the wcf service I have a http listener which needs to be started automatically when the windows service is started. Any ideas? ...

web services failed

I create a web service (.svc). the web services are running successfully. when i connect through local computer, it's run successfully . but when i deploy web serivce on web server it's can't be access and show exception "Unable to automatically step into the server. Connecting to the server machine 'XXX' failed. Logon failure: unknown...

cross-domain policy error in Silverlight with WCF

I'm getting the following error when I connect my Silverlight app to my WCF service. I host this wcf as a self host service. An error occurred while trying to make a request to URI 'http://lmr-hero/iSponsorWebSite/projectService.svc/basic'. This could be due to attempting to access a service in a cross-domain way without a proper cro...