How about that for acronym soup? In the spirit of doing smaller posts but more often, here is a handy little XSLT. Assuming you have the following XML, <Customers> <Customer Id="99"> <Name>Bob</Name> <Age>39</Age> <Address> <Street>10 Idle Lane</Street> <City>Yucksville</City> <PostalCode>xxxyyy</PostalCode> </Address> </Customer> <Customer Id="101"> <Name>Bill</Name> <Age>39</Age> <Address> <Street>10 Idle Lane</Street> <City>Yucksville</City> <PostalCode>xxxyyy</PostalCode> </Address> </Customer> </Customers> [...]
Archives for February 2010
But can you test it?
Testing code that uses HttpWebRequest directly, is a real pain. Usually what I have seen people do is create a service interface that hides the real http client behind the interface and then create fake service implementations to actually run their tests against. The annoying part about that solution is that Http client interfaces tend [...]

Posts