WCF on demand protocol switching POC

WCF offers the ABC (address, binding, contract) to development and operations but what about the client? I’ve created a POC to let the client change the Address and Binding used for hosting a service. Source at the end of this post.

abc-switch

The idea is to self-host a management service and start a task for hosting other services on demand. When the ChangeSetup operation is called on the management service the task is stopped and a new task is started for the new Address and Binding setup. The Contract stays the same.

Problems are

  • the solution is not fit for multi-user,
  • incorrect parameters crash the service,
  • security?

Remember this is a Proof Of Concept and not meant for production. Use at your own risk!

Protocol switch POC project

About erictummers

My work as a recruited developer changes almost every month. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Development and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s