Profile cover photo
Profile photo
Rich Lee
17 followers
17 followers
About
Communities and Collections
View all
Posts

Post has attachment
Learning stack
Learning Stack Whatever you're doing it must be easily tested and deployed. There's value in knowing the coding approach, but much more in learning up-front how to Continuously-Deliver on everything. Build LOTS of sites! Hanselman 2014 recommendations for w...
Add a comment...

Post has attachment
Simple Service Proxy
It's easy to make the excuse of not unit testing code that calls out to an external service as 'too difficult'. Either the code itself is too highly-coupled or it's too hard to build a stub service. Here's a really common proxy pattern which allows the code...
Add a comment...

Post has attachment
Simple Service Proxy
It's easy to make the excuse of not unit testing code that calls out to an external service as 'too difficult'. Either the code itself is too highly-coupled or it's too hard to build a stub service. Here's a really common proxy pattern which allows the code...
Add a comment...

Post has attachment
Mocking HttpWebRequest
I wanted to mock a web request to provide a specific HttpStatusCode and/or response. Essentially I want to replace the WebRequest.Create and WebResponse.GetResponse methods with mocks so I can have some test data returned when called. There are a number of ...
Add a comment...
Wait while more posts are being loaded