wcf

Linux/Mac OS X equivalents for Windows Communication Foundation

--edit-- What application development frameworks/component models for Linux and Mac OS X are analogous to Windows Communication Foundation & COM, which provide high level IPC mechanisms for manipulating/communicating with software applications? By high level communication model I mean RPC, publish/subscribe, etc. I'm writing software ...

Hosting Multiple Service Contracts in IIS

How to host multiple service contracts in IIS. example , I have 3 different service contracts in my project and implements in three different class's. First I host a service contract in IIS with SVC file, now i want o host the another service in the same service. is it possible? or How to expose multiple service contracts in a single...

Calling WCF service by VBScript

Hi, There is a WCF service with configuration: <services> <service name="MyService" behaviorConfiguration="MyServiceBehavior"> <endpoint binding="basicHttpBinding" contract="IMyService" /> <host> <baseAddresses> <add baseAddress="http://localhost:8001/MyService" /> </baseAddresses> </hos...

Opinions on Expression Tree Serialization Library from CodePlex?

did someone tried this code library and have opinion about it? http://code.msdn.microsoft.com/exprserialization 10x ...

.NET RIA Services / WCF Services

We are in the middle of creating an n-tier Silverlight LOB application and are considering the use of .NET RIA Service. We are unclear where this fits in relation to our current WCF service API. Our Current architecture is: Silverlight <--> WCF Service <--> Business Logic <--> Entity Framework Model <--> Database Having watched Nikhils...

Routing REST to named pipes in WCF

I want to route request comming in by REST (WebHttp) to another service. The other service will listen via named pipes or REST. The router is a simple service which takes all requests as messages, routes them to the target and sends the answer from the target back to the client. 1) When I try to route REST to named pipes there is the en...

WCF Security Problem with UserName clientCredentialType

Hi, First of all I apologize for my english... Then: I have a problem! I wrote the code for a simple WCF Service and with the configuration #1 all works fine. Conf #1 - server <configuration> <system.serviceModel> <services> <service name="WCFservice.Service" behaviorConfiguration="WCFservice.ServiceBehav...

How to use a WSDL File to create a WCF Proxy?

I have an old WSDL file and I want to use WCF to communicate with the service. The WSDL is generated from a ASMX (I suppose but I am not sure). What would be the required steps to communicate with it ? Thank you in advance. ...

Is there a WCF equivalent to RPC context handles?

I'm updating an old c++ service to use WCF instead of RPC and there is an issue as to what type to use when sending and receiving a handle (HANDLE, void*..etc). In the updated service I currently have it using IntPtr, but this does not work when going from a 64 bit version of the service to a 32 bit version. The IntPtr can not deserializ...

WCF File Permissions?

I have a WCF web service that I am hosting in IIS (actually running within the Visual Studio web host i.e. Cassini). I have a file that I have to access in the root of the web directory from the service, and am having trouble figuring out the user identity that the service accesses the directory as. I've given permission to ASPNET, NET...

Store Relational database as XML

I have to store relational data (text, numbers and pictures) into an XML file. I want to maintain the relationship between data and the tables structure. How do I go about doing that? My Windows Mobile application use Windows Communication Foundation (WCF) to get data. Once it gets the data it stores them into an XML file. The WCF use...

WCF (Param encryption and .NET 1.1 clients)

Hi all, I'm starting in the WCF world and would like to ask your opinion on something. I need to implement a service exposing one method that receives a couple of parameters. I want the parameters, submitted from a form in the client to the service, to be sent encrypted in the SOAP message. The service needs to be accessed from .NET 3....

ASP.NET Membership - Is authenticated user lost when you call a WebService in the same WebApp

I am using the ASP.NET Login Control for authentication. I have some users and they are able to login successfully. When authenticated I redirect to a page helloworld.aspx. In the Page_Load method I first make a call to Membership.GetUser(). This returns the authenticated user properly. I then make a call to a simple WCF web service...

Using the same DataContract between Services

Hi, I'm writing a few WCF services that expose data being retrieved from the Entity Framework, and in following Domain Driven Design patterns, I've got a repository per aggregate. The concrete example is a collection of questions and answers. There is a QuestionRepository and an AnswerRepository. I'm running into problems when I want...

Silverlight WCF client, sharepoint web services go silent

I've got a silverlight app installed as a web part feature in a sharepoint site collection. Everything works fine in a small development site collection, but in a large collection with many subsites, the app has problems with Sharepoint web services. It hits the sharepoint web services and retrieves data about each subsite, but at some...

WCF Service Security for Authentication and Authorization

Hi! First of all I apologize for my english... As I wrote in title I need to secure my WCF Service. I always used message security mode using ClientCredentialType="Certificate", checking in this way: <serviceCertificate findValue="cn=abc" storeLocation="LocalMachine" storeName="TrustedPeople" x509FindType="FindBySubjectDistinguishedName...

Can I get WCF to run on VS Express

Is it possible to get WCF to run under Express edition? ...

how to cancel WCF service call?

Hi I have a WCF function that is executing long time, so I call the function in UI with backgraundworker... I want to give a feature to cancel the execution, so I abort IComunicationObject, the problem is that Service execution is not stoping, Is there any way to stop Service execution in this case? ...

Configuring and using WCFExtras - WCF/C#/VS2008

I followed this link from another article on StackOverflow: WCFExtras This is my app.config from my WCF Service library. <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation debug="true" /> </system.web> <!-- When deploying the service library project, the content of the config file must be added...

How to use a WSDL file to create a WCF service (not make a call)

Hello all, I have asked this question in another thread : My question I have misunderstood the task, basically I need to create a server based on this WSDL file. How can I achieve this ? Thank you. ...