March 2011

Monthly Archive

The Morning Brew #818

Posted by on 23 Mar 2011 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • Using ActionFilters with ASP.NET MVC and NHibernate – Rob Conery continues exploring the use of AcitionFilters with ASP.NET MVC to control Data Access Sessions and Transactions taking a look at managing NHibernate Sessions, Session Factory and Transactions
  • How to Add MVC 3 Project Types to the Azure Cloud Service Wizard – Jason Haley shares Windows Azure Project Templates for the easy creation of ASP.NET MVC 3 projects using the Windows Azure Web Roles. This post includes links to the templates, along with instructions on the installation.
  • Internet Explorer 9 Compatibility Cookbook & Developer Resources: HTML5 / IE9 Tutorials and Sample Code – Doris Chen highlights the Internet Explorer 9 Compatibility Cookbook, and excellent reference guide to ensuring your own web applications are compatible with Internet Explorer 9, and also highlights tutorials on MSDN looking at the new features supported in IE9.
  • Published Applications AKA _PublishedApplications – Rob Reynolds highlights some work by David Keaveny which brings easy publication support (like Web Projects have) to other project types, making it easy to bundle up your applications into a folder.
  • Windows Azure and scaling: how? (.NET) – Maarten Balliauw is mid way through a series looking at scaling your applications using Windows Azure. In this part he explores programmatic scaling of your application, looking at adding and removing instances using a command line tool.
  • DB Concurrency Control with .NET – Overview – Peter Meinl shares a detailed examination of the concurrency support available in the .NET framework and in databases which are commonly used with .NET, discussing each aspect and sharing samples to illustrate.
  • Loading Assemblies off Network Drives – Rick Strahl discusses the change in .NET 4 which makes loading assemblies from network drives easier, and discusses a workaround for the cases where you don’t get the new behaviour by default.

Community

  • I’ll be talking about JavaScript at Skills Matter on April 5th – Dylan Beattie highlights the talk he will be giving at the London .NET Usergroup event Tuesday 5th April hosted at Skills Matter, where his subject will be JavaScript, with a bit of history and a ot of looking at the funky things going on in the JavaScript space including CommonJS, NodeJS, KnockoutJS.
  • NNUG Online – Mars 2011 – NNUG – The Norwegian .NET User Group are holding their second Virtual event, welcoming Jon Skeet this evening (23rd March) with the event kicking off at 20:30 (local time – GMT+1 I believe)
  • Windows Phone 7 Workshops – Register Now! – Mike Ormond shares the registration links for the Windows Phone Workshops taking place across the UK during April.

The Morning Brew #817

Posted by on 22 Mar 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Windows Phone 7 Iconography – Mike Ormond shares a set of image templates for the various pieces of Iconography associated with the Windows Phone 7 Platform, providing images of the correct sizes for each of the purposes, along with guidance for using them. Images are in Paint.Net format.

Information

  • Implementing the virtual method pattern in C#, Part Two – Eric Lippert continues his series looking at implementing virtual methods in C# (as if they didn’t already exist), looking at a solution which uses delegates to static methods stored in fields.
  • Foundations of Programming 2 – Appendix B – Advanced jQuery – Karl Seguin continues sharing the chapters of the second edition of his Foundations of Programming e-book. This section is a second appendix looking at the use of some of the more advanced uses of the jQuery library
  • In JavaScript, curly brace placement matters: An example – Dave Ward discusses the importance of using the K&R style of bracketing in JavaScript, and how the Allman style (common in C# dev) can actually result in errors in the behaviour of your JavaScript.
  • Effective Tests: Test First – Derek Greer takes a look at the origins of Behaviour Driven Development from the Test Driven approaches, surveying and giving examples of these techniques
  • Using EntityFramework with ASP.NET MVC 3 – Rob Conery discusses the management of DataContext Lifetimes in your ASP.NET MVC Applications, sharing a solution using Ninject and hooking into the IDependencyResolver functionality of the framework to create an ActionFilter to manage the DataContext used by your actions.
  • Serializing the WCF Data Service Client State – Peter Qian discusses the serialisation of the state associated with a WCF DataServiceContext to support tombstoning of a Windows Phone 7 Application, discussing the problem space, the various considerations and sharing some best practice tips.
  • ASP.NET WF4 / WCF and Async Calls – Ron Jacobs explores the combining of Workflow Foundation 4 (WF4) Windows Communication Foundation (WCF) and ASP.NET, and looks at making asynchronous calls from the ASP.NET site, working step by step (with a supporting video) to show how you go about doing this in a simple case.
  • Unit Testing Workflow Activities with Moles – ‘MicSmi’ expores the use of the Microsoft Research Moles technology for testing WorkFlow activities, discussing the process, how it works and sharing a sample project demonstrating the technique.

Community

  • My Orchard talk for LIDNUG – Bertrand Le Roy highlights the availability of the recording of the Live Meeting session he did for the Linked In .NET User Group (LIDNUG) on the Orchard CMS system, showing how to create a blog using Orchard as an introduction to using this ASP.NET MVC 3 based CMS platform.

The Morning Brew #816

Posted by on 21 Mar 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • New version of StyleCop released – ‘Tatworth’ highlights a newly released version of StyleCop. V4.5 Preview contains a huge number of bugfixes over the 4.4 release, and also adds 4 new rules to the suite of rules applied / applicable to your code.
  • Phone Tools reaches Beta! – Shawn Wildermuth announces the beta release of Phoney Tools, his library of Windows Phone 7 controls and helper classes for working on the Windows Phone 7 platform.
  • MVVM Light V4 preview 2 (BL0015) #mvvmlight – Laurent Bugnion announces the second preview release of his MVVM Light v4 library. This release contains lots of the functionality which will be in the final release, but users should be aware that there may be bugs lurking,and Laurent is interested in getting feedback on the new functionality.

Information

  • NHibernate and default constructors & Working with NHibernate without default constructors – Krzysztof Kozmic takes a look at the role of constructors when it comes to NHibernate backed entities and looks at some of the alternatives to having constructors which only exist for NHibernate’s use.
  • Edulinq – the e-book – Jon Skeet announces the release of his first pass at converting his fantastic series about re-implementing LINQ to Objects into e-book format. Currently available as PDF MOBI and EPUB formats.
  • Model Binding Decimal Values – Phil Haack takes a look at model binding of the variety of different formats of decimal, sharing a sample which shows how you can create custom validators for specific data types
  • Task Parallel Library: 4 of n – Sacha Barber continues his series of posts on CodeProject exploring the use of the Task Parallel Library. In this post Sacha looks at the use of Parallel LINQ (PLINQ), exploring its use, exception handling, cancelation, partitioning and aggregation.
  • Preparing Your Site for IE9 – The Internet Explorer Team share a number of resources and details of the differences between Internet Explorer 8 and Internet Explorer 9 standards modes, valuable information if you are working on compatibility of your applications.
  • IE9 Final RTW Minor Changes List – Eric Lawrence shares the list of changes in the final Internet Explorer 9 release from the Release Candidate release, giving details of the tweaks and bugfixes applied, along with some changes / introductions to some APIs exposed.
  • A Primer on Temporary Internet Files & What is msimgsiz.dat? – Eric Lawrence also provides an interesting look at what Internet Explorer uses the Temporary Internet Files folder for, and looks at the purpose and reason for the msimgsiz.dat file located in Temporary Internet Files
  • DebuggerDisplay attribute best practices – Jared Parsons shares some thoughts on the best practices for using the DebuggerDisplayAttribute to provide custom visualisation of the content of your objects in the Debugger.
  • A Gentle Introduction to NuGet – Joe Mayo gives a nice introduction to NuGet from the point of a developer acting as a user of NuGet showing how to install and work with packages.

Community

  • DDD SouthWest – Proposed Sessions – The Session proposal process for sessions for DeveloperDeveloperDeveloper South West are open until the end of tomorrow (Tuesday 22nd) so if you have a talk you’d like to air at a very friendly conference, or are a new speaker looking to get into speaking, get your proposals in ASAP.
  • DDD Scotland – Register – Registrations have opened for DeveloperDeveloperDeveloper Scotland to be held on Saturday 7th May. Some how I missed including this in The Morning Brew last week, and by all accounts places are filling up quickly, and a waiting list will be put into place once the capacity is filled. This is a great conference, and one I whole heartedly enjoy attending.

« Previous PageNext Page »