I have a byte array of some binary data that i need to send over the network using WCF and NetTcpBinding. My problem is that i need to send only the part of the array. Is there any way to do this, other than copying that part to a separate array, and sending that one. This extra copying degrades performance, and i would like to avoid it,...
Hi,
I am implementing a WCF client application, and wrapping to a WCF service. My wrapper class looks something like..
Class ServiceWrapper: IServiceCallBack{
// Some service funcions
public void OnSendHeartBeat(HeartBeatInfo info)
{
// this call back is triggered every 3 seconds.. Timeout is 10 seconds
...
Hi.
I want to check client certificates in my WCF service.
My goal is to allow only clients with certificates with specific thumbprints to be able to communicate with my service.
My WCF service is hosted in IIS, I'm using basicHttpBinding and security mode="transport" with credential type "Certificate". IIS requires client certificat...
Hi,
We developped a WCF service and we're looking to deploy it.
Our clients will be using it with basicHttpBinding but our internal team will be using it with namedPipesBinding.
We are wondering if is it better to host it in IIS 7 or with a Windows Service ?
We ran some tests and we found out that when we're adding bindings in IIS, it ...
Hi,
This problem pops around the network for years, I've found no good solution yet.
The topic is passing a List of Objects which have circular reference inside them populated by NHibernate (with or without lazy load - some sites sais it can't be done with lazy)
Here is the example:
[DataContract]
class Person
{
[DataMemeber]
str...
I have a WCF service which can run as Console App and a Windows Service. I have recently copied the console app up to a W2K3 server with the following security settings:
<wsHttpBinding>
<binding name="ServiceBinding_Security" transactionFlow="true" >
<security mode="TransportWithMessageCredential" >
<message clientCredentialType=...
Hi I have a problem with following scenario:
There is a windows service running which spawns several processes. These processes open a WCF service host over a named pipe binding. Now the parent windows service tries to ping (connect) to the child processes using the wcf proxy over the well known named pipe. This, however fails saying: "...
Currently im developing a server for satelite monitoring of objects.
In its current state it is very efficient and stable in hi load scenarios.
Server must be able to handle 50+mln messages per day, or more if load balancing is used.
It consists of gps data gateway(singleton), "databroker"(singleton), which is responsible for persisting ...
I am working on a project that is using NetTcp bindings for talking to some WCF services. When first starting out we took a bad practice example from another application that made WCF calls by using the following:
EntityObject sample = new ServiceProxy().GetEntity();
That worked great until we realized WCF was holding onto the connect...
I'm exploring the possibility of deploying WCF services to a SharePoint Farm/WebApplication/Site/Web via a SharePoint feature without using the SPWebConfigModification class or manually editing web.config. The Gille virtual path fix has already been applied so it doesn't factor into this. The furthest I've been able to get thus far is cr...
I'm creating a WCF service that may be used either locally or remotely, and processes files sometimes using third-party components applications that unfortunately require as input a path to actual file on the filesystem, not a .net Stream or anything like that. Is there a standard approach for this situation, in terms of what the parame...
I've gotten my WCF webservice running with basic self-signed certificates generated by makecert (using some of the many online tutorials on the subject) but have found that there are certain capabilities that we require when generating certificates that makecert does not seem to handle. As such I'm trying to create my certificates using ...
I am building an application that has a WCF service that a WPF and ASP.Net MVC client will connect to.
I want to use the ASP.Net Membership providers for authentication for both the MVC and WPF clients.
What is the best way to go about this? I have read a number of articles on-line (see below) and tried following them through but keep...
I am trying to consume an existing ASMX service using WCF with a BasicHttpBinding. I used SvcUtil to get me started and just extracted the contract definition interface and the config in to my project leaving all default configuration values as generated by SvcUtil. The following is what I have currently:
Contract:
<ServiceContract()> ...
I have a windows service and I'd like my application to be able to call some methods on that service.
I've read that this is possible via exposing the required methods with WCF.
Can someone give me a pointer on how to achieve this? I understand web services and calling them, but WCF and windows services are less my forte.
...
I have written a WCF REST Service as follows
namespace UserService
{
// TODO: Modify the service behavior settings (instancing, concurrency etc) based on the service's requirements. Use ConcurrencyMode.Multiple if your service implementation
// is thread-safe.
// TODO: Please set IncludeExceptionDetailInFaults to false...
I have the the following scenario:
MyWCFProject.dll - this is a WCF service which is hosted in IIS at http://mywebsite/
MyWebProject.dll - this is an MVC project which displays the webpages for the site also hosted by IIS at http://mywebsite/
MySilverlight.xap - a silverlight application.
MyWCFProject.dll has a number of services. ...
I have a class, in which I have a service reference (WCF) to an ASMX web service.
This obviously generates local proxy methods such as
string DoSomething(string someParameter, string someOtherParameter)
I have a method that receives a WCF message class already representing a call to this service, which I simply need to forward
I co...
I created a REST service using WCF. It has 2 operations; one has [WebGet] applied on it and works fine both on localhost and on my production server.
But, the other operation that has the following attribute applied on it works only localhost not on production server. Can anybody tell me what could be wrong here ?
The attribute in ques...
For my projects I need quite often to create windows services.
I need them for scheduling operations, file system watching, asynchronous or long running side tasks (backup files, sending messages, check incoming mail to process, notifications etc).
I also use them to expose WCF services that are cross applications in the enterprise....