wcf

What does ABC in WCF stand for?

What does ABC in WCF stand for? ...

Exception in WCF client

i have using WCF service in my code that the client(WindowsFormsApplication1) capturing desktop view and send it to Server .. After that the Server will send the images to Masterclient(windowsformsApplication2).Its working... but few minutes i got the exception from clientSide as object reference is not to set an instance of an object Ho...

Error calling a WCF REST service using JSON. length quota (8192) exceeded

I’m having a WCF REST service hosted in IIS using .NET 4 RC. The POST calls to the service are serialized using JSON. Everything works fine until the size of one of the DataMember (string) is longer than 8K. In this case I receive the error described below indicating the MaxStringContentLength has been exceeded. The maxStringContentLengt...

List the UriTemplate of WCF operation contracts?

Does anyone know a way of listing the UriTemplate's of the various operation contracts in WCF? What I want to do is to somehow at IntegrationTesting spin up a selfhosted service and loop through all the operation contracts and print the UriTemplates if at all possible. ...

Manually editing BizTalk wcf-adapter schema

I am new to generating schemas in the way I am doing it now (Manually) and sort of need some help here please. I have a schema, as below, that I am not sure is even correct. What I want is a Customer record that can contain more than one Address record. What I have below does not seem correct, or is it? I am referring in particular to wh...

Log4Net out of a IIS Hosted WCF Service

Good day folks I must have read about 20 different articles/approaches about how to implement log4net in ASP.NET 1.0 / 2.0 and various other application types. Link #1 Link #2 Link #3 Well, above articles are all ok, i did try/follow all of them, but i never got a log file.. What i have: IIS Hosted WCF Service. What i want: L...

WCF Access to path denied

I'm using an ASP.NET to call my WCF service. in my service, I access a file but I get this exception : FaultException '1 was not handled by user code : Access to the path 'C:\Users\attilah\Documents\Visual Studio 2008\Projects\at\att\UploaderTemp\attilah\file1.pdf' is denied. ...

Biztalk Composite Operations Service

I need to consume a Biztalk service that contains some composite operations. Essentially, one of my entities is in the form <?xml version="1.0" encoding="utf-16"?> <xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://HRMApplication.Schemas.Customer" targetNamespace="http://HRMApplication.Schemas.Customer" xmlns:...

WCF uses TCPTransport CustomBinding but servicesecuritycontext.current is null

I'm trying to configure my WCF host to use TCP with MtomMessageEncoding , I cannot use netTcpBinding cause it uses binary encoding - the problem is that i want to use the servicesecuritycontext.current.WindowsIdentity in the server side but the servicesecuritycontext.current i tried several security options but nothing works... I am loo...

How to implement long lived network connection in dotnet

The idea is to have a windows service, that clients can connect to (tcp, wcf, remoting), and when the data changes in the windows service, send the changes to the clients. An example of this would be a stock pricing server, and when the price changes for instruments, send the changes to the client. Wcf does have streaming, but is that ...

Make Yahoo UI autocomplete work with WCF REST webservice

Hi, I need to implement autocomplete functionality using Yahoo UI autocomplete (http://developer.yahoo.com/yui/autocomplete/). The datasource for this autocomplete feature is a WCF REST service. Can anyone post sample code for this scenario. Thanks ...

Background threads in Silverlight

How can i kick off a background thread immediately in Silverlight? I am executing some code on the UI thread, then I create the background thread and start it. But it seems that no matter what method i try, the background thread will only start actually executing when the UI is doing nothing (much like what happens with async WCF calls,...

Asp .net web app hosted on IIS 7.0 will not use self signed client certificate for certificate authentication for a wcf service?

I have a wcf service hosted on a remote machine (IIS 7.0, Windows Server 2008) and an asp .net web application hosted on my local machine (IIS 7.0, Vista Ultimate 32bit).The wcf service uses a certificate authentication based on a self-signed certificate for development. When I try to connect to the service with my client asp .net appli...

What does the term "pending dispatch" means?

According to MSDN , the "MaxConnections" parameter means: The NetTcpBinding.MaxConnections property controls the maximum number of connections to be pooled for subsequent reuse on the client and the maximum number of connections allowed to be pending dispatch on the server. what does the term "Pending Dispatch" mean? ...

Question on the "ListenBackLog" parameter in WCF netTcpBinding.

According to msdn this parameter means: controls the maximum number of queued connection requests that can be pending for a Web service. Does this parameter have any influence when used in a autogenerated WCF client proxy. (the one that created with svcutil....) ...

WCF RESTful Services Using Interface with Generics

I have an interface similar to this: [ServiceContract] public interface IBaseService<T> { [OperationContract] [WebInvoke(Method = "GET", BodyStyle = WebMessageBodyStyle.Bare, ResponseFormat = WebMessageFormat.Json)] List<T> LoadById(string value); [OperationContract] [WebInvoke(Method = "GET", BodyStyle = WebMessage...

Can I use a WCF RESTful service from Silverlight?

I have a WCF RESTful service using the WebHttpBinding and I want to know if I can use this in Silverlight 3 without any modifications? ...

WCF service with msmq binding and closeTimeout?

I am working to speed up a large number of integration tests in our environment. The problem I am facing right now is that during teardown between tests one WCF service using msmq binding takes about 1 minute to close down. I the teardown process we loop over our servicehosts calling the Close() method with a very short timeout, overri...

Webservice wcf performance counters for queue

Hi, Am trying to performance test a wcf webservice which should get a lot of traffic. Which performance counters are sensible to use and for which purpose..Naturally I am looking at CPU and RAM, but I would like to know when IIS is queing and when its having trouble... Any advice on sensible performance counters gratefully received... ...

Lightest http host for server-side C# code.

I currently have a prototype web service hooked up to a single .aspx page under IIS. Calls to the server-side logic are made through an http mywebengine.aspx POST interface with common Post parameters for all server functions. No html is shipped from the web service, instead JSON data structures pass in and out on each call. The web ser...