mikehadlow.blogspot.com
Code rant: June 2015
http://mikehadlow.blogspot.com/2015_06_01_archive.html
Life as a mort. Friday, June 05, 2015. C#: How to Record What Gets Written to or Read From a Stream. Streams are a very nice abstraction over a read/write loop. We can use them to represent the contents of a file, or a stream of bytes to or from a network socket. They make it easy to read and write large amounts of data without consuming large amounts of memory. Take this little code snippet:. But what if we want to log or view the contents of Example.txt as it’s copied to the output file? You can use a ...
mikehadlow.blogspot.com
Code rant: A Contractor’s Guide To Recruitment Agencies
http://mikehadlow.blogspot.com/2014/04/a-contractors-guide-to-recruitment.html
Life as a mort. Wednesday, April 16, 2014. A Contractor’s Guide To Recruitment Agencies. I haven’t contracted through an agency for a long time, but I thought I’d write up my experiences from almost ten years of working as an IT contractor for anyone considering it as a career choice. Client rate – contractor rate) * number of contractors placed. Minimize the contractor rate, maximize the client rate, and place as many contractors as possible. That’s success. The job hunt. How you should approach it.
mikehadlow.blogspot.com
Code rant: Should my repository expose IQueryable?
http://mikehadlow.blogspot.com/2009/01/should-my-repository-expose-iqueryable.html
Life as a mort. Monday, January 12, 2009. Should my repository expose IQueryable? This post is an attempt to describe an interesting point of difference about the way a generic repository can be implemented. I'm writing it to lay out my argument that exposing IQueryable on a generic repository is a good thing. I know a lot of people disagree, so I'm hoping I can spark a debate and. Learn why I'm wrong. I talked about the generic repository pattern a while back. IRepository T where T : class. For example)...
mikehadlow.blogspot.com
Code rant: Resolving mutipart WSDL documents with DiscoveryClientProtocol
http://mikehadlow.blogspot.com/2007/04/resolving-mutipart-wsdl-documents-with.html
Life as a mort. Friday, April 13, 2007. Resolving mutipart WSDL documents with DiscoveryClientProtocol. Following on from yesterday's post. On the WSDL that's generated by WCF, I ran up Relector. And started digging into WSDL.exe. That does all the work of resolving and downloading the WSDL and XSD classes. It can even save them all to disk. I got quite excited when I also found out about ServiceDescriptionImporter. Has an interesting article. Here's a little NUnit test showing the basic functionality of...
mikehadlow.blogspot.com
Code rant: Brighton ALT.NET Beers. 7pm Tuesday 6th April at The Skiff
http://mikehadlow.blogspot.com/2010/04/brighton-altnet-beers-7pm-tuesday-6th.html
Life as a mort. Friday, April 02, 2010. Brighton ALT.NET Beers. 7pm Tuesday 6th April at The Skiff. The next Brighton ALT.NET Beers will be held at the co-working venue ‘ The Skiff. 8217; at 7.00 pm on Tuesday 6th April. I’ll be hosting again. The address is: The Skiff, 49 Cheltenham Place, Brighton, BN1 4AB. The format will be the same as usual, a quick round of suggestions for topics, voting and then an evening of beer and geekery. Posted by Mike Hadlow. Subscribe to: Post Comments (Atom).
mikehadlow.blogspot.com
Code rant: July 2014
http://mikehadlow.blogspot.com/2014_07_01_archive.html
Life as a mort. Thursday, July 03, 2014. I’m on a sales drive. I want to move away from daily-rate contracting, and focus on full-lifecycle project delivery. I’ve created a new website to help market myself http:/ mikehadlow.com/. I’m looking for customers who want software written to a specification for a fixed price. Will provide enough of an audience for me that I’ll be able to do projects full time. And let’s talk. Posted by Mike Hadlow. Links to this post. Subscribe to: Posts (Atom).
mikehadlow.blogspot.com
Code rant: August 2015
http://mikehadlow.blogspot.com/2015_08_01_archive.html
Life as a mort. Friday, August 07, 2015. C#: Program Entirely With Static Methods. Over the past couple of years I’ve noticed that my C# coding style has changed drastically under the influence of functional programming. Gone are interfaces and instance classes to be replaced by static methods, higher-order functions and closures. It’s somewhat ironic since I spent many years as a cheerleader for object-oriented programming and I considered static methods a code smell. Let’s look at an example....And her...
mikehadlow.blogspot.com
Code rant: The Lava Layer Anti-Pattern
http://mikehadlow.blogspot.com/2014/12/the-lava-layer-anti-pattern.html
Life as a mort. Monday, December 15, 2014. The Lava Layer Anti-Pattern. TL:DR Successive, well intentioned, changes to architecture and technology throughout the lifetime of an application can lead to a fragmented and hard to maintain code base. Sometimes it is better to favour consistent legacy technology over fragmentation. An ‘anti-pattern’ describes a commonly encountered pathology or problem in software development. The Lava Layer (or Lava Flow) anti-pattern is well documented ( here. Mandy left to ...
mikehadlow.blogspot.com
Code rant: C#: Program Entirely With Static Methods
http://mikehadlow.blogspot.com/2015/08/c-program-entirely-with-static-methods.html
Life as a mort. Friday, August 07, 2015. C#: Program Entirely With Static Methods. Over the past couple of years I’ve noticed that my C# coding style has changed drastically under the influence of functional programming. Gone are interfaces and instance classes to be replaced by static methods, higher-order functions and closures. It’s somewhat ironic since I spent many years as a cheerleader for object-oriented programming and I considered static methods a code smell. Let’s look at an example....And her...
SOCIAL ENGAGEMENT