Adventures in WCF (Windows Communication Foundation)

My latest project at work has me working with WCF for the first time and it has been an interesting experience. Over the next few weeks, I will be discussing configuration, debugging, and deployment of the WCF service and connecting to it.

This doesn’t work (still looking into why) for WCF services, even when hosted on IIS. A good work around is to wrap each service method with a try…catch block and calling the exception logger in the catch block.

Unit tests are especially helpful (aren’t they always?) in the development of your WCF services as messages from errror and exceptions can (and will) be hidden by subsequent errors. An invalid parameter to a stored procedure call can result in a high level System.ServiceModel.CommunicationObjectFaultedException.

You can provide am id attribute to the and update the link to the page with #{id}. foo And update the link to the page with the focused element to http://www.example.com/mypage#focus If you have a link on the same page (on a navigation section, for example) you can just use foo to jump to the […]

It looks like their /shareArticle endpoint ignores query string parameters. The official share url for the video you YouTube is https://youtu.be/4wDVzjn9s9E and https://www.linkedin.com/sharing/share-offsite/?url=https://youtu.be/4wDVzjn9s9E seems to achieve what you're trying to do.

What you're asking about is polymorphism. In your scenario, you can achieve this by providing a default implementation in your abstract class (as a virtual method) and them allowing each sub-class to provide their own implementation by overriding the method. In SpaceshipController, change protected void updateSpaceshipMovement() to protected virtual void updateSpaceshipMovement(). This is telling the […]