wcf

BizTalk 2006 ESB - Is there a WcfCustom adapter?

We are implementing the Microsoft ESB Guidance on top of BizTalk 2006. One of our major players in the business is SAP, which is catered for out of the box using BizTalk's WcfCustom adapter. Does anybody have any advice or experience using the ESBG adapters to connect to SAP for submission of iDocs? Will I need to write my own ESB Ada...

How do I catch HTTP errors when using WCF's WebGet attribute?

I'm using the [WebGet] attribute to query a REST API on a web server. Every so often (because the API is still under development) I get back an HTML document in the form of an HTTP/500 error instead of the XML I want. Here's an example of my operation contract: [WebGet(UriTemplate = "search/?api_key={key}&query={query}", BodyStyle =...

Federated security scenario with HTTPS

I'm planning to build a set of web services which are going to use geneva-based custom STS to authenticate users. Both STS and relying services will belong to the same party, so the whole goal of going to federated security is providing Single Sign-On point and retrieving all the authorization information only once. Both STS and relying ...

WHY doesn't WCF 'properly' consume/expose abstract types when hosted as a web service

I've been designing web services for quite a while now but never had to expose a 'complicated' WCF service until recently. I was baffled at the apparent lack of "proper support" in WCF for abstract types. Sure - you can USE them - sure you can get them to 'work'... you just don't end up with what you WANT... The first problem is that...

What exactly is CPU Time in task manager?

I have some WCF services that are hosted in a windows service. Yesterday I looked at Task Manager and noticed that the CPU time for my windows service process was over 5 hours, while the majority of all other processes were at 0. What does that mean? Should I be concerned that the CPU Time was 5+ hours? ...

Authentication - asp.net ajax javascript call to wcf

Hello, We are loading the combobox on demand using a WCF service. This way, as the user starts typing, the ComboBox talks to the WCF service and fetches the necessary data. We have forms authentication on the ASP.NET application. The issue is that I want to only allow the authenticated users from our system to make this WCF call. I...

Best mechanism to implement an IPC Bus in .NET?

I have several apps that want to communicate LOCALLY via a data bus. Ideally: They talk and listen whenever they come online There will not be an "owner" of this communication method. No extra components to install (ie. Message Queues) It would be nice if there were no ports to require open What do you think is the best technology...

C# Thoughts on this design

Hello All I have this problem domain where I need to able to run a background process that would: Run a filter to get an obj collection (time consuming operation) Pass the obj coll through a set of rules...maybe thru a rule interface Be able to expose any changes that the rules caused to any interested listeners. Each filter may hav...

Generating cryptographically secure authentication tokens

Background: This is really a general best-practices question, but some background about the specific situation might be helpful: We are developing a "connected" application for the iPhone. It will communicate with the backend application via REST services. In order to not have to prompt the user for a username and password every time...

Deploy WCF service, C#, WCF, VS2008

I have a test project, WCF Service Library, and I published the project. Have a 2003 server with all the right installation. I browse to my application and upon clicking on .svc I get this error. The type 'SearchService', provided as the Service attribute value in the ServiceHost directive could not be found. This is the snippet from...

How to secure a Silverlight-Enabled WCF Web Service with SSL?

How do you secure a Silverlight-Enabled WCF Web Service with SSL? I have tried setting it up similar to a regular WCF service secured by SSL, but it doesn't seem to work. What do you set in the Web.Config, and what do you set in the Silverlight's ServiceReferences.ClientConfig? I noticed that in the ServiceReferences.ClientConfig file...

How to setup authentication in Silverlight-Enabled WCF Web Service?

What is the best way to set up username and password authentication in a Silverlight-Enabled WCF web service? ...

Using wcf to expose SyndicationFeedFormatter OR IList<SyndicationItem>

I would like to expose a SyndicationFeedFormatter with wcf and basicHttpBinding. I continue to get errors like that shown below. I have included the interface/class and the web.config wcf configuration. I have tried to expose SyndicationFeedFormatter as well as IList but am unable to get past the following error. Has anyone been able...

Using OpenID with WCF and no browser, is it possible?

From most of the reading I've done on OpenID, it seems a browser may be required. I'm writing a WCF app and wanted to use OpenID as the authentication method, but my app is not a web app. Is it possible to use WCF and OpenID together without requiring a web browser? ...

WCF- Error handling when streaming.

Hi, In order to support streaming i return Message with override to OnWriteBody... The problem is if an exception is thrown in the OnWriteBody (DB timeout or whichever) The ProvideFault in the IErrorHandler is not called and therefore i have no way to propagate the error to the client( via a filtering in the IErrorHandler). Is there a...

HashSet in WCF

hi friends, i'm using a HashSet in my WCF interface [ServiceContract] public interface IwcfServerSync { [OperationContract] void Test(HashSet<int> someHashSet); } When i create a service reference the HashSet turns into a int[]. I added a ServiceKnownType : [ServiceKnownType(typeof(System.Collections.Generic.HashSet<int>))...

How can I increase the number of users of my system?

I have a client/server application that depends on MS SQL database for backend storage, the server application is a WCF TCP service that handles the clients requests by selecting from the database set of information. The service is configured as PerSession and support 500 sessions. In the client side the user can open different views ea...

Securing WCF service using basicHttpBinding which supports streaming

My question is in regards to the best (aka "least painful") way to secure access to a WCF service that is only exposed to our company's internal users. The goal is to ensure that the service is only accessed via a single windows forms application that each of our users has installed. When the service is called, I want the service to be a...

JSON WCF Security

Are JSON enabled WCF service secured as they carry Human readable strings Any article on JSON enabled WCF secrity will help.(link) ...

WCF/basicHttp and NTLM authentication

Does anyone know how exactly NTLM authentication works in WCF/basicHttp? I wonder if user credentials are passed for every single service method call, or if some kind of security token is being used for subsequent service method calls. The exact binding configuration that I am using: <bindings> <basicHttpBinding> <binding name="w...