The Morning Brew #266

Posted by on Friday 16th January 2009 | Tagged as: .NET, Development, Morning Brew

I spent quite a lot of time yesterday investigating some interesting deadlocking issues in a SQL Server 2000 database – If I get the chance I may write up my findings into a blog post over the weekend.

Software

Information

The Morning Brew #265

Posted by on Thursday 15th January 2009 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • How do you know your code works? – Chad Myers explores the four types of additional code he writes (above and beyond the actual production code), and talks a little about each type.
  • The Story of the Lazy-Loading Lunchbox – Dylan Beattie explores a number of software development concepts using analogies with his life as a child and his school lunchbox and rucksack. Excellent reading, and some novel explanations of interesting concepts.
  • A new breed of magic strings in ASP.NET MVC – Jimmy Bogard identifies the heavy use of Anonymous Types in ASP.NET MVC as an instance of ‘magic strings’, and looks at alternatives to this.
  • Automatic vs Explicit Properties – Eric Lippert explores a readers concerns about automatic properties and using them inside the implementing class rather than using the private backing fields.
  • Monitoring HTTP Output with Fiddler in .NET HTTP Clients and WCF Proxies – Rick Strahl shows how you can use Fiddler, the HTTP proxy for developers, to capture output and input from .NET code (both HTP client and WCF client code)
  • Avoid object initializers & the using statement – Ayende highlights a problem with using object initialisers with the using statement, and how an exception in any of the properties being set will cause the object to not be disposed correctly.
  • Named Formats Redux – Phil Haack follows up his recent post on Named Format String replacements with two reader submitted solutions to the problem.
  • Windows Azure – Breaking It Down – Justin Etheredge shares his intial thoughts, based on a few days experimentation, on Azure and the Live, .NET and SQL Services
  • Behavior-Driven Development with NBehave – Dmitri Nesteruk explores Behaviour Driven Development using NBehave and MUnit illustrated with a simple bank account example.
  • Using PostSharp without installing via the MSI – Scott Wojan briefly outlines the steps required to get PostSharp working without actually installing it, allowing you to make your projects more portable and reduce the dependency of having to install the framework.
  • Astonishment Principles and Framework Behavior – K. Scott Allen illustrates the Principle of Least Surprise with a before and after example using the .NET XML functionality and the new XML API based on XElement.

Community

The Morning Brew #264

Posted by on Wednesday 14th January 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • Selenium: New Selenium Releases Today – The team behind Selenium, the web application browser testing framework announce the second beta release of version 1.0. A final release will be made once the documentation is up to date.

Information

  • In search of Wild Repository – Mike Hadlow explores a few different implementations of the Repository in the wild (open source software) with a look to identifying common and best practices in their implementation and interfaces.
  • How would the CLR Be Different? – Matthew Podwysocki explores the question ‘given what you know now, what would you have done differently if you were constructing the CLR?’
  • Open Generic Types in StructureMap – Jeremy D. Miller demonstrates how StructureMap supports Open Generic Types with an illustrating real world example.
  • Hardcoding Considered Harmful – or is it? – Jeffrey Palermo talks about the (bad?) practice of hard coding values in your code, and asks if this is really a bad thing
  • Making the Entity Framework Fit Your Domain – Part 2 – Justin Etheredge continues his series on fitting the Entity Framework into your real domain model. In this part Justin looks at how he actually got the domain model working with EF and explores some of the interfaces and code he needed to provide.
  • Custom Configuration Sections for Lazy Coders – John Whitmire constructs an increasingly feature rich custom configuration section handler including read write access to the config
  • Not more excuses of missing indexes with Activity Monitor in SQL Server 2008 – Bill Ramos give a visual tour of the new Activity Monitor in SQL Server 2008. This looks like it is really good, offering suggestions for indexes and making it much easier to identify bad queries.
  • How to Copy an Assembly From the GAC to the File System – John W Powell looks at three ways you can actually obtain the real DLL of the libraries in the GAC, working around the Windows Explorer special view you get for the c:\windows\assembly directory.
  • Timeout Workaround – Andrew Conrad of the Astoria Team talks about the recommended work around for a bug in the ADO.NET Data Services which should help you avoid problems when the actual issue gets fixed.
  • XAML guidelines part 3 – Jaime Rodriguez shares his XAML guidelines documentation which includes common and best practices and views from multiple developers. Jamie is clear that this is a work in progress so is very open to hearing suggestions of other things that should be covered.
  • Vulnerability of the Dynamic Linq – Rinat Abdullin talks about the dangers of allowing your users to run arbitrary queries (in this case Linq), and how you can help defend your application from the potential problems when you do need to to allow this.
  • Fluent NHibernate: Mapping private and protected properties – James Gregory continues his exploration of Fluent NHIbernate looking at 3 techniques for mapping to private members with details of the Pros and Cons of each method.

« Prev - Next »