March 2011

Monthly Archive

The Morning Brew #824

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

Software

  • NuGet 1.2 Released – Phil Haack announces the (slightly later than planned) release of NuGet 1.2, the latest version of the .NET Package Management Solution from Microsoft. This release includes support for different assemblies for different platforms, Binding Redirects, adding Framework Assemblies as references, and the ability for NuGet.exe to store API Credentials
  • YUI 2.9.0 Release Candidate Is Now Available – The Yahoo User Interface team announce the release their Release Candidate of YUI 2.9.0, providing a final testing and feedback opportunity before the release is final.
  • Preview Drop #3 of Enterprise Library Silverlight Integration Pack – Grigori Melnik announces the release of the 3rd Preview release of the Enterprise Library 5.0 Silverlight Integration Pack. This release includes support for the Validation Application Block, caching, logging, interception of assemblies, and Policy Injection.

Information

  • An Exploration of Dynamic in .NET 4 – Bobby Johnson gives a nice overview of the functionality available for Dynamic Programming in C#, showing how the dynamic like features have evolved through the different .NET versions before reviewing the dynamic ‘type’, DynamicObject class, and ExpandoObject.
  • What’s in a(n Identifier) Name? – Garrett McGowan discusses the level of international language support that programming languages, frameworks and IDEs need to support, and takes a look at what is possible in .NET
  • Fix: ASP.NET 4 Page on IIS 7 Misbehaves When Browser URL Doesn’t Include Default Page – Ken Cox highlights a wierd bug and a fix he encountered on when running an ASP.NET page on IIS 7, where he had no such issue on IIS6
  • Why I Still L.O.V.E. ASP.NET WebForms – John Katsiotis discusses his love for ASP.NET WebForms and how the WebFormsMVP project makes working with them much nicer, illustrating the features with samples.
  • How to Write Windows Shell Extension with .NET Languages – The All-In-One Code Framework team take a look at one of their samples which enables you to create Shell Extensions for Windows in .NET, discussing how and why this became possible in .NET 4, and looking at using the sample to create an extension in this Code Project article.
  • Capturing Screenshots on Windows Phone 7 – Mike Ormond highlights a useful tool for capturing screenshots of Windows Phone 7 applications for inclusion in your Market Place submissions.

Community

The Morning Brew #823

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

Software

  • Style Cop 4.5.3.0 released – Tatworth highlights the release of Style Cop 4.5.3.0, the latest preview release of the v4.5 series
  • Phoney Tools v0.7 Released – Shawn Wildermuth announces the release of version 0.7 of his Phoney Tools library for Windows Phone. This release includes a helper class for working with Enums, improvements to the InputPanelProvider along with various more minor bugfixes and improvements.
  • ASP Classic Compiler is now open source – Li Chen announces the release of the source code for the ASP Classic Compiler under the Apache 2.0 license. This compiler takes Classic ASP code written in VBScript and converts it to a .NET executable which can run within ASP.NET environments.
  • Simple.Data release history – Mark Rendle announces the release of Simple.Data 0.5.6. Simple Data is a lightweight data access library which makes significant use of .NET 4 features (dynamic) to give a SQL like data access story without the dangers of SQL injection.

Information

The Morning Brew #822

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

Software

  • TFS Integration Platform Updated (Mar ’11) – Brian Harry highlights the official binary release of the TFS Integration Platform’s March release, now available on the Visual Studio Gallery. This release is a bugfix release with an impressive number of fixes included giving a boost to the stability of the product.
  • Masked Input Plugin 1.3 – Josh Bush announces version 1.3 of his jQuery Masked Input Plugin. This release fixes a number of bugs and now comes with a suite of tests, along with a better minification resulting in a slightly smaller filesize.

Information

  • Encapsulation: You’re Doing It Wrong – Derick Bailey discusses the Object Oriented Programming Principle of Encapsulation (AKA Information Hiding), looking at some of the myths of encapsulation and discussing ‘Doing it right’
  • Jeff Wilcox’s "Metro" design guide for developers, v1.00 – Jeff Wilcox shares a nice guide to making your Windows Phone Application conform to the Metro look and feel, highlighting the important things to do to get that consistent look and feel.
  • Metro In Motion Part #2 – "Peel" Animations – Colin Eberhardt is also digging into the Metro look and feel, showing in this post how you can achieve the peel application exit animation in your own applications as a transition.
  • Effective Tests: A Test-First Example – Part 1 – Derek Greer presses on with his series on Effective Tests with an introduction to Test Driven Development, and a worked example of using TDD (and a bit of behaviour driven development) to develop some functionality.
  • Scaffolding Actions and Unit Tests with MvcScaffolding – Steve Sanderson continues his series on the use of the MvcScaffolding NuGet package with part three, looking at how the Scaffolding can help with the creation of Actions and Unit Tests by using the provided methods to Scaffold the stub implementations of both into your code.
  • Modifying the default code generation/scaffolding templates in ASP.NET MVC – Scott Hanselman is also focusing on how you can be more efficient when using templating, looking at how you can customise the templates used for code generation in ASP.NET MVC, including a recording of his ASP.NET MVC 2 Ninja Black Belt Tips video where he discusses this concept.
  • Optimizing Regex Performance, Part 3 – Ron Petrusha continues his long running series about Regular Expression Performance over on the BCL Team Blog. This part focuses on the performance of capturing and non-capturing groups in your Regular Expressions.
  • Webinar wrap-up: Julian on JavaScript IV: Good code, bad code – Julian M Bucknall follows up on his Webinar series on JavaScript with a post looking at examples of good and bad JavaScript to illustrate the points from the series
  • Associations in EF 4.1 Code First: Part 2 – Complex Types – Morteza Manavi continues this series with a look at the mapping of Complex Types using Entity Framework Code First, discussing the definition of Complex Types, and looking at the implementation of mapping using Code First.

Community

  • Monads! European Virtual ALT.NET Tuesday 29th March – Tonight (Tuesday 29th March) sees Mike Hadlow presenting his Monads talk to the European Virtual Alt.Net Usergroup. The event kicks off at 7PM GMT (Don’t forget we are now on British Summer Time – GMT+1) and will certainly be an interesting presentation.

The Morning Brew #821

Posted by on 28 Mar 2011 | Tagged as: Uncategorized

Software

Information

Community

The Morning Brew #820

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

Software

  • Phone Tools v0.6 Released – Breaking Change! – Shawn Wildermuth announces a update to his Phoney Tools library for Windows Phone 7, taking the version to 0.6. This release includes breaking changes caused by a restructuring of the Networking and Microphone classes into their own assemblies. This version also features a streamlined NuGet install process based on feedback from Scott Hanselman
  • Cloud Sync/Backup your Visual Studio settings with Pepper – Greg Duncan highlights Pepper, a Visual Studio 2010 extension from Robert MacLean which backups up / synchronises your Visual Studio settings ‘to the cloud’ (an SQL Azure database)
  • Expression Web 4 Service Pack 1 Available for Download – Wes Yanaga highlights the Expression 4 Service Pack 1 release, giving a summary of the bugfixes and improvements included in the service pack release.
  • Building Windows Phone 7 Apps just got easier! – Allan Naim highlights the launch of AppMakr, a web based application which creates Windows Phone 7 Applications for you in your browser, drawing on website RSS feeds for their data, and providing push notification and social media integrations.

Information

  • Implementing the virtual method pattern in C#, Part Three – Eric Lippert continues his series looking at how you would go about implementing Virtual Methods (in C#) if they didn’t already exist. In this post Eric looks at improving on the technique introduced in the previous part, and introduces the concept of virtual function dispatch tables.
  • C#/.NET Little Wonders: The ToLookup() LINQ Extension Method – James Michael Hare continues his on-going series of posts looking at the various little wonders contained in the C# language and .NET Framework. This instalment looks at the use of the ToLookup LINQ extension method to manipulate your IEnumerable<T> into a specific collection data structure.
  • When Should a Method Be a Property? – Rob Conery discusses the (often confused) issue of wether to use a property or a method for a particular class member, looking at an example and refering to the MSDN guidance on the subject. Discussion on this one is beginning in the comments
  • Brief introduction to Windows Identity Foundation – Gunnar Peipman shares his first ever webcast, on Windows Identity Foundation, providing an introductory overview of the WIF claims based authentication, sharing the slide deck and also a number of reference links on the subject.
  • IE9′s Document Modes and JavaScript – Gaurav Seth and Paul Chapman discuss the behaviour of the JavaScript engine in Internet Explorer 9, and how the different compatibility modes change the behaviour to help ensure that your sites continue to work.
  • WCF How To’s Index – Alik Levin shares a link list of MSDN How To documentation for a variety of WCF features
  • So you think you’ve finished implementing that new Windows Phone 7 page? – Damian Mehers shares a checklist for declaring that a Windows Phone 7 page complete which will help you ensure that your WP7 page conforms to best practices.
  • Ways to Load Applications Faster – A Windows Phone Recipe – Arik Poznanski shares a loading procedure for making your Windows Phone 7 Applications load as quickly as possible, discussing the WP7 lifetime events, showing a slow loading application, and working to make this application load quicker using 4 tips.
  • Producing and Consuming OData in a Silverlight and Windows Phone 7 application (Part 1) – Michael Crump highlights an article series he is writing for SilverlightShow.net exploring the use of OData data in Windows Phone 7 and Silverlight applications

The Morning Brew #819

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

Software

  • NOW AVAILABLE: Windows Azure Toolkit for Windows Phone 7 – The Windows Azure Team announce the release of the Windows Azure Toolkit for Windows Phone 7, providing a head start for anyone wanting to use the Windows Azure Services from the Windows Phone Device. The kit includes binaries, project templates and sample applications, along with some additional tooling to make sure things will work when deployed to the device.

Information

Community

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.

Next Page »