WCF Service Application

In visual studio 2008, I am practicing hosting a WCF Service in different environments such as a Console Application, and WCF Service Application (Using Visual Studio Development Server) .

I do the following: Set my Client program and a Console Application( which host the WCF Service) as Start up Projects for my Solution. The action I place on the WCF Service Application (Using Visual Studio Development Server)  is set to None.

 However, the WCF Service Application (Using Visual Studio Development Server) starts up anyway. I am not using it to host my WCF Service but now I am using my Console application to host the WCF Service. So I am not using it.
So Why does the WCF Service Application (Using Visual Studio Development Server) start up anyway. I had to unload the  WCF Service Application  project to prevent it from running.
Lawrence AverySystem DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
That is a great question.  I will assume that the solution start up is a single project, and not multiple projects...
0
Lawrence AverySystem DeveloperAuthor Commented:
I found the answer which was really stupid of me. In the WCF Project properties window there is a WCF Options tab. When you click on WCF Option, the property contains a check box to select
Start WCF Service Host when debugging another project in the same solution.

So all you have to do is uncheck it to prevent the WCF Service Host from starting.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lawrence AverySystem DeveloperAuthor Commented:
Well my comment above is the solution to the issue of a WCF Project always starting for no reason.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.