Kottan
Kottan

Reputation:

Deactivation of a WCF service

I some WCF services, which are hosted via WAS (and IIS 7). Is it possible to deactivate some selected services without uninstalling or removing them ?

Upvotes: 0

Views: 82

Answers (1)

marc_s
marc_s

Reputation: 755491

Just remove them (their endpoints) from your web.config.

If you don't expose any endpoints, no one can connect to your service.

Marc

Upvotes: 1

Related Questions