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

Unknown's avatar

About erictummers

Working in a DevOps team is the best thing that happened to me. 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 comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.