Questions tagged [wcf-hosting]

84 questions
0
votes
1 answer

Error while consuming one WCF Service (hosted on Windows Service) from another WCF Service (self hosted)

I am hosting a WCF service on Windows Service (let's call it WCF B) and then trying to consume it from another WCF service (which is self hosted) (let's call it WCF A). I am able to add service reference perfectly, end points are getting auto…
Wasif Subzwari
  • 199
  • 3
  • 13
0
votes
1 answer

WCF - Launch Self Host Application on-demand

I am working on a project requiring communication between the Presentation layer (MVVM based client) and the Business layer. The application is to be installed on a single machine, and as such could have been executed using a .net remoting based…
0
votes
2 answers

Why to keep WCF Implementation and ServiceHost separately?

What is the benefit to keep the WCF project having - WEB HOST PROJECT and Service Implementaiton project separately. Service contract library Service implementation library Service Host project I understand Contract and Implementaiton to keep…
user3711357
  • 1,425
  • 7
  • 32
  • 54
0
votes
1 answer

WCF Service in Console app throwing error

BasicHttp and NetTcp Binding hosted in Console App I have the below web.config file
Ramu
  • 343
  • 1
  • 6
  • 21
0
votes
2 answers

How to use a wcf console application on server?

I've made a basic wcf console app service that communicates over pipes.net. The logic works with my main application, but I need to keep it seperate for business reasons It does one of these Uri baseAddress = new…
monkeyhouse
  • 2,875
  • 3
  • 27
  • 42
0
votes
1 answer

Hosting Microsoft.ServiceModel.WebSockets.WebSocketService

I was reading this article about WCF Websockets, and there is a nice example of a WebSocket service using Microsoft.ServiceModel.WebSockets.WebSocketService, that looks perfect for a thing I want to do, clean and simple. First of all, I have found…
vtortola
  • 34,709
  • 29
  • 161
  • 263
0
votes
1 answer

Host WCF service application on IIS

I have created this service: http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/four-steps-to-create-first-wcf-service-for-beginners/ and now I want to host that service on IIS. The solutions I came across are creating service library and then…
DharaPPatel
  • 12,035
  • 9
  • 31
  • 49
0
votes
0 answers

Error Hosting WCF Service in Windows Server 2008 R2

I have developed a WCF service,which uses Microsoft Sync Framework 2.1. When i test the service in Windows 7 works fine, but when i host the same service in Windows Server 2008 R2 64-bit, it gives below given error. The type…
0
votes
0 answers

WCF Service Library app.config file

It is my understanding that when you deploy a service library the app.config not required as the host does not acquire nor use this file and instead uses its own app.config file! Hence why you have to put the database connection string in the hosts…
Sam
  • 586
  • 1
  • 6
  • 25
0
votes
1 answer

Hosting WCF services on port 5000. Connecting from another PC

Basically, I have a finished program that connects to a Console application which hosts multiple services . What I need to do is have my clients on one PC , and my host on another hosting all the services. However I'm not sure how that would…
Rhys Drury
  • 305
  • 2
  • 20
0
votes
1 answer

accesing WCF service through localhos works but through my public ip it doesnt

I have a self hosted WCF project, I accomplished to get it work when i enter: http://localhost:8000/Service/Method but when i try to replace localhost with my public ip and access the service through a different computer it doesn't work. I opened…
Bob Yaris
  • 19
  • 1
  • 6
0
votes
1 answer

WCF Design Approach For Self-Hosted Service

I'm looking to have a WCF service that is self-hosted (No IIS!) Because I want to handle the data directly between to projects and not use a DB. Basicly what i need is a service that is listening to lets say:…
Bob Yaris
  • 19
  • 1
  • 6
0
votes
1 answer

WCF hosting -- WAS vs IIS7

IIS7 is based on WAS, but Is there any differences between hosting in WAS and hosting on IIS7? Is there a limitation in using IIS7 or advantage in using WAS?
Costa
  • 3,897
  • 13
  • 48
  • 81
0
votes
2 answers

How to host WCF service in console apps

i am learning wcf. so i create wcf project and that has one class. code as follows namespace TestWcfService1 { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in code, svc and config file…
Thomas
  • 33,544
  • 126
  • 357
  • 626
0
votes
0 answers

Update OperationContracts of WCF hosted in a windows service

I had a WCF hosted in a windows service. It worked fine. But I recently added a new web method to the WCF. But when I host the wcf in the same windows service, I can't access the newly added web methods, wsdl don't show newly added methods. Any…
wattale
  • 93
  • 11