Here is how my system is set up:
A web service using ASP.Net web service
The web service has a web method with EnableSession=true
A client which refers to the web service using "Service References" (note: not "Web References")
The app.config of the client has allowCookies=true
On the client side, I have the following code to upload a...
I am relatively new to .Net and C# development and am having an issue decoupling WCF services from an app into a network DLL I am creating. The DLL's goal is to offer a simple way to host and access a service from a server and client application and to add some functionality to the basic service for heartbeat and automatic reconnection w...
I have a windows service that is heavily multithreaded. Each thread calls various methods of WCF Service. After around some time all the calls I do to the WCF Service result in a timeout:
The request channel timed out
attempting to send after 00:10:00.
Increase the timeout value passed to
the call to Request or increase the
S...
Hi,
Imagine the following setup: a Silverlight client tunnels a serialized command over the network using a WCF service which in turn deserializes the command and sends it using NServiceBus to a generic host which is responsible for processing the command. The WCF service has - upon sending the command - registered a callback to be invo...
I'm on the other side of a BizTalk 2009 integration, and I have a fairly simple contract stood up that looks something like this:
[ServiceContract(Name = "ReceiverService", Namespace = "http://services.company.org/")]
public interface IReceiverService : ILoadBalanced
{
[OperationContract]
void FinishedRouting(long applicationId);
[O...
In my application I need to push notifications of real time events from server to clients. The amount of data to pass is very small, mostly and Id. The number of clients listening simultaneously can be around 100 and I may have to publish one notification every 2 - 3 seconds. Both the server and client are built using .Net and WCF.
Giv...
I built a Client class that inherits from the ClientBase class as part of my WCF Client. I am trying to figure out how to ensure that the Connection does not need to be re-established. I did see the CommunicationState enumeration has the stuff I need, along with the ClientBase.State, however I'm not sure how to get it to wait if it's in ...
I have a ASP.NET MVC 2 application with WCF service defined in it (.svc file using service from a different project).
web.config WCF section looks like this:
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="RecordServiceAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
<se...
I've got a WCF service that uses a Global.asax file to activate my services. So, my deployed virtual directory on my deployment box looks like
web.config
global.asax
- which contains Services.dll and Services.pdb
the Services.dll is the compiled bits of my Service.svc and Service.svc.cs files.
How do I get this setup to work in IIS6?...
I am going to develop a WCF service that connects back-end system with two e-commerce websites. Back-end system sits behind the internet as opposed to other components. Each website has a SQL database with identical schema. The back-end system acting as inventory master will be the service consumer and will be pushing product data to eac...
What books/blogs/podcasts etc... discuss patterns and best practices for designing software systems that interact with custom hardware and robotics? I am particularly interested in any books that would discuss strategies for writing a program that has to orchestrate and coordinate actions between several different custom hardware and rob...
In this scenario, we have 2 different applications (admin and client). Both in Silverlight 3, and we have a WCF service (3.5.) The service gets information from the database when the admin app requests is, then, it should update the client application (in a different web browser of course), and the client application should do some opera...
I've attempted the question different ways, check my profile for the other two questions explaining the difficulty I've had with the approaches I've taken to this scenario. I'll skip them here.
I just need an example (C# preferred) of a server calling back to a client (over a nettcp channel), the client calculates an answer, and return...
Given that directly exposing linq to sql or entity framework classes over web services is a bad idea, how should I expose the data over a web service such as WCF?
It seems like I would have to create a parallel set of classes for the web service, and then marshal the data into those, which doesn't seem very elegant.
The web services wi...
I've got some somewhat old school web services that I need to talk to. They are somewhat REST-like, in that they are called with regular GET and POST HTTP requests, and return WDDX-formatted data in the response body.
The consumer code in this instance is .NET. Ideally, I'd like to use WCF to take advantage of all of its magic. The stic...
I'm running a webbrowser form inside an asp.net WCF web service. I'm creating a second thread for the webbrowser form and then creating a third thread to run the message loop for the form. My problem is that I can't figure out how to stop the third thread and dispose of the webbrowser form. Without stopping the third thread then the seco...
i want to use wshttpbinding (with ssl and without ssl) in single service but it not works,,anybody had implemented ittt,,,so please guide how can i achieve that????
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="CommonBehaviour">
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
<servi...
I have a WCF which return a collection of a class.
When i consume it on .net application generally i make a deep copy of server return collection to local collection.
Now I want to consume it in java application so how it will work.
...
I've a WCF Service on both servers IIS7/ISA/Win2008 and IIS6/Apache Reverse-Proxy/Win2003.
And a client app that downloads and uploads files (approx. 10MB).
When downloading there are no problems. But if I upload a file on some client machines a
have a strange problem. They have all DSL 5 or 6mbps bandwidth. On some client machines the ...
Hi,
I'm working on custom WCF authentication and authorization and found some articles about UserNamePasswordValidator and ServiceAuthorizationManager.
I also found clues about using a custom System.ServiceModel.ServiceAuthenticationManager ( http://www.netframeworkdev.com/windows-communication-foundation/custom-serviceauthenticationma...