The Morning Brew #505

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

The Morning Brew Christmas Holiday Posting Schedule

As regular readers know, The Morning Brew is published every week day with the exception of UK public holidays. As we are entering the Christmas Holiday period posting will be a little patch (as there are quite a few public holidays, some occurring on unusual days due to holiday days falling at the weekend). I thought it would be useful to outline when you can expect editions of the next week or so:

  • Thursday 24th December 2009 – Normal post
  • Friday 25th December 2009 – No post, Christmas Day
  • Saturday 26th December 2009 – No Post
  • Sunday 27th December 2009 – No Post
  • Monday 28th December 2009 – No Post, Boxing day stand-in holiday
  • Tuesday 29th December 2009 – Normal post, although likely to be later in the day than usual
  • Wednesday 30th December 2009- Normal post, although likely to be later in the day than usual
  • Thursday 31st December 2009- 2009 Wrap Up Post
  • Friday 1st January 2010 – No Post – New Years Day
  • Saturday 2nd January 2010 – No Post
  • Sunday 3rd January 2010 – No Post
  • Monday 4th January 2010 – Normal Posting Resumes

Best wishes to all The Morning Brew’s Readers, and Contributors for the Christmas Holidays!

Software

  • ReSharper 5.0 Beta Comes Out – JetBrains announce the Beta release of ReSharper 5.0 which operates with Visual Studio 2008 and 2010. This is a beta release, so if you do try it out please report any issues you find back to the folks at JetBrains so they can get them fixed before the final release
  • Orderly JSON – Ajaxian highlights a project from Lloyd Hilaiel – a textual format to represent JSON objects which allows schema to be created in JSONSchema format

Information

  • Testing Agatha’s Caching Functionality With QuickNet – Davy Brion delves deeper into the tests he has written for Agatha’s caching layer which use QuickNet, along the way providing a good introduction to the capabilities of QuickNet and an understanding of how to use it.
  • Introducing Fluent MetadataProvider for ASP.NET MVC – Kazi Manzur Rashid announces a new feature for his System.Web.MVC.Extensibility project, a fluent interface which allows you to build the metadata model in code, adding to the attribute based approach some additional type checking to help ensure that what you write is correct, and also allowing you to inject dependencies
  • Creating Multiple Choice Exam Application Using ASP.NET MVC Framework – Mohammad Azam walks through the creation of a simple Multiple Choice Exam application using ASP.NET MVC with plenty of code to illustrate in the article and a download of the sample application.
  • Comments on Corey Haines’ String Calculator TDD Kata Implementation – A few months back Roy Osherove proposed a TDD Kata exercise for relating to strings, and in this post he provides some feedback on Corey Haines implementation of this Kata in Ruby (of which a full video is provided). Its always interesting to see TDD well done, and also interesting to see it in a less familiar language (to the average C#’er)
  • Deep Dive Into WCF Part 2: Serialization on the speed of light with Google Protocol Buffers – Alexey Zakharov looks at building High Performance RESTful web serices using ASP.NET MVC and the Google Protocol Buffers library. The article is accompanied by plenty of source illustrating the process of getting started with the C# port of protocol buffers
  • Swiss Cheese and WF4, or, An Introduction to ActivityAction – Matt Winkler takes a look at the new ActivityAction functionality of Windows Workflow 4, which allows for your Workflow to have custom logic bolted into specified ‘holes’
  • Castle Typed Factory Facility reborn – Krzysztof Kozmic looks at the idea behind a Typed Factory implementation, showing how you can implement it your self, and then introduces the re-introduced Typed Factory Facility which is a automatically created factory created by the IOC container but which does not require your consuming code to know about the container.
  • C# Support for Tuples – Miguel de Icaza posts some more proof of concept extensions for C# as a part of the Mono Project, in this post the use of Tuples, and how support for them could be included in numerous places in the framework
  • Specifications – Mark Nijhof shows his home brewed Specifications ‘Framework’ which backs onto NUnit and Moq. Mark runs through how the ‘framework’ is constructed in stages, showing a nice simple base class, and building on that to the full ‘framework’
  • Free C# Legacy Chapters – Jim Minatel shares some chapters from Wrox publishing books which are being cut from the latest editions of books as the feature areas of the language have not see significant development in the .NET 4 time frame, and are being cut (And made available for free) in order to free space for new chapters.
  • Exposing the View Model to JavaScript in ASP.NET MVC – Matt looks at three techniques for providing access to the View Model data in your ASP.NET MVC page’s JavaScript code.

The Morning Brew #504

Posted by on Wednesday 23rd December 2009 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • Cool Things to Do with Dynamics in dotNET 4 – Kevin Jones takes a look at some of the fun things that can be done using the new dynamic support in C#4 looking at how you can interact with the resolver which resolves calls on a dynamic object allowing you to provide methods at runtime with an example based on reading some XML.
  • Property Copying With Dynamic Objects in .NET 4.0 – Joel Holder also explores dynamic functionality with a look at creating an expando object which allows for setting property names at runtime allowing that object to copy properties from another object. This uses similar techniques to the previous post and serves as another good sample.
  • How QuickNet Found 2 Bugs That You And I Didn’t – Davy Brion talks about his use of the QuickNet Property based testing library in his test for his Agatha Project, and how it help uncover some bugs that he doubts would be found using other testing strategies.
  • [Video] Spark View Engine Part 2 – Mike Ormond shares the second part of his Video series on the Spark view engine for ASP.NET MVC, and promises part 3 in the new year
  • AutoMapper DSL design post-mortem – Jimmy Bogard talks about some of the things he wishes he had done differently in his AutoMapper project, looking at a few aspects of the way the DSL is constructed and the configurations created.
  • POCO Proxies Part 1 – Jeff Derstadt & Diego Vega of the Entity Framework Team start a 2 part series looking at the Proxy support in Entity Framework 4, and how the proxies allow for functionality such as lazy load to be added to the POCO class implementations.
  • My favorites .Net development toolkits – Dody Gunawinata shares an excelent link list to .NET Development Toolkits classified into various types, including but not limited to Scripting, database, serializers, Workflow, infrastructure, testing, etc. Some of them will be familiar, the rest look like they will be worth checking out.
  • Using RestSharp to consume RESTful Web Services – Michael Stum shows how the RestSharp library helps make consuming RESTful web services easier from C# illustrating with a simple example consuming a search serivce
  • How to mock extension methods – Daniel Cazzulino talks about how he organises his extension methods to avoid API explosion on root types, and shows how this can help in providing means of mocking the extension methods.
  • Guided Tour: jQuery – Array wannabes – Sergio Pereira continues his series of posts looking at the innards of the jQuery library with a look at some array based code.
  • Understanding The Application Controller Through Object Messaging Patterns – Derick Bailey looks at the relationship between code patterns and the messaging based equivalents, along with providing some help in deciding which to use. Sample applications code is also provided to further illustrate the ideas in this post
  • The Static Spider Web Pattern – Justin Etheredge takes a sarcastic look at a common (anti) pattern in application development where the whole application is based around static objects

The Morning Brew #503

Posted by on Tuesday 22nd December 2009 | Tagged as: .NET, Development, Morning Brew

Information

  • Accelerator and F# (I.): Introduction and calculating PI – TomáÅ¡ Pet?í?ek takes a look at the Microsoft Research Accelerator project which is a C# library which allows array manipulations to be run on the GPU. In this article TomáÅ¡ looks at using the Accelerator library to speed up the calculation of an accurate value of Pi in F#, complete with source for the sample.
  • Views and Databases Don’t Mix – Jason Dentler talks about the reasons to introduce a true ViewModel to avoid your views triggering unexpected database activity
  • A JavaScript Event Bus – Simon Ince shares a prototype implementation of an Event Bus in JavaScript which can be used to provide a means of loose coupling between JavaScript / AJAX components
  • [Video] Spark View Engine Part 1 – Mike Ormond continues his series of posts looking at the Spark View Engine with a Video version of the previous few posts in the series looking at replacing the standard View Engine with Spark.
  • 6 Of My Favorite Visual Studio Shortcuts – Hatim Rih shares his 6 favourite Visual Studio keyboard shortcuts and asks for your suggestions of other good ones in the comments (where a good list is starting to form)
  • Entity Framework troubleshooting and performance – Simon Sabin outlines his plans for a series of posts looking at the Entity Framework and its effects on the database when being used, along with how you can shape your usage to avoid bad queries
  • Making Sense of ASP.NET Paths – Rick Strahl gives a good summary of the various paths which are exposed by the .NET Framework in ASP.NET looking at their meanings, along with looking at resolving paths, and parsing URL paths
  • High CPU in .NET app using a static Generic.Dictionary – Tess Ferrandez talks about an investigation she did with the ASP.NET team looking at some High CPU usage in an application which worked with the Generic Dictionary held as a static refernce when the application was under high load, and explains how and why the problems were occurring
  • Which Profiling Mode Should I use? – ‘Daryush’ looks at the various profiling modes supported by the Visual Studio 2010 Profiler, looking at what each does, and where it is particularly useful.
  • Three-tier .NET Application Utilizing Three ORM Technologies. – Bryan Thomas Weikel shares an indepth article which looks at the use of the three most common ORM solutions (LINQ to SQL, Entity Framework, and NHibernate) in use in creating a WinForms application using a Three Tier architecture.
  • When using LINQ don’t forget about deferred execution – Mark Meyerovich reminds us that Deferred Execution of LINQ statements can result in some strange behaviour due to the way variables are captured by the statements
  • OR-ing criteria with NHibernate, or "How to include it all" – Kyle Baley looks at some of the more advanced querying support in NHibernate building searches for entities based on the entities contained in a few of their collections.
  • Effectus: Isolated features – Ayende has been posting a number of follow on posts which continue looking at the Effectus sample application which was created for his MSDN Magazine article. This post talks about the organisation of the implementation of features and how each feature is implemented in isolation. Be sure to check out the other posts around this one.
  • Using conventions with Passive View – Mark Nijhof picks up a theme from one of Ayende’s Effectus posts and talks about the conventions used in his Command Query Responsibility Separation Sample application

Community

  • CodeCampServer Call for Participation – Jeffrey Palermo issues a call for assistance with the CodeCampServer open source project for managing a usergroup’s events. The project team are looking for assistance with the maintenance of the project (recruiting usergroups, supporting the hosting environment, etc) and running a CssContrib project to contribute new ideas to the project. A great opportunity to get involved with a well known community project.

« Prev - Next »