Automapper is a convention-based, object-to-object mapping utility which is open-source and hosted on codeplex. In a two-part series I’m going to show how Automapper can be used not only to map objects to each other but also as an Object-Relational Mapper for mapping results pulled from a database into objects. Part 2 is about using […]Read more "Using Automapper (Part 1)"
Typically Silverlight apps are hosted in IIS or on some other web server. Getting a website setup can be a tedious process and constantly deploying can be annoying especially if the service is not an integral one to the functionality of an application. A WCF Rest service is an easy way to test Silverlight applications […]Read more "Hosting Silverlight Application in a WCF Rest Service"
Logging is an essential function of an application to help debug issues that occur on a production system when you don’t have access to a debugger. It is also helpful to keep track of what’s happening as it runs during testing, as a confirmation that the events and actions you expect to happen are happening. […]Read more "Enterprise Library Logging"
Last time I provided a sample implementation of a PollingDuplexBinding service that could publish messages. Note that as with the server side, a reference must be added to System.ServiceModel.PollingDuplex assembly. I’m now going to give the client side implementation to show how to consume the service. In the previous post I showed the callback interface. […]Read more "PollingDuplexBinding Sample Implementation Part 2"
Part 2 of post, the client implementation. I’ve been playing around with PollingDuplexBinding a bit lately. The application that I’m building communicates with a number of external web services from partners of the organization I work for. The partner companies require a good deal of configuration in order to enable and authenticate the services and […]Read more "PollingDuplexBinding Sample Implementation"
I’ve been running into some strange errors originating in Automapper over the past few months but I believe I’ve found the cause and a workaround. The strange part is that the errors only occur when my application is running in production. Running the app on my local dev box and there are no errors. The […]Read more "Automapper Invalid Program Error"
In the second part of this series I’m going to discuss asynchronous WCF services. If you’re using Silverlight, the runtime enforces the use of async wcf services but there are a number of other scenarios in which async WCF is very beneficial. The interesting part about asynchronous WCF services is that you only need worry […]Read more "Basic WCF Services (Part 2)"