From a little bit of reading around, it is my understanding that the only way to detect that a client has connected to my service is through writing my own code. I am using a Singleton service. I would like to display a message every time a client connects to my service that client x with ip xxx has connected. There is no built-in event ...
Im new to the IoC/DI concept.. I have a good MEF demo which shows how you can make a program that accepts .DLLs that implement a certain interface and so you can have different filters on a picture
http://www.wintellect.com/CS/blogs/jprosise/archive/2010/01/04/silverlight-4-s-new-managed-extensibility-framework.aspx
So my case is a WC...
This is how the service in asp.net looks like:
[ServiceContract(Namespace = "http://www.pluralsight.com/ws/")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class WeatherService
{
static Random _rand = new Random();
[OperationContract]
public string GetForecast...
I have written a WCF Service to upload a file. So far i am able to upload a file size of 300MB. When i tried further i am receiving an error mentioning
"The underlying connection was closed: The connection was closed unexpectedly."
I have increased the buffer size to 2GB in WCF service as well the client DLL[Uisng Channel factory] . A...
Hi,
I have deployed a few WCF services to a server via a web setup project
they are being hosted in an IIS Application, which appears to be running fine.
However when i try to navigate to the wsdl, nothing is found.
I am trying to set up diagnostics logging, to get some information.
I have followed the advice from here: http://stacko...
Hi,
I have WCF service that uses wsHttpBinding and authentication with certificate.
I run this service on multiple machines and my firewall routes the request to the different servers.
The problem is when the client open proxy and works with one server and on the next call the firewall routes the request to another server I get an exc...
I have developed one view in Silverlight and currently using WCF services to take data (around 10 MB) from Server to Silverlight view. Even though there is no processing at server side and server is taking less than 1 sec from request recieve to response return but I am getting response in Silverlight after 50 sec. I have deployed WCF se...
I have a Windows Service that performs a number of periodic activities, and I want to change the settings of this service from a Windows Forms app. I'm not sure, though, about the best way to make sure the service has the most updated user preferences in it (how often to run, what folders to use for things, whatever else the user can spe...
I am hosting several endpoints under same service host, which implement same service contract. I need to start different business layer based on the endpoint name, so is there a way I get endpoint name inside my service implementation constructor? Basically, as a service I need to know which endpoint I was started under.
...
Hi,
I'm looking for a way to expose a subset of my existing business layer (which is based on LinqToSql) via WCF Data Services so that
The Data Service can still be consumed (read AND write) by older odata clients as my business layer evolves over time. It seems that the only way to guarantee this is by making sure the data service do...
Hi all,
Details about my service:
A file upload service
Transfermode is set to stream
Service is hosted in IIS 7.
I need to provide secuirty to my service. I have tried with ntlm and windows secuirty.I was getting the following error when i am trying to secure my service
"HTTP request streaming cannot be used in conjunction with H...
Hi all,
I need to enable the security for my service using basichttpbinding with the authentication mode set to "Certificate" .
So far i have used the default windows certificate for my service by mentioning it on IIS and made the url to "https"
What are all the procedures/steps to enable the certificate authentication for basichttpbi...
Hey,
I put my NHibernate data access class in WCF service to can consume it by Silverlight project, but I have error and want to test my queries.
It is possible to test this queries in service class using NUnit ? Earlier I test normally this class but how do it when it is in service class ??
It's my WCF service class:
using System;
us...
Hey,
I try to consume WCF service in Silverlight project but in ass Reference dialog windows i can't unchecked "Generate asynchronous operations" :/
Why I can't use non asynchronous in SL? When I add service reference to Console App I can unchecked it.
I need non asynchronous, cause in Console consume works ok, but in SL app I have erro...
I have error in Silverlight app:
An exception occurred during the operation, making the result invalid.
Check InnerException for exception details.
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at SecretaryAppNav.ServiceReference1.GetChildByFirstnameCompletedEventArgs.get_Result()
...
I have a situation where I need to pass a list of objects to my service. The objects have to be of type ELEMENT. I have my Element interface defined like so
public interface IElement{ }
Then I have my DataContracts inheriting this IElement class Like so . . . .
[KnownType(typeof(Common.IElement))]
[DataContract]
public abstract ...
I have one URL "http://mt0.google.com/vt/lyrs=m@129&hl=en&x=11728&y=7595&z=14&s=Galileo" used to fetch Google Tiles from Internet. If I use this Google Tile URL from browser (any), I successfully get the Google Tiles (Map). But the problem is, if I try to access this URL programmaticaly, I get an Error: HTTP 403 Forbi...
I created a WCF service that works beautifully on my dev box, but when I move the code over to the web server, it gives me the following error:
There was no channel actively
listening at
'http://live01.farm02.webhost.com/webservice/service.svc'. This is often caused by an incorrect
address URI. Ensure that the address
to whic...
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?
...
Hi,
I've tried to create svc-less wcf service. Service works, but no metadata are genereted.
How can I return service metadata back?
...