Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off the WCF service host in Visual studio [duplicate]

Possible Duplicate:
How to Prevent Visual Studio launch WcfSvcHost.exe in Debuggin?

When I debug a solution with a WCF service library, VS 2008 starts the WCF Service host by default. Is there a way to turn this off so that I can use my own managed Windows service host?

like image 516
Dusty Avatar asked Mar 20 '11 01:03

Dusty


People also ask

What are 3 basic WCF configuration required for hosting a WCF service?

There are three types of hosting environments for WCF services: IIS, WAS, and self-hosting. The term “self-hosting” refers to any application that provides its own code to initialize the hosting environment. This includes console, Windows Forms, WPF, and managed Windows services.

What is ServiceHost in WCF?

Implements the host used by the Windows Communication Foundation (WCF) service model programming model. Use the ServiceHost class to configure and expose a service for use by client applications when you are not using Internet Information Services (IIS) or Windows Activation Services (WAS) to expose a service.

Where is WcfTestClient EXE located?

You can typically find the WCF Test Client (WcfTestClient.exe) in the following location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE - Community may be one of "Enterprise", "Professional" or "Community" depending on which level of Visual Studio is installed.

How do I add WCF to Visual Studio?

Choose Install more tools and features to open Visual Studio Installer. Choose the Individual components tab, scroll down to Development activities, and then select Windows Communication Foundation. Click Modify. On the Configure your new project page, click Create.


1 Answers

Just unchek checkbox "Start WCF Service Host when debugging another project in the same solution" in WCF options in project settings

like image 137
Polaris Avatar answered Oct 06 '22 15:10

Polaris