wcf

How to secure a WCF service to be consumed by a specific application only?

Hi folks, I have a specific Silverlight application, that is fed with data by a WCF-Service. I want to make sure, that the WCF-Service is only called by that specific Silverlight App. What is the best way to accomplish that and what do I have to do? It doesn't have to be a high security solution. Thanks in advance, Frank ...

WCF Windows service permissions problem

I have created a WCF service and hosted it using Windows Services host. To install the project I created an installation project (as described here). In the tutorial, it says to define in the ProjectInstaller.cs the serviceProcessInstaller1 Account property to be Network Service. When using this setting the service did not started on th...

WCF Service Security Exception caused when trying to access data via LINQ to SQL

Hello, I'm currently in the beginning of learning WCF, as some of the concepts and the functionality they provide look interesting and also useful in a project I'm undertaking. So far I've been following some pretty simple guides to get the hang of it but after creating my first host service I've come a bit unstuck, after trying to ret...

Can't get FormsAuthentication to properly work with WCF

I have both the wcf and asp.net project together in the same project. (I'm running on Azure, so this is more convenient). I have this set in the web.config: <system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> </system.serviceModel> My wcf service is decorated with: [AspNetCompatibilityRequireme...

Strategy for WCF server with .Net clients and Android clients?

I am using WCF to write a server that should be able to communicate with .Net clients, Android clients and possibly other types of clients. The main type of client is a desktop application that will be written in .Net. This client will usually be on the same intranet as the server. It will make an initial call to the server to get the ...

get Generic CRUD operation in EF

Hello, Is there any way or design pattern can I use to get Generic CRUD operations? Because I’m working on n-tire application using EF in the data layer and I don’t want to use CRUD Functions in Every Entities. Your help would be appreciated ...

In WCF, does a timeout fault the channel?

In WCF, does a timeout on a request-response operation fault the channel at the client's end? If a server times out when sending a response, is the channel faulted at the server's end? ...

WCF wsHttpBinding "There was no channel that could accept the message with action"

[Update] Solved the Problem by generating a new web.config. Possible error was the second endpoint ("mex"). [Update/] I have a webservice in IIS. I'm trying to call a function but i get an errormessage like: There was no channel that could accept the message with action 'http://Datenlotsen.Cyquest/ICyquestService/ValidateSelfAssessmen...

WCF, Rampart, ADFS2 and SAML Interop issue

Hi, I'm working on establishing interoperability between .NET WCF 3.5 and Axis2/Rampart using ADFS2 as the STS and using SAML authentication. Initially I used Axis 1.4.1/Rampart 1.4 but in an attempt to rule out issues relating to WS-* standards compatbility have also created a duplicate environment running Axis 1.5.1/Rampart 1.5. Both...

Constraints when using WCF for an online multiplayer game

I want to build a service oriented game server and client using WCF where users can play card games on different tables after they logged in with an account. I would like to choose WCF due to it's flexibility in exchanging the communication channels. Maybe, a web interface will be added later which can then just use an other channel cla...

How can I translate my programmatic WCF configuration into app.config

Hi, I have an self hosted WCF server with hard coded configurations. the server worked fine until I tried to implement some new configurations functionality (changed ports, added ssl) the new config setting did not work (urrr.... ) and I find it hard to locate where are the problems in my code. instead of digging inside the code tha...

dnscmd remote call from ASP.Net (Impersonation, delegation and all this funny stuff)

Hi! I've always suposed that I was facing a permission problem, but I'm not sure now. We are trying to manage our Microsoft DNS Server via ASP.NET in different servers with the "dos" command "dnscmd". How? It may seem easy with: System.Diagnostics.Process runner = new System.Diagnostics.Process(); runner.StartInfo.UseShellExecute = fa...

Service behavior not being applied correctly

I have a custom behavior for a service where I want to specify a receive timeout value, I have created a behavior and on the build service header. I use the declarative attribute to apply the behavior or as I thought. But the behavior seems to make no difference, i.e. the set timeout value is not being applied as expected. The same beh...

wcf services or RIA services

Hi, We are in the middle of the development cycle of our new product. When we designed it about a year ago, we chose WCF Services->Silverlight combination. Some of those WCF services are also consumed by WPF, Win Forms and third party Java clients. I have been reading about RIA Services lately. My questions are What are the advantag...

How do I create Client-Server relationship on Intranet with WCF?

I am attempting to generate a proxy for a client to call a service with WCF. I have been successful in creating the Client/Server relationship on the localhost, but can't seem to get things working while running the Server app on a second computer within my home intranet. I understand that the base address to the service needs to be su...

WCF "The server did not provide a meaningful reply"

I am out of ideas here, so I'm hoping someone can help. Here is what I've got: A WCF service that only has a basicHttpBinding endpoint. There is only a service interface, all other [DataMember], [FaultContract] are concrete types. When I run it straight from Visual Studio (using WCF Test Client or my custom app) everything works (I se...

Doing a POST to a Service Operation in ADO.NET data services

Is it possible to POST to a service operation defined in an ADO.NET data service (it is decorated with WebInvoke)? I had no problem calling the service operation as an HTTP GET. However, when I switched to doing a POST, the stack trace consistently comes back with "Parameter cannot be NULL". I am using the jQuery syntax below, and send...

Client server architecture question

I am working on a client server system, and am running into issues where multiple clients are executing an action at the same time. We are able to solve this by locking on the critical section of code, which ensures that the first client will complete the action before the second client enters the code block. My question is this: our se...

.Net 4.0, named and optional parameters, and WCF

so .Net 4 added named and optional params which are pretty sweet..I don't need to make as many 1 line overload methods. Will that work over WCF? ...

WCF: SecurityNegotiationException when using client

So I've been trying to set up certificate authentication for my clients and services. The eventual goal is to partition data based on the certificate a client connects with (i.e. the certificate becomes their credentials in to the greater system and their data is partitioned based on these credentials). I have been able to set it up suc...