Questions tagged [wcf-hosting]

84 questions
7
votes
3 answers

Can I automatically host all services in app.config when using SelfHosting?

I'm writing an application which needs to host several WCF services. One of the strengths of WCF is the ability to configure services without having to recompile, by specifying settings in the app.config file. When self-hosting, there does not…
Travis
  • 2,654
  • 4
  • 26
  • 46
6
votes
1 answer

Different Types of Hosting WCF application and there advantages

There are different types of Hosting can be done. windows process activation services (WAS) IIS Self hosting Hosting in a Windows service is there advantage of using one over another? which one is preferable?
Rahul Rajput
  • 1,427
  • 3
  • 17
  • 38
5
votes
3 answers

wcf : Service + Client in same solution, how to debug? I don't want to run 2 versions of VS 2010 at the same time

I have created an application which has a client (WPF) and the Server (WCF), the service is IIS hosted, currently I am having to have 2 versions of vs 2010. One loads the wcf service in IIS and the other in my windows application. The problem with…
Martin
  • 23,844
  • 55
  • 201
  • 327
4
votes
1 answer

Hosting a WCF Service

So i am new to WCF Services and I need to create a dulplex service (working on it) however I cannot figure out where/how to host it (external). Right now I am using http://aspspider.com for my hosting, which works fine, but i am having trouble…
Lost
  • 65
  • 1
  • 6
4
votes
1 answer

how to host wcf service?

I develop some WCF service on own computer (in office). Now, I have to publish it on office server. Office server is Windows Server 2008 R2 (IIS7). What should I do, to access my service on some address? like 192.168.1.99:5555?
Lari13
  • 1,850
  • 10
  • 28
  • 55
4
votes
2 answers

The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via for HTTPS

Following is the scenario. We have F5 load balancer and incoming requests comes in to the F5 load balancer as HTTPs and then they are redirected to WCF services server as HTTP. I have tried almost all possible configuration combinations but it…
3
votes
2 answers

Async REST Services using WCF WebApi

I want to know what is the opinion of you fellow Developers regarding WCF WebApi services. In an N-tier application we can have multiple layers of services. We can have services consuming data from external services. In that scenario its worth to…
coddey
  • 390
  • 2
  • 13
3
votes
0 answers

What is usage of wcf self hosting in real world

What is real example of wcf self hosting in practice and when should I use it? please bring a real example. Thanks a lot
3
votes
4 answers

Hosting and Consuming WCF Service from Same Process

Can you become a client of a WCF Service from with the Process that is hosting the WCF Service? I have tried creating seperate App Domains within the same process and still no success. The service is confirmed to be available on Http, Net.TCP and…
user238349
3
votes
3 answers

Programmatically configure and host WCF Service in IIS

How can i programmatically configure and host WCF Service in IIS. I have created my WCF service example /WCFServices/Service1.svc". I want to programmatically configure and host this service in IIS. Can anyone help me on this?
senthil kumar
  • 151
  • 1
  • 2
  • 9
3
votes
1 answer

Hosting WCF Console Application in IIS 7

I have a WCF Console Application with the following app.config file
Frank Q.
  • 6,001
  • 11
  • 47
  • 62
3
votes
1 answer

How to host multiple WCF services in a single console host?

I have two WCF services in two separate DLL files. I want to host those in a single self-hosted project (console host). I am trying to do this with following code, but I am getting this exception: The type initializer for …
Hasanuzzaman
  • 1,822
  • 5
  • 36
  • 54
3
votes
1 answer

Consuming wcf service with windows process?

I need initialize some structure in wcf service class as soon as possible after start of hosting service. Now I host it in WinForms application and there I initialize this static structure. ServiceHost host = new... host.Open()... new…
Saint
  • 5,397
  • 22
  • 63
  • 107
3
votes
1 answer

Easiness of changing hosting of WCF from Self-hosting to Windows Service Hosting

I am currently working on a project that should be implemented as a WCF service (of course with a client application as well). The project also needs to use Entity Framework (Code-First approach) as the ORM layer between the service and the…
Saher Ahwal
  • 9,015
  • 32
  • 84
  • 152
2
votes
1 answer

Programmatic TFS 2010 Event registration + error HTTP code 415: Cannot process the message because the content

i want to use tfs event registration for reading out the BuildQualityChanged and the WorkItemChanged event. It was working some month before, now i get the following error while getting the event xml: HTTP code 415: Cannot process the message…
Michael Baarz
  • 406
  • 5
  • 17
1
2 3 4 5 6