Effective Tests: Test Doubles – Derek Greer continues his series of posts on creating effective tests with a look at the theory and use of the various forms of test double, mocks, fakes, stubs to test colaborations between objects in isolation.
Effective Tests: Test Doubles – Derek Greer continues his series of posts on creating effective tests with a look at the theory and use of the various forms of test double, mocks, fakes, stubs to test collaborations between objects in isolation.
Using Lazy<T> to Solve Deadlocks in Resource Caches – Rick Brewster.discusses how he was having problems with locking when accessing resources in Paint.NET and how using Lazy<T> helped resolve them by allowing him to remove his own locking for read operations.
Parallel Containers – CodeProject – ‘logicchild’ takes a look at the concurrent collection classes available in the .NET Framework, discussing the features and behaviour of each and sharing an example of each in use.
Great Free Video Training on ASP.NET Web Forms and ASP.NET MVC – Scott Guthrie highlights the availability of two online video training resources on the ASP.NET website – one for ASP.NET MVC and the other for ASP.NET WebForms. These training resources have been created by Pluralsight, and feature K. Scott Allen and Dan Wahlin in 10 sessions on each technology.
Automated Unit Testing – BlackWasp have a nice series of posts on the subject of Unit Testing with NUnit and related techniques, exploring the framework, different types of assertion, and the use of Mocks an Stubs.
Aligning Numbers on the Decimal Separator – Ron Petrusha discusses the BCL’s support for formatting numbers, and explores how you can implement number alignment centred on the decimal separator.
Code First EF 4.1 : Building Many to Many Relationship – Wriju is in the midst of a nice series of posts exploring a variety of scenarios with the Entity Framework 4.1 Code First Functionality. Along with this post topics explored include the use of Stored Procedures, changing table and column names, Visual Studio templates, and Many to Many relationships.
Prepare Your Site For IE9 With Pinify – Prashant Khandelwal highlights the newly renamed Pinify library (formerly IE9ify) which provides scripts based on jQuery which easily implement the IE9 Windows 7 Task Bar integration, illustrating its use with a worked example.
Windows Phone Launchers – Paul Sheriff discusses the use of the various launchers from within your Windows Phone 7 applications which allow you to jump out of your application to other pieces of functionality within the phone such as the MarketPlace, media player, Phone calls, etc.
MSDN Instant Answers – Cameron Skinner highlights a new feature in the MSDN Search giving ‘Instant Answers’ in the form of new search results interface
Bulk upsert to SQL Server from .NET – Derek Fowler discusses the SQL Server and NET Framework support for Bulk Insert / Bulk Upsert and how they would make an ideal performant solution for inserting entities in ORMs
Nhibernate BatchSize and massive insert – alkampfer discusses the large insert scenario in NHibernate, highlighting how batching of queries makes a dramatic difference to performance by reducing the round trips to the database.
PetaPoco and Spatial Data Types – John Katsiotis takes a look at the PetaPoco micro-ORM and explores extending it to provide a way of working with the Spatial Data Types available in recent SQL server releases.
Stylesheet Limits in Internet Explorer – Eric Lawrence highlights the limits on style sheets in Internet Explorer 6 – 9, discussing why these limits exist due to the way the stylesheets rules are stored in memory.