August 2011

Monthly Archive

The Morning Brew #919

Posted by on 18 Aug 2011 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • The easy way to set up NuGet to restore packages – David Ebbo highlights the work David Fowler has done in the creation of the NuGetPowerTools package which makes it much easier to set up NuGet use without committing packages to source control, providing a useful improvement on David’s earlier process.
  • The Year in Review: W3C Web Performance Working Group – Jatinder Mann takes a look back at the work of the W3C Web Performance Working Group in its first year, giving an update on the specifications the group are working on.
  • HTML5 Rocks – How Browsers Work: Behind the Scenes of Modern Web Browsers – Tali Garsiel takes a fascinating and in-depth look at what goes on inside the modern web browser, discussing in detail the inner working os the Gecko and Webkit rendering engines
  • Html 5 Controls for ASP.Net MVC – Saleth Prakash shares a collection of HTML5 ‘controls’ implemented as a comprehensive collection of extension methods for use in ASP.NET MVC views giving you an easy way of rendering these new markup elements.
  • AppFabric Duplicate Message Detection – Alan Smith highlights a series of webcasts over on cloudcast.net on Azure AppFabric Queues, Duplicate Message Detection, and Messaging Message Expiration, and shares an article version which digs into the code for the duplicate message detection
  • Underscore.js – K. Scott Allen highlights Underscore.js, a library which adds functional programming support to JavaScript without extending any built-in JavaScript objects, allowing you to write more functional style code.
  • Making the most out of IIS compression – Part 1: configuring IIS 7 compression – Matt Perdeck starts a 2 part series looking at compression in Internet Information Services (IIS), beginning with part 1 looking at compression in IIS7, looking at the installation and configuration of the compression features.

Community

  • NxtGenUG – Event: A Look at Powershell – Jimmy Skowronski joins the Coventry NxtGenUG on Monday 26th September 2011 for a session looking at the use of PowerShell from the ground up, exploring its use for developers and sysadmins alike, and looking at the extensibility provided by PowerShell.

The Morning Brew #918

Posted by on 17 Aug 2011 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • Welcome to Building Windows 8 – Steven Sinofsky launches a new blog which the Windows 8 Team will be using for discussing some of the new features and design decisions they are making in producing the new version of Windows.
  • Oh view where are thou: finding views in ASP.NET MVC3 & Optimizing ASP.NET MVC view lookup performance – Sam Saffron discusses the performance of view lookup operations in ASP.NET MVC3, in actuality finding a significant difference in behaviour when <compilation debug="true" is set in your web.config file. Marcin Doboz responds to the post with some more details about things you can do to improve performance in this area.
  • Clojure and the CLR – K. Scott Allen discusses his love of LISP like languages, and highlights the clojure-clr project which brings a LISP like language to the .NET CLR.
  • Dealing with singular plural phrasing – Phil Haack discusses adding polish to your application by ensuring that words are correctly pluralised, sharing a simple solution to the problem. Check out the comments for some links to other approaches, and a number of recommendations for the Castle Inflector.
  • Make Your Website More like a Native App – Sara Allison shares an article from Justin Whitney on the UK MSDN Team blog which discusses some of the steps you can take to make your website more like a desktop application by exploiting the functionality provided in Internet Explorer 9 and 10 to more tightly integrate with the Windows shell.
  • Introduction to HTML5 Web Storage – Lars Kappert gives an introduction to the Web Storage aspects of HTML5, outlining its purpose, use, and limitations. Comments on this one have some interesting discussions.
  • LINQ query performance – Colin Angus Mackay discusses refactoring code to use the LINQ Any() method, discussing how its performance differs from the use of Count() > 0, and looking at some real performance data he has gathered looking at different sized sets and predicates.

Community

  • DDD Brisbane – The DeveloperDeveloperDeveloper community conference continues extending its presence with DDD Brisbane planned for later this year. The current target date is 26th November at the Queensland University of Technology.
  • Europe Virtual ALT.NET: Mike Murray on Compositional and Convention-based Web Development With FubuMVC on 20 September 2011 – The European Virtual Alt.NET usergroup welcome Mike Murray for a session on the FubuMVC framework, exploring its use in building compositional convention based web applications. The session is being hosted on Tuesday 20th September over Live Meeting, starting at 7:00PM GMT (So 8pm in the UK due to British Summer Time)
  • Backbone.js Screencast – Introduction and Views – Joey Beninghove shares a screen cast version of the content from his recent Develop With Passion Webinar on Backbone.js, giving an introduction to the framework, exploring bootstrapping your application and looking at the view functionality.

The Morning Brew #917

Posted by on 16 Aug 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Windsor 3 beta 1 is released (along with other goodies) – Krzysztof Kozmic announces the first Beta release of Castle Windsor 3. The V3 release is a major one, and brings with it a number of new and improved features such as WCF Integration, introduction of scoped and bound lifestyles, improved debugger views, Lazy component support, and much more.
  • Announcing Simplified Data Transfer Billing Meters and Swappable Compute Instances – The Windows Azure team blog highlights two billing related changes beginning on 1s October. Change 1 is a reduction in price of the extra small compute offering, and a standardisation on Small Compute Hours as the unit for all compute allocations, with the larger compute plans consuming more than 1 per hour, and smaller consuming less than 1.

Information

Community

  • Gary Short on Applied F# – Tonight (Tuesday 16th August) Gary Short joins the F#unctional Londoners for a session on applied F#, in which he will show how he has been using F# for calculating the metrics
  • NxtGenUG – Event: NHibernate from the trenches – Richard Wilde visits the Oxford NxtGenUG for a session on NHibernate and its use in real world applications, looking at and giving tips on building excellent data access applications using NHibernate, exploring sessions, transactions, queries, unit of work, and testing, on Tuesday 13th September. The NxtGenUG in Oxford are being joined by Kendall Miller for their October event ‘The Kendall Miller Tour ‘ on Tuesday 25th October where Kendall will be discussing API design, outlining some of the key principles of commercial API design and looking at some real world examples.

The Morning Brew #916

Posted by on 15 Aug 2011 | Tagged as: .NET, Development, Morning Brew

Information

  • Using Windows Phone As Windows 7 Accelerometer Sensor – Arik Poznanski explores hooking the Accelerometer in a Windows Phone 7 device as a Windows 7 sensor allowing you to control applications on your Windows 7 desktop or laptop using the WP7 device.
  • The Backbone.js Todo List Refactored – Part 2: Being Reactionary – Rob Conery continues his exploration of Backbone.js with the second part of his series looking at refactoring the code in the Backbone,js Todo sample application, exploring the reactive nature of views and looking at refactoring the views in the application.
  • Enabling And Disabling A Button With Backbone.ModelBinding – Derick Bailey follows up on ihs recent post on enabling and disabling buttons in Backbone,js Modelbinding, looking at an alternative implementation based on feedback from the backbone mailinglist.
  • Making Switch Refactorings Better – Defaultable Dictionary – John Sonmez shares an implementation of a dictionary class which provides for returning a default value when no match is found, making it ideally suited to refactoring switch statements into a map / dictionary approach and handling the default case of the switch in an elegant way.
  • Understanding"Prototypes" in JavaScript – Yehuda Katz shares a nice introduction to the prototype approach to objects in JavaScript, exploring creating objects using prototypes, adding properties, and exploring object orientation
  • Small Revamp to strangelights.com and Free Chapter of Beginning F# – Rob Pickering has given a spring clean to his website, and also made available the full chapter 3 from his ‘Beginning F#’ book. This chapter explores the way functional programming works in F# and is a great resource for getting up to speed with this aspect of F#.
  • New Async Programming Video’s – The Visual Basic Team highlights a collection of new videos about the Async features of the Async CTP for Visual Studio 2010 showing them in both Visual Basic and C#.
  • Internet Explorer 9.0.2 Update – Eric Lawrence highlights some of the recent security changes to Internet Explorer 9 released over Windows Update, including restrictions on the use of the File:// protocol in pages served over HTTP(S) and the storage of cookies
  • The Top 5 WPF and Silverlight Gotchas – Chris Farrell explores 5 of they key gotchas for memory management in WPF and Silverlight applications, looking at how the issue comes about and sharing possible solutions to resolve the problems.
  • Multiple face detection and recognition in real time – Sergio Andrés Gutiérrez Rojas explores the use of Emgu CV a .NET wrapper over the Intel OpenCV image processing library to perform facial recognition on images

Community

The Morning Brew #915

Posted by on 12 Aug 2011 | Tagged as: .NET, Development, Morning Brew

This morning I fired up a random number generator and generated 2 random numbers to pick the winners of my Skills Matter / London .NET Usergroup Progressive .NET Tutorials ticket give away. The lucky people are @dfjones and SarahBailey. Please can you both drop me an email so I can put you in touch with Skills Matter to organise your ticket.

Software

  • SQL Server Denali: CTP 3 Product Guide Released – Asim Khan highlights the release of the SQL Server Denali CTP3 Product Guide, 450+MB of SQL Server goodness, discussing, demonstrating and documenting the latest preview of the next version of SQL Server.
  • Javascript Unit Test Environment (JUTE) Now Open – Mark Trostler announces the availability of JUTE as an open source project. This project combines YUI 3 Testing Framework, automated dynamic code coverage, web based and command line UI, server and client side testing support and three testing backends in one package. The package runs through Node.js, npm and Java – and looks like it is well worth checking out as it answers a number of the pain points in JavaScript testing.

Information

  • Free Printed Copies of "Version Control by Example" – Eric Sink announces a free (including Shipping) offer of printed copies of his book ‘Version Control By Example’, also available in electronic form. Eric is willing to ship to non-US addresses too so this is a truly worldwide offer.
  • Lambdas for Junior Developers – Chris Eargle gives a nice introduction to Lambda Expressions, aimed at Junior Developers who have not get to grips with their uses yet, exploring the most common use by way of an example, and also setting 6 exercises to further enhance your understanding.
  • Dynamic in C# is Broken – Jan Van Ryswyck discusses an interesting issue surrounding the use of dyanmic types as a parameter of an interface method on an implementation of an interface which derives from the interface containing the method. This one is one to read slowly, and be sure to check out the comments for explanations from the community – especially the link to a Stack Overflow question on the same topic – fascinating stuff.
  • FlickR Searching with Silverlight & Rx – Mike Taulty walks through the use of the Reactive Extensions in Silverlight, sharing the creation of a simple Flickr search application which illustrates some of the nice features of Rx in a real-world sample.
  • The Backbone.js Todo List Sample, Refactored – Part 1 – Rob Conery continues his exploration of the Backbone.js library, sharing his learning by taking a look at refactoring the backbone.js Todo list sample. In this first part Rob looks at some of the initially confusing code in the sample, the model, collection, FormView, and router.
  • Meet Spine.js – My framework of choice for client side MVC (Part 1) – Kazi Manzur Rashid joins the discussion about Client Side MVC frameworks sharing the first part of a discussion about Spine.js, his choice of library for client side MVC, also introducing Jasmine for BDD, some jQuery, along with writing the code in CoffeeScript.
  • Use MVC Scaffolding in Database First Scenarios – Paul Litwin shares the steps required to make MVC Scaffold work nicely with Entity Framework models created using Database First rather than Code First.
  • Ever Wonder How We Build Software at Microsoft? Now You Can Read All About It! – AngelaB discusses the use of TFS and the software development practices at Microsoft, highlighting some other posts and resources discussing different aspects of how Microsoft use their own technology to develop software.
  • ASP.NET MVC Dynamic Universal Map of Resources – Rick Anderson highlights the release of the ASP.NET MVC Content map on MSDN providing a useful directed signpost page to the various different resources on MSDN and further afield organised by content area. Rick is actively keeping this page up to date, so it should be a good starting point to learn more about MVC.
  • Real-World F# Articles on MSDN – Tomáö Pet?í?ek highlights his latest work with Microsoft on the MSDN documentation for F#, contributing a number of articles on Real World F# programming, spread over 6 chapters this series looks at all aspects of programming and how F# can be used for them.

The Morning Brew #914

Posted by on 11 Aug 2011 | Tagged as: .NET, Development, Morning Brew

Don’t forget, today is the last day for entries to win a ticket to the Skills Matter / London .NET Usergroup Progressive .NET Tutorials – I will be drawing the winner tomorrow morning.

Software

  • Introducing the Knockout.Unobtrusive Plugin – Brandon Satrom shares Knockout.Unobtrusive, a plugin for the KnockoutJS framework which makes it possible to represent your binding in code rather than declarativly using data-bind attributes. The plugin was written using CoffeeScript to generate the actual JavaScript implementation, and has a suite of unit tests written in qUnit.

Information

  • NuGet Support for Visual Studio 2008 – Scott takes a look at bringing some of the shiny NuGet functionality to the Visual Studio 2008 world, via use of the existing external tools functionality of the IDE.
  • Writing an ASP.NET MVC Controller Inspector – Phil Haack discusses the extensibility of ASP.NET MVC, and how you can swap out the mapping of controllers to types and actions to methods with your own implementation of the ControllerDescriptor and ActionDescriptor, introducing the Controller Inspector, which digs into and provides information about your controllers.
  • A Simple Example For Backbone.ModelBinding – Derick Bailey shares a simple example which makes use of this Backbone.ModelBinding plugin, allowing you to see it in use
  • Edge cases and impossibilities – Jimmy Bogard discusses the three types of behaviour our systems have, how the system Should, Does and Did behave, discussing how these factors lead to assumptions which allow us to ignore possibilities when debugging issues when in fact we should consider them improbable edge cases.
  • NHibernate Pitfalls: Ghosts – Development With A Dot – Recardo Peres discusses the importance of getting your data types correct between your NHibernate mapping and your database, discussing some of the fail cases incorrect mappings can cause.
  • Inheritance mapping strategies in Fluent Nhibernate – Igor Ignatov discusses the different types of mapping available in NHibernate for Inheritance structures, looking at the class and database structure, along with the mapping in FluentNHibernate.
  • The Like keyword in VB.Net and the equivalent in C# – Christiaan Baes highlights a little know keyword in Visual Basic.NET which has no equivalent in C#. The Like keyword allows for SQL Server like matching in your VB.NET Code.
  • Writing your own cross-browser polyfills – Addy Osmani discusses the creation of cross browser Pollyfills whcih patch in HTML5 functionality into browsers which don’t support the features, giving detailed background, along with looking at some of the techniques to use to make good pollyfill implementations.

Community

  • MVPs Bring Together Hundreds of Developers to Hack Kinect and Build Games in Sydney – Nick Ellery, an MVP Lead in Australia gives an overview of last month’s Developer Deverloper Developer Sidney event which saw 280 attendees enjoy a 1 day conference across 4 tracks, and a subsequent hack day event looking at Windows Phone Mango and Kinect. DDD community events are a great way to gain knowledge and meet your peers, and itís great to see the format being taken on in other parts of the world.
  • FubuMVC Webinar: F102 – FubuMVC In Action – Josh Arnold reminds us that tomorrow (Friday) sees the second part of his webinar series on FubuMVC, with the session looking at View engines and HTML conventions, Validation, custom behaviours, bootstrapping an partials.

The Morning Brew #913

Posted by on 10 Aug 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Extended WPF Toolkit Release 1.5.0 – Brian Lagunas announces the release of the latest version of the Extended WPF Toolkit. Version 1.5 is available from the project site and also as a NuGet Package, and includes a number of new controls, a ChecListBox, CollectionEditor & CollectionEditorDialog, DropDownButtons, MultiLineTextEditor, PrimitiveTypeCollectionEditor, and Wizard. This version also introduces a new sample browser application to aid your use of these controls.
  • Rx Contrib – new release – Bnaya Eshet announces the release of an updated edition of Rx Contrib, updating to support the latest version of the Reactive Extensions as well as the previous one, and introducing some significant refactoring and new features.
  • Microsoft All-In-One Code Framework August Code Sample Updates – Jialiang Ge highlights the release of the August All-In-One Code Framework code sample updates, bringing a further 15 code samples across the range of Microsoft Technologies
  • Run QUnit tests under Continuous Integration with NQUnit – Joshua Flanagan highlights some work by Robert Moore and Miguel Madero in taking Joshua’s original work on running jQuery QUnit tests under continuous integration, upgrading and fixing the code to make it work with the latest versions of WatIN and NUnit, and making it available as a NuGet package.
  • Security updates for August – Benjamin Moebius highlights the range of security patches released this patch Tuesday, including patches for Internet Explorer, Visual Studio and the .NET Framework.

Information

  • The DRY obsession – Joel Abrahamsson discusses the over reliance on the DRY (Don’t Repeat Yourself) principle without enough reference to other programming principles can he harmful to your code
  • Exploring CoffeeScript Part 6 – Show Me the Goodies ! – Jan Van Ryswyck continues his series exploring the use of CoffeeScript, taking a look at String Interpolation, Destructuring Assignments, Strict Equality, Conditionals, and the Existential Operator.
  • Rx and Schedulers – Mike Taulty discusses some unexpected Reactive Extensions behaviour, looking at how the scheduler being used affects significantly the end results of your Rx Code.
  • The BackboneJS and Knockout Danceoff – Rob Conery discusses his decision to use BackboneJS in his TekPub MVC3 series rather than Knockout, exploring the similarities and differences between the two JavaScript frameworks
  • HTML5: Edition for Web Authors – The W3C released the working draft of ‘HTML5: Edition for Web Authors’ a version of the HTML5 Specification tailored to Web Developers, omitting all the documentation intended for User Agent (browser) manufacturers.
  • An Introduction to Razor Syntax – Brian Mains gives a nice short and to the point introductory post on the Razor View Engine Syntax

Community

  • Weekly technical webcasts – 10-12 August 2011 – Ray Fleming highlights a series of Webcast events running weekly through to December this year, covering a wide range of technical topics, both Developer and ITPro. The events are scheduled for 2-4PM Australian Eastern Time, so will be in the early hours of the morning here in the UK, but should be more achievable for US readers.
  • Agile Week 2011: 40% off – The folks over at Pragmatic Bookshelf are celebrating Agile Week by giving 40% of all titles ordered through their ProgPub.com site.
  • Announcement from Linked.NET Users Group (LIDNUG) – The Linked In .NET User Group have 4 events planned over the next 2 months, with Jeffrey Ricther delivering a session on Thread Synchronisation on 15th August, Robin Shahan on Azure for Developers on 26th August, Jeff Prosise looking at What’s new in Windows Phone 7.1 "Mango" on 30th August and Scott Guthrie’s 9th Unplugged session on 22nd September. All sessions are delivered via LiveMeeting and are well worth checking out.

The Morning Brew #912

Posted by on 09 Aug 2011 | Tagged as: .NET, Development, Morning Brew

In case you missed it due to its different tagging, yesterday I published a rather later than planned ‘Afternoon Tea’ edition with lots of community news, a competition to win a place at the Skills Matter / London .NET Usergroup Progressive .NET Tutorials.

Software

  • Aug ’11 TFS Power Tools coming soon – Brian Harry gives a sneek peek at the features of the August 2011 TFS Power Tools extension which will be coming out of testing soon. This update contains a number of long standing feature requests, including login support in the shell extension, work item search, UI based rollback, build automation utilities, and much more
  • NHibernate 3.2 Released – Ricardo Peres highlights the recent NHibernate 3.2 release, giving pointers to the downloads, source, release notes and issue tracking, along with highlighting the key new features of the release.

Information

  • Overmocking – Brendan Enrick discusses the act of overmocking, where developers, wearing their mocking goggles, refactor out dependencies in legacy code without considering if the dependency should even be in the method or class in the first place, over looking a number of other development principles in the process.
  • Realtime Webcam Sudoku Solver – Bojan Banko takes a fascinating look at using image recognition to capture a sudoko puzzle via web camera before solving the puzzle in code. Full source and binaries are available for this project and will make for interesting reading.
  • Turning stories from good to great – Jenny Wong discusses the art (and science) of writing good user stories to give a good basis for the application you are going to write based on these user stories.
  • How to Break Down a Backlog – John Sonmez discusses the decomposition of an agile backlog, discussing breaking down the tasks on the backlog, getting good information to support the items and inform estimates before creating a real detailed backlog.
  • Load-balancing partitioner with work stealing, part one – Dzmitry Huba discusses the role of partitioners in Parallel LINQ and how different types of partitioner can be used in different scenarios, before sharing an implementation which makes use of work stealing techniques to keep idle workers busy.
  • Silverlight and Synchronous Network Calls – Mike Taulty goes against his principles by taking a look at blocking the UI thread while making network calls in Silverlight applications, using it a s good illustration of why th API for such service calls is usually manifested as Aysnc.
  • C# Async Examples in F# – Part 1 – Chris Marinos kicks off a series of posts looking at reformulating Bill Wagner’s 101 Async Samples from C# to F#, starting off with a simple example, and discussing some of the key implementation details of the F# version.
  • Working with HTML Fragments in jQuery – ‘More Tech Tips’ shares some useful information for anyone working with HTML fragments in jQuery, discussing creating elements and tricks for avoiding unnecessary requests for images, iframes, etc when trimming HTML snippets down.
  • .Net DI container speed test – Philip Mat explores the relative performance of the most popular Dependency Injection frameworks for .NET, taking a look at AutoFac, Castle.Windsor, StructureMap, Spring.NET, Ninject, and Unity.

Community

  • UK Connected Systems User Group – August 2011 – The UK Connected Systems Usergroup are meeting on Tuesday 23rd August at Hitachi Consulting in London for two sessions from Sam Vanhoutte exploring Windows Azure AppFabric – with the first session exploring the capabilities of the Azure AppFabric Service Bus and the second session on building and deploying composite applications with Azure.
  • NxtGenUG – Event: Performance: An American Dream – The NxtGenUG in Cambridge welcome Kendall Miller for a session on some of the laws which govern software performance on Tuesday 18th October at Microsoft Research.
  • 10 Secret Unit Testing Tips to Become Agile – Senthil Kumar highlights a vendor neutral webinar from TypeMock looking at 10 unit testing tips which whill help you become more agile on Thursday 25th August 14:00 UTC / GMT.

« Previous PageNext Page »