May 2011

Monthly Archive

The Morning Brew #862

Posted by Chris Alcock on 31 May 2011 | Tagged as: .NET, Development, Morning Brew

Software

Information

Community

  • GiveCamp UK - GiveCamp arrives in the UK this October with a weekend long event in London bringing the tech community together to donate their time and skills to a range of non-profit organisations. The event is open for registration for both technical and non-technical participants now, and spaces are filling up quickly so be sure to register if you want to get involved.
  • LIDNUG: Visual Studio Tips and Tricks, Greatest Hits by… - The Linked In .NET User Group welcome Zain Naboulsi for the best of his Visual Studio Tricks and Tips in a virtual event taking place today (Tuesday 31st May) at 10:30am Pacific
  • LIDNUG: Visual Studio Tips and Tricks, Greatest Hits by… (Take 2) - Zain Naboulsi is also giving a re-run onf the session at 7:30pm Pacific, giving a second chance to see the session.
  • Live Webinar: Building Composite Applications with… - Gael Fraiteur and Kendall Miller welcome Seb Lambla for a Webinar session on creating composite applications on the OpenRasta 3 platform starting at 9am Pacific on Wednesday 1st June

The Morning Brew #861

Posted by Chris Alcock on 27 May 2011 | Tagged as: .NET, Development, Morning Brew

Monday is a Public Holiday here in the UK (and in the US too I believe) so as is Morning Brew Tradition I will be having a lie in on Monday and there will be no edition of The Morning Brew. Normal Service will be resumed on Tuesday 31st May, with what is usually a bigger than usual edition. Have a great (long) weekend.

Software

Information

Community

  • The Stack - Liverpool .NET User Group - July 2011 - The July meeting of The Stack .NET Usergroup in Liverpool will be held on Wednesday 6th July at Studio 2, in Parr Street Studios where Chris Eargle will be giving a session on Declarative Refactorings in C#, and Andrew Stopford will be taking us through a look at MbUnit.

The Morning Brew #860

Posted by Chris Alcock on 26 May 2011 | Tagged as: .NET, Development, Morning Brew

Information

  • Globalization, Internationalization and Localization in ASP.NET MVC 3, JavaScript and jQuery - Part 1 - Scott Hanselman kicks off a series of posts looking at internationalisation (or Iñtërnâtiônàlizætiøn as he calls it) of a ASP.NET MVC based web applications which makes use of jQuery and JavaScript, exploring the use of resource files, Globalising the JavaScript validation and jQuery Data picker using a variety of techniques.
  • Bin Deploying ASP.NET MVC 3 - Phil Haack discusses the Bin Deployment of ASP.NET MVC 3 applications for situations where your host does not have ASP.NET MVC installed in the GAC, discussing what you need to bring with you, and the tooling support.
  • Parallel programming coding guidelines - Neeraj Kaushik highlights a nice coding guidelines document from Igor Ostrovsky of the Parallel Computing Platform Group at Microsoft. The guide discusses techniques and patterns for writing good code for multi-core systems in .NET 4.
  • Project Silk Documentation Drop: New Chapters Ready for Review - Karl Shifflett highlights the next batch of chapters from the Project Silk Patterns and Practices Project, offering advice on building modern cross browser web applications
  • Internet Explorer 9 Developer Tools Deep Dive - Part 1: Introduction - Chris Bowen starts a new series of posts looking at the Internet Explorer 9 Developer Tools which serves as a blog companion to his Code Project Virtual Summit talk on HTML5/CSS3. In this first post, Chris looks at the basics of the IE developer tools, getting you familiar with the various parts of the tooling.
  • Code Metrics - Class Coupling - Zain Naboulsi takes a look at the Class Coupling Code Metrics available in Visual Studio 2010 Premium and Ultimate, exploring their use and looking at an example piece of code which illustrates the metric
  • An Introduction to Service Bus Topics - David Ingham of the AppFabric Team gives a nice introduction to the use of the AppFabric Service Bus explaining the background to the service bus pattern and looking at the code for basic use cases.
  • Getting started with Script# - John Katsiotis gives an introduction to the Script# library which allows you to write web client side interactions in C# and have them compiled down to JavaScript for use in the browser, walking through the process of using it.
  • ReSharper 6 Enhances the JavaScript Experience - Hadi Hariri shares a detailed look at the JavaScript support that is new in ReSharper 6, exploring both native JavaScript and their enhanced jQuery functionality bringing autocomplete, refactoring, code inspection and much more.
  • Why is a Y in the Windows Phone Mango Camera API - René Schulte takes a look at the camera support in Windows Phone Mango, which brings it on par with the support in Silverlight 4, discussing the PhoneCamera class API, highlighting good resources for further information, and filling a few gaps with information on the YCrCb Caputre method.
  • Automatic properties and their backing fields big difference between C# and VB.Net - Christiaan Baes highlights a subtle, but significant different to the implementation of automatic properties between VB.NET and C#, where VB allows access to the generated backing field and C# does not.

Community

The Morning Brew #859

Posted by Chris Alcock on 25 May 2011 | Tagged as: Uncategorized

Windows Phone Mango

Information

Community

  • NxtGenUG - Event - MVC 3 - The Coventry NxtGenUG welcome Ian Russell for a session on ASP.NET MVC3 on the evening of Monday 20th June at the The Royal British Legion in Coventry
  • TechDays 2011: dev session recordings, slides and content online - The MSDN ‘Belux’ team highlight the recordings of the sessions from their recent TechDays events featuring an excellent range of speakers and topics allowing those not able to attend to gain considerable benefit from the event.

The Morning Brew #858

Posted by Chris Alcock on 24 May 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • elmah - Error Logging Modules and Handlers for ASP.NET - The ELMAH team released version 1.2 of ELMAH (Error Logging Modules and Handlers for ASP.NET). This release addresses a number of issues with support for various backend databases for error recording, along with other bugs
  • DiffPlex 1.2 Released - Matthew Manela announces the release of version 1.2 of DiffPlex, the diff engine used by the Code Plex website to compare versions of code. This release adds a new InlineDiffBuilder, case insensitivity, and moves to targeting .NET 4 and Silverlight 4.
  • Announcing HtmlTags 1.0 - Joshua Flanagan announces the release of HtmlTags 1.0, a suite of .NET objects for constructing HTML offering a better way than concatenation of strings. The library offers a fluent interface to construct the HTML, and is available via NuGet.

Information

  • Read-only and threadsafe are different - Eric Lippert discusses the compiler process of building a look up table for all the symbols used in your program, discussing data structures which are immutable, or become immutable upon some ‘Freeze’ action, following on to discuss thread safety of immutable data structures.
  • NuGet Package of the Week #7 - ELMAH (Error Logging Modules and Handlers) with SQL Server Compact - Scott Hanselman takes a look at the combining of ELMAH 1.2 with the SQL Compact database, available as a convenient NuGet Package allowing your web application to capture error information into its own SQL Compact database.
  • Domain Drive Design N-Layered .NET 4.0 Architecture Guide - Miguel Angel Ramos highlights the availability of the English edition of the ‘DDD N-Layered .NET 4.0 Architecture Guide’ along with a supporting Sample Application. The book is available in a variety of e-book formats. The sample application addresses a full range of technologies (.NET4 Core, Windows Server AppFabric and Windows Azure, Silverlight, WPF, ASP.NET MVC clients) showing them in use in a real world like scenario
  • The Basics of MVVM - Paul Sheriff gives a nice introduction to the MVVM pattern and its use in Silverlight / WPF applications, illustrating with a number of samples of code, and discussing why you would want to use the MVVM pattern.
  • New TDD Kata - Interactions - Roy Osherove shares his second Code Kata exercise, based on his previous string calculator kata this one includes interaction with users and interaction testing.
  • A Simple Windows Phone 7 MVVM Tombstoning Example - Colin Eberhardt discusses Windows Phone 7 applciation Tombstoning for applications based on the MVVM pattern, illustrating the implementation of Tombstoning the application with the help of a simple sample application.
  • Webinar wrap-up: Julian on JavaScript - reading jQuery (part 2) - Julian M Bucknall blogs about the second part of his Reading jQuery webinar. The recording of the session is available, and this post discusses some of the key points from the session.
  • A few tips for working with XAML inside of Visual Studio 2010. - Michael Crump shares four tips for making your experience of working with XAML code in Visual Studio 2010 easier and better.
  • Tinyweb Series: 5 To-do Demo - Martin Rue continues his series of posts on his TinyWeb application framework with a look at a sample application which builds on the information in the previous posts to give a better view of the frameworks Model Binding support
  • Cookies Law: Ah the Irony! - Andrew Westgarth discusses changes to the Privacy and Electronic Communications Regulations which come into effect this week in the UK, having an effect on any web applications using cookies

Community

The Morning Brew #857

Posted by Chris Alcock on 23 May 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Happy 20th Birthday Visual Basic! - The Visual Basic Team celebrates the 20th birthday of Visual Basic, first publically announced on 20th May 1991. I, and I suspect may of you, did my first commercial development on Visual Basic back in the pre-.NET era and thoroughly enjoyed it, so join me in wishing VB a very happy birthday.
  • The Big Event is just a week away - Whilst we are doing celebrations in the Software section, many congratulations to Ayende on his Wedding this week. Someone needs to tell him that people usually give the couple presents, and not the other way round has he has decided to offer a 29% discount on the Hibernating Rhinos profiler range until the end of the month.
  • Introducing Debugger Canvas - Kael Rowan shares a video of the Debugger Canvas Power Tool, due to be released next month which brings something of the Code Bubbles development experience to Visual Studio 2010 Debugging

Information

Community

The Morning Brew #856

Posted by Chris Alcock on 20 May 2011 | Tagged as: .NET, Development, Morning Brew

Saw a rumour floating about twitter quite a lot last night about the Open Sourcing of Visual Basic 6 - based on a complete lack of supporting evidence in blog posts and more official channels this morning I suspect it is just an (amusing) rumour.

Software

Information

  • Optional argument corner cases, part four - Eric Lippert rounds off this series of post on Optional Arguments discussing how the default values are actually ’stored’ at the caller sites, and how if you change defaults on a method in a library you need to recompile all the assemblies which call this method to get them to update to the new default
  • Using Task<T> in ASP.NET MVC Today - DevHawk has been exploring the Async CTP and getting used to all that nice Asynchrony and wanted to apply it to controllers in ASP.NET MVC, This post takes a look at creating enough TPL plumbing to allow controllers to use async / await.
  • Microsoft .NET Framework 4 Platform Update 1 KB2478063 Service Pack 5 Feature Set 3.1 R2 November Edition RTW - Maarten Balliauw discusses the importance of good naming, and the recent .NET 4 Platform Update release, talking about how inconsistent and complex naming can cause confusion and lack of understanding.
  • Quick Look at Reverse Engineer DB into Code First Classes - Julie Lerman takes a look at the use of the reverse engineering of a database into Entity Framework Code First classes introduced in the release of the EF Power Tools CTP1, examining a simple database model and looking at some of the classes created.
  • Insert with Dapper Micro ORM and ASP.NET MVC 3 - Jalpesh P. Vadgama continues his series of posts exploring the use of the Dapper Micro ORM with ASP.NET, looking in this post at the inserting of data from a MVC form into your database.
  • Using DebugView to catch debug output of .NET program - Gunnar Peipman highlights an under used, but very useful tool which allows you to see what is going on inside your applications via the Trace and Debug writes. This is a really easy way of seeing diagnostic information in environments where you can’t attach a real debugger to a process.
  • Using Fiddler HTTP Debugger for CRM Troubleshooting and Performance Tuning - JMorlock takes a look at using Fiddler to explore some performance problems in a Dynamics CRM application, although the principles apply equally to any web application, and the article provides a good starting point to learn about the use of Fiddler.
  • Socially-Engineered XSS Attacks - Eric Lawrence discusses the 3 different types of Cross Site Scripting (XSS) attacks that the IE9 team traditionally consider, offering a 4th type, based around social engineering and discussing the efforts that have gone into IE9 to help prevent these attacks from succeeding.
  • Visual Studio vNext - Simon Cooper discusses the news from TechEd about Visual Studio vNext, and the focus on performance, highlighting build improvements, UI Improvements, further speeding up of the Add References dialog, and the use of the PerfWatson tool.
  • Seven Rules for Beginning Programmers - Alfred Thompson highlights 7 rules for developers who are just starting out, originally posed by Paul Vick. As with any list of this nature there are a good number of them that are equally (if not more) applicable to the more seasoned developers amongst us too.
  • Switching to MVVM - Zeeshan Amjad explores implementing MVVM in an existing Brown Fields development, giving the background to the MVVM pattern, and looking at migrating real existing code to work in the MVVM way in this CodeProject article

The Morning Brew #855

Posted by Chris Alcock on 19 May 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • EF Power Tools CTP1 Released - The ADO.NET team announce the release of a preview release of the Entity Framework Power Tools which line up against the EF4.1 release providing design time tooling for Code First
  • NHibernate 3.2.0 Beta1 - The NHibernate Team release the first beta of NHibernate 3.2. This release includes a few breaking changes from NHibernate 3.1 GA along with a number of bug fixes new features and improvements.

Information

Next Page »