Geeks With Blogs
C# Ramblings May 2011 Entries
Post Operation with OpenRasta
Two posts in two days, this posting rate will never last! Anyway. On my current project I needed to implement a web service in C#. Because of its uniform interface, stateless nature and generally being seen as the way web services are now done I decided to implement the web service as a RESTful one. This would be my first ever web service. Once that decision was made the next one was how best to go about implementing a RESTful web service. Having done some research and after looking into WCF I decided ......

Posted On Thursday, May 26, 2011 12:00 PM

Rhino Mocks and Out Parameters
I have been using Rhino Mocks for a about 6 months now, and until recently I hadn't a need to mock a method which had any out parameters. This is mainly because I have a dislike using out parameters and try to avoid using them where possible, but that discussion is possibly for another blog entry. Anyway thankfully Rhino Mocks makes mocking methods with out parameters very simple. My requirement were I needed to pass in xml and get some X and Y coordinates back, my method signature is: void GetCoordiates(string ......

Posted On Wednesday, May 25, 2011 10:31 AM

Copyright © JW0RLIN | Powered by: