wcf

Isolated Named Pipes in Terminal Server Sessions

If my application starts, I check first if there is already an instance of the app and if yes, I give focus to the running instance and terminate the newly created process. I make this with a named pipe that is registered through WCF. That works fine so far. Now my app will also be used in a terminal server environment. Is it right that...

How is objects created by configuring the config files (like WCF)

I want to create a framework , which should be configurable through App.config. just like our WCF Host To make it clear I need to only write the 3 line to host the service with the below configuration Type serviceType = typeof(DerivativesCalculatorServiceType); ServiceHost host = new ServiceHost(serviceType)) host.Open(); WCF confi...

All services in an app pool starts timing out when we make call to a one way method of WCF.

We have a one way method in a WCF service which is being called from another WCF service.All these services are hosted in IIS within an app-pool.Every time when we run the end to end and when service1 calls one way method of service 2 every service in that app-pool starts timing out until the service 2 one way method finishes its operati...

How to enable partial loading in Service Trace Viewer for files < 40 mb

I'm currently trying to load a 32MB trace file in the Service Trace Viewer tool, but performance is dreadful. At this pace it will take about half an hour to process. Something that I think should be prevented by partial loading. Microsoft says the following on the matter: You do not need to manually enable partial loading. If the ...

wcf serialize linq results causes massive sql server load

Hello, I am trying to get serialized results from a WCF service from database using linq. The tables in the db are normalized to some extent and I'm returning some other data along with the on that I initially retrieve with a linq query using Data.Linq.DataLoadOptions, just like in Scott Landford's Blog: http://codeexperiment.com/post...

WPF, Clickonce and WCF

Is it possible to deploy with ClickOnce a WPF app that calls one or more WCF services? It is a "normal" WPF app, not an XBAP WPF. Does anyone has an example? ...

WCF REST - Handle / in Get request

How can i pass / character in a rest request ? for example i have products with code like this CAB1/8TO1/8-25 and my rest url is like this "items/{code}" Is there any way of handling this with a GET request? Thanks ...

WCF Service - automated or timed action

Hi, We have a WCF service, hosted on IIS7.5, that has to fetch some data from an external web service. Is there some way to schedule this action to be started, in our WCF service, on a regular (timed) basis? Thanks ...

Adding Client SSL certificate to the WCF binding

Is there way to attach client side SSL file (.pfx) file in WCF binding? I don't want to use certificate store. ...

Should I use a WCF or an ASMX webservice?

Hi I was looking for an asp.net webservice that uses .net 4.0 but everytime I choose 4.0 the webservice choice goes away. Someone suggested to me that maybe they(MS) want you to use WCF instead. I don't know much about it but he said they are like webservices but better. So anyone got a comparisons guide? ...

svc-less wcf service and metadata

Hi, I've tried to create svc-less wcf service. Service works, but no metadata are genereted. How can I return service metadata back? ...

Testing User Controls that utilize a presenter which in turn utilizes wcf services

I have basic WinForm user controls (view) whose intilization includes a presenter and model. The presenter includes calls to a wcf service. Recently an error has croped up that is very trying. Whenever I drag and drop one of these controls onto my design surface I am presented with an error that the endpoint with name "yadda" could ...

Tiling in Google Tile Server (x, y and z parameter)

Hi All I am working on Google Tile Server. I have written one WCF Service (C#) which fetches tile from Google server using http URL :- http://mt1.google.com/vt/lyrs=m@129&amp;hl=en&amp;x=1&amp;y=0&amp;z=1&amp;s=Galileo As you know, Google Tile requires three variable parameters x, y and z in it's URL to provide a tile. Other co-ordin...

High performance wcf

How do I maximize performance for my wcf service? Is it possible to take advantage of multicore? or multi-threading? Thanks!! ...

silverlight custom authentication(posted this question on silverlight.net , but no response)!

hi, i am using silverlight 4 and wcf basic http binding service . i have implemented my own custom authenticatoin ticketing system which also implements sliding expiration i.e if token in x seconds old , it rejects the calls.for that to function properly each operation call needs the token and each sucessful call shall recieve a new to...

WCF Contract Attributes

I am new to WCF so can any one explain what is the use of using the attributes in Srvice contract attributes like: Namespace ConfigurationName Name CallBackContract HasProtectionLevel Session Mode Protection Level Operation contract attributes like: Action ReplyAction AsyncOperation IsOneWay IsTerminating Data contract attribut...

Programmatically specify custom authorization for WCF (NetTcpBinding)

I want to do the same thing as in this link: http://www.codeproject.com/KB/WCF/Custom_Authorization_WCF.aspx But without using configuration files. Can anyone show me how? Edit: I want to implement both AuthorizationPolicy and the CustomValidator. ...

configure wcf bindings on the fly

hay all im trying to configure the wcf app.config file at run time by giving the propertygrid its value and then changing it in the file i cant do the first things and its passing the binding configuration to the propertygrid did any one did it ? ...

TaskKill for killing .NET console application

I have a bunch of console host applications hosting WCF services. I'm calling a .bat file as a pre build step to kill any running host instances so that I don't get WCF channel registrations errors(manually killing the console hosts each time before a build is a royal pain). The .bat file I've created contains the following. taskkill /...

Adobe Air with WCF service

I want to communicate with Adobe Air with a WCF Client. I have created the WCF service. I have Flex Builder 3.0, but how do I communicate the WCF service using Adobe Air? Please guide me. ...