servicehost Questions
19
I am developing a simple wcf service for test. When I test this service with my local IIS 7.5, then it works properly. But when I host it in web IIS, I receive this error:
The type 'WcfServiceL...
Dirichlet asked 12/3, 2011 at 16:57
4
Solved
I have a WCF Service contract which is basically the Publish Subscriber pattern.
The WCF Service is hosted inside the Windows Service that I want to publish from. The Clients subscribe to messages...
Spell asked 20/5, 2011 at 9:40
2
Solved
I have got a MyServiceBase class which inherits from ServiceBase. Inside MyService I Have got a ServiceHost for my WCF-service, whic has only one method with IsOneWay=true property. I used this cod...
Jamey asked 10/12, 2012 at 10:48
2
Solved
I'm trying to create a service host for my WCF application. When I start the app I get an error saying
The service cannot be started. This service has no endpoint defined.
Please add at least o...
Sweeny asked 7/6, 2013 at 17:29
1
Solved
My application runs as a Windows service. It dynamically creates WCF services using the following helper method:
public static void StartWebService(string webServiceName, Type serviceContractType...
Interrupter asked 23/4, 2015 at 13:50
1
Solved
My objective is to implement an asynchronous self hosted WCF service which will run all requests in a single thread and make full use of the new C# 5 async features.
My server will be a Console ap...
Nagpur asked 13/6, 2013 at 5:49
1
Solved
I am doing the following
//Define the service host
this._smeediPluginServiceHost = new ServiceHost(typeof(SmeediServiceHost), smeediServiceUri);
this._smeediPluginServiceHost.AddServiceEndpoint...
Cerebration asked 8/1, 2013 at 0:8
3
Solved
ServiceHost.Open() is throwing this error:
HTTP could not register URL http://+:8001/. Your process does not have
access rights to this namespace (see
http://go.microsoft.com/fwlink/?LinkId=70...
Headless asked 28/5, 2010 at 9:3
1
I've written a WCF duplex service and client. Everything works well until I try to call .Demand() in the client implementation. It appears that the the service invokes the callback method Anonymous...
Gynophore asked 18/2, 2009 at 15:2
1
Solved
In my server side console program, multiple ServiceHost objects are created and working in PerSession mode, not singleton.
Therefore, a new server side object will be created when a new session sta...
Arvizu asked 8/11, 2012 at 17:42
1
Solved
Apparently Close and Dispose are effectively the same. I want to be able to Close and Open my ServiceHost instance without having to reinstantiate it everytime. Any ideas? Thanks.
Souffle asked 10/2, 2011 at 23:58
2
I currently maintain an internal application in .Net. The application uses IPC to maintain one running session at a time; if another session attempt to open (Someone clicks the icon again, some ope...
Woodshed asked 18/6, 2010 at 17:50
3
Solved
I'm trying to configure some WCF stuff. Currently, I have a server which allows remote users to download files, and client.
In the server, I use a ServiceHost class. I assume it should be running o...
Hayman asked 1/6, 2010 at 11:53
1
Solved
I'm thinking of self-hosting my WCF service instead of using IIS. A big question for me is whether I need to instantiate multiple servicehosts as IIS does or one wil be enough.
Do muptiple servic...
Sabra asked 25/1, 2010 at 11:10
2
Solved
As I'm currently learning to use WCF Services, I am constantly encountering tutorials on the internet which mention using a ServiceHost when using a WCF Service.
What exactly is this ServiceHost ...
Macedonian asked 3/5, 2009 at 3:9
1
Solved
I'm new to WCF and trying to get my first service running. I'm close but stuck on this problem.
In my interface definition file, I have this:
[ServiceContract(Namespace="http://mysite.com/wcfserv...
Valenza asked 26/2, 2009 at 21:50
1
© 2022 - 2024 — McMap. All rights reserved.