January 2012

Monthly Archive

The Morning Brew #1025

Posted by on 19 Jan 2012 | Tagged as: .NET, Development, Morning Brew

Software

Information

Community

  • Microsoft IE6 Migration – Tarun Arora highlights the Microsoft IE6 Migration Roadshow events. These events, in conjunction with various partners, are taking place in February, March and April in Manchester, Chalfont St. Peter, London, and Reading. The idea behind the events is to help IT departments understand the issues with migration and why the need to perform migration
  • Join me for a developer webcast for Windows Phone 7.5 – Paul Laberge’s Windows Phone 7.5 Developer webcast is today (January 19th) at 1PM EST / 10am PST. This web cast runs for 3 hours, looking at implementing a variety of Windows Phone features into your applications. The even better news is that the session will be recorded and made available after the event!

The Morning Brew #1024

Posted by on 18 Jan 2012 | Tagged as: .NET, Development, Morning Brew

As websites all over the internet go dark to protest SOPA, I arrive at the 1024th edition of the Morning Brew. I had planned this to be a big celebration, but due to a variety of factors I haven’t had the time to do anything grand, and due to bad road traffic today’s edition is even shorter than usual :(

Software

  • Gate 0.2.1 implementation of OWIN online at NuGet – Louis DeJardin announces the 0.2.1 release of the Gate implementation of OWIN (the Open Web Interface for .NET). Gate is a reference implementation of the standard for connecting web servers and web applications, and is available as a NuGet Package
  • SisoDb v9.0 Released – Daniel Wertheim announces the V9 release of SISODB, a free and open source document oriented provider for SQL Server and SQL CE 4 Databases. This release includes compatibility with SQL 2012 Express RC0, a new indexing structure in the database and some initial work to support future plans for providers which do not support transactions.

Information

  • January 17th What’s Happening Around Visual Studio – Jason Zander gives an update on the last few months from the point of view of the Visual Studio team, giving a nice recap of the significant events and releases over the past few months including the Roslyn CTP, Azure SDK, TFS on Azure, TFS Power Tools and the ALM Summit.
  • Modern Web Development – Part 1 – Shawn Wildermuth kicks off a new series looking at the evolved state of Web Development and sharing some of the experiences he has had building FirstInked. This first part focuses on the changes in the art of web development in the past 10 years.
  • 10 Things ASP.NET Developers Should Know About Web.config Inheritance and Overrides – Jon Galloway shares 10 key tips to understanding the way in which web config values are inherited and set in a variety of different (yet common) situations. Essential reading for anyone doing any web development beyond the most basic ASP.NET sites.
  • Utilising MEF to self-register HTTP modules – Tom Pipe discusses how he used the Managed Extensibility Framework (MEF) to register HTTP Modules in his application without configuration in web.config, using attributes on the type to locate the modules and have them loaded using the DynamicModuleUtility.RegisterModule() method to register them with ASP.NET.
  • Restful WCF / EF POCO / UnitOfWork / Repository / MEF : 1 of 2 – Sacha Barber kicks off a new two part post series looking at constructing a RESTful service layer using best practices and the Microsoft technologies WCF, Entity Framework, MEF and the repository pattern. This post focus on all the key technology and implementation with a forthcoming second part looking at the creation of a consumer application.
  • Speech Recognition – Exploring Grammar Based Recognition – Robert Lucero has been exploring the use of Speech Recognition in your own applications, in this post discussing the use of grammar to control the words recognised, illustrating with a sample application. Be sure to check out Robert’s other posts on this topic too.

The Morning Brew #1023

Posted by on 17 Jan 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • Coded UI Tests : WPF Utilities – Jonathan Antoine shares a collection of helper methods for Coded UI Tests to help when working with Tree View, List View, and general control instances, along with simpler expand, collapsem invoke and select helpers.

Information

  • What is the defining characteristic of a local variable? – Eric Lippert discusses the actual meaning of a ‘local scope variable’, looking at some of the common misconceptions and implementation details which often get swept up into the definition.
  • Struct vs. Class, Safety vs. Speed – Bill Wagner discusses some points and questions which were raised at CodeMash about the use of Structs in place of classes for performance, looking at a couple of different scenarios and rules about the use of structs.
  • Eduasync part 19: ordering by completion, ahead of time… – Jon Skeet continues his eduasync series exploring the ordering of the results of tasks exploring the implementation and a sample which illustrates it in operation
  • Building the next generation file system for Windows: ReFS – Steven Sinofsky and the Windows 8 team are still innovating away, and in this post Steven discusses the new file system ReFS based on the ideas behind NTFS and additional customer requirements, which is to be included in server editions of Windows 8.
  • Approval testing – value for the money – Krzysztof Kozmic discusses some of the common problems with automated testing, including the burden of test code which adds little value, and introduces the concept of Approval Testing, a practice he has been using on recent projects, looking at an example from the Windsor project to illustrate the practice.
  • How Do You Pick Open Source Libraries? – Dany Brion discusses some of the things he considers when attempting to pick an open source library from the vast array available to solve a particular problem.
  • Marines vs. Boy Scouts – Chris Brandsma discusses the two common approaches to working on an existing code base, the ‘get in get out’ marine approach and the “Leave thing better than you found them” Boy Scout approach, discussing that both have disadvantages when used inappropriately.

Community

The Morning Brew #1022

Posted by on 16 Jan 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • Fluent Assertions 1.7.0 has been released – Dennis Doomen announces the latest release of this Fluent Assertions library. 1.7.0 Contains new functionality for checking collections of types for particular methods and attributes, XElament and XAttribute assertions along with bugfixes from the previous version. The library is available via NuGet.
  • EF 4.3 Beta 1 Released – The ADO.NET Entity Framework Team announces the release of the first beta of Entity Framework 4.3, the final planned public release before RTM. This release brings the Code First migrations into the main EF package, along with improvements to CodeFirst Migrations, and a variety of bugfixes for the DbContext API and CodeFirst.
  • DBDeploy.Net 2 – Robert May announces DBDeploy.NET 2, a complete re-write of the original DbDeploy which adds support for deployment to SQL Azure.

Information

  • Autocorrecting unknown actions using the Levenshtein distance – Jef Claes takes a look at ‘autocorrecting’ calls to actions where the user gets the name of the action (on the URL) incorrect, taking a look at how ASP.NET MVC works internally, exploring the Levenshtein distance algorithm, and putting them both together into a neat solution.
  • A quick look at MetroRadio: quick spacing, margin, and icon tips for Windows Phone devs – Jeff Wilcox discusses some of the slight UX issues in a real world Windows Phone application, exploring both the actual application and looking at spacing and alignment and looking at how the application is displayed in the marketplace.
  • Comparing Strings in Unit Tests – Phil Haack discusses some of the pain in Unit testing when comparing strings, and how the output from the assert method is often less than useful in identifying what is wrong. Phil shares a simple method which supplements the output with a breakdown of the strings. Be sure to check out the comments for discussion of other techniques and libraries of helper asserts.
  • JavaScript Performance – Steve Souders shares slides and discussion from his recent talk at the San Francisco JavaScript Meetup where he looked at the implementation of the Google Analytics Async loader discussing its performance impacts.
  • Understanding CoffeeScript Comprehensions – Karl Seguin discusses the role of Comprehensions in CoffeeScript, illustrating their use with a simple example.
  • Unable to cast transparent proxy to type <type> – Rick Strahl discusses some of the difficulties you may encounter when working with code which loads types into different AppDomains, highlighting the use of the .NET Fusion Log Viewer for help in diagnosing issues when loading assemblies.
  • Input Parameters in Fluent API – Mehdi Khalili continues his series looking at his bddify library. This part of the series looks at how the library handles input parameters when working with the Fluent API allowing your test methods to be parameterised and to have the BDD scenario output reflect these values.
  • FAQ on Task.Start – Stephen Toub answers 8 commonly asked questions on the Task.Start method, discussing what the method is useful form how it differs from Task.Factory.StartNew, the role of Task.Result, and using tasks in your API.

Community

  • New year, new venue and making more money! – The London based Windows Phone User Group welcome Alan Mendelvich to a new venue for a talk on making money with your Windows Phone 7 Applications on Tuesday 31st January.
  • Event: Straighten Spaghetti with C# 5 – The Cambridge NxtGenUG Chapeter welcome Jon Skeet for a session looking at making clean clear straight forward code using C#5 and the new Async support on the evening of Thursday 16th February 2012.

The Morning Brew #1021

Posted by on 13 Jan 2012 | Tagged as: .NET, Development, Morning Brew

Information

  • C#/.NET Little Pitfalls: Stopwatch Ticks are not TimeSpan Ticks – James Michael Hare continues his ‘little pitfalls’ series which explores areas of the C# language and .NET Framework which can be confusing, misleading of simply a little strange. In this post James explores the Stopwatch’s ElapsedTicks property and how they don’t necessarily represent the same ‘ticks’ as used elsewhere in the framework.
  • Inside the Concurrent Collections: ConcurrentStack – Simon Cooper continues his series looking at the internals of the Concurrent Collections introduced in .NET 4. This post sees the ConcurrentStack fall under the microscope, with a look at how it works internally and how concurrency is supported.
  • Scoping CQRS/ES Guidance Project – Grigori Melnik discusses a pending project from the Patterns and Practices team at Microsoft to create a reference implementation of a Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) based architecture. The team have a questionnaire which they would appreciate your feedback to help them focus and scope the project.
  • Using Rx? Subscribe to exceptions! – ‘BenWilli’ highlights the ability within the Reactive Extensions for .NET to gracefully handle exceptions, and discusses a recent situation where he didn’t make use of this feature which resulted in a large number of crash reports of his Windows Phone 7 application.
  • A C# Extension Method using Expression Trees to Create an instance from a Type – Steve Wilkes shares an extension method which will create an instance of a type from the type object, making use of expression trees to make the instantiation perform well.
  • Integration testing with Azure development storage – Rory Primrose discusses the problem with the Windows Azure development storage when you want to use it in a unit testing scenario, discovering a solution for the Azure SDK 1.0, and updates and shares a version which works with the 1.6 SDK.
  • Charles Petzold on His 25 Years with MSDN Magazine – Michael Desmond celebrates 25 years of MSDN magazine (as both the Microsoft Systems Journal and MSDN Magazine as it is today), sharing a recent interview with Charles Petzold, a contributor to the publication since its inception.
  • ASP.NET MVC 3 Real Time Collaborative Apps with SignalR – Sumit Maitra walks through the creation of a simple application using ASP.NET MVC 3 and the SignalR asynchronous signalling framework which allows you to create persistent connections between your client side code and server side code.
  • Bringing Cut the Rope to Life in an HTML5 Browser: Behind the Scenes – MSDN UK Team blog – Site Home – MSDN Blogs – Sara Allison shares an article from Microsoft Senior Technical Evangelist Giorgio Sardo discussing the migration of the iPhone Game ‘Cut the Rope’ to a HTML5 implementation to run in Internet Explorer, highlighting the chalenges of perfomance and the tooling used.

Community

  • Developing iOS applications with C# and .NET using MonoTouch – The Canary Wharf .NET User Group welcome Chris Hardy for a session on using C# and .NET to build applications for iOS making use of MonoTouch. This event is currently fully booked, but a waiting list is running so there is still a chance you will be able to attend.

The Morning Brew #1020

Posted by on 12 Jan 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • jQuery UI 1.8.17 – The jQuery UI Team announce the release of jQuery 1.8.17, the 17th maintenance release which includes fixes for a number of UI controls along with support for jQuery 1.7.1
  • BugAid – Enhanced C# Debugging tool (and free for non-commercial open source projects too) – Greg Duncan highlights BugAid, a set of tooling which enhances the debugging capabilities of Visual Studio, adding a bunch of great features. The BugAid team are also offering free licenses to those involved in Open Source development.
  • The ‘Cloud Numerics’ Programming and runtime execution model – The Cloud Numerics team announce their project to the world. Cloud Numerics is a programming framework for .NET which is geared towards performing distributed numerical calculations, using techniques and technology like map reduce, Windows Azure and Hadoop.
  • Kicking off StructureMap 3 – Jeremy D Miller shares his plans for the next major release of his StructureMap IoC project, outlining the changes and features he hopes to include

Information

  • Eduasync part 18: Changes between the Async CTP and the Visual Studio 11 Preview – Jon Skeet continues his series looking at the Async coming in future versions of C# / .NET functionality, reviewing the differences in Async functionality between the Async CTP and the Visual Studio 11 preview release.
  • How to deploy Mono projects with Heroku – Ben Hall shows how he got .NET projects (such as Nancy) running under Mono up and running on the Heroku cloud hosting platform, walking through the process step by step.
  • Advanced Debugging in Visual Studio – Pankaj Chamria shares a number of debugging tips and tricks, many of which are less well known or understood in this CodeProject article.
  • Controlling Selection with CSS user-select – Sharon Newman of the Internet Explorer Team discusses their implementation of -ms-user-select a CSS property which allows web developers to control which areas of the page can have content selected, allowing you to refine the user experience for text selection.
  • Vendor Prefixes and JavaScript – Martin Beeby discusses the use of vendor prefixes in CSS, and discusses the concept behind them and how they are named when accessed through JavaScript.
  • Getting stated with Git and GitHub – Simone Chiaretta collects together a number of good resources to help you get up and running with distributed versioning using git and GitHub.
  • User Login done right – Jaco Pretorius takes a look at the humble login page, exploring implementations from FaceBook and Google looking at some of the differences in how they handle incorrect usernames, passwords and other user account behaviours such as lockout.
  • Tips for a YSlow “Grade A” website with ASP.NET MVC 4 – Harvey Kandola discusses the use of YSlow to identify performance problems on your website, looking at ho his team addressed the identified issues in a recently launched ASP.NET MVC 4 site.

Community

  • "Unplugged"¯ LIDNUG online talk with me on Monday (Jan 16th) – Scott Guthrie is giving another of his ‘unplugged’ talks for the LinkedIn .NET Usergroup (LIDNUG) on Monday 16th January between 10am and 11:30am PST. This is a great opportunity to learn more about Scott’s work at Microsoft, products and gives you a chance to ask him your questions.
  • XPMan XL3 – February 4th 2012 – XP Manchester, the eXtreme Programming group here in the North West of England are hosting their 3rd all day event on Saturday 4th February. The focus of this event is ‘release early, release often’, with a number of hands on sessions planned. The event is also looking for sponsors, so if you or your employer can help out get in touch with them.
  • XPManchester 12th January – Refactoring with James McDonald. – XP Manchester also have their first evening event of the year tonight (12th January) at Madlab, featuring James McDonald looking at using refactoring to improve a bad code base.

The Morning Brew #1019

Posted by on 11 Jan 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • Released RequestReduce 1.7.0: Giving the RequestReduce onboarding story a happy beginning – Matt Wrock announces the release of RequestReduce 1.7.0, the latest update to this library for helping you to reduce the size of your web pages. This release improves the handling of complex CSS involving multiples classes, improves performances of page processing with lots of sprites, adds support for Windows authentication when retrieving files, and better handles CSS with no content.
  • Vulnerability in AntiXSS Library Could Allow Information Disclosure – Barry Dorrans announces the release of a new version of the AntiXSS Library to address issues with possible information disclosure as discussed in MS12-007. This update requires you to update your developer tools, and rebuild (test) and deploy applications which make use of the AntiXSS library to gain protection.
  • Upcoming Releases: 1.0.1, 1.1, and beyond – Todd Parker of the jQuery Mobile Team outlines the next 3 planned release, with a maintenance release planned for jQuery Mobile 1.0, and then looks at what they hope to include in version 1.1 and 1.2, with lots of new features and widgets planned.

Information

Community

  • Knockout.js & YOUR Mobile Future – The DevEvening UserGroup in Woking, Surry welcome Graeme Foster and Matt Lacey to present at their next meeting, on Wednesday 25th January. Graeme will be presenting a session on building client side web applications using Knockout.js, and Matt will be talking about mobile development trends.
  • Matt Lacey on Tour – Gary Ewan Park shares the plans for Matt Lacy to visit the various Scottish usergroups, with sessions planned for Glasgow, Edinburgh, Dundee and Aberdeen during the week commencing Monday 20th February.
  • Updated agenda for Six Weeks of Windows Azure now available #6weeksazure – Eric Nelson highlights the latest updates to the Six Weeks of Windows Azure, and also reminds us all that it is not too late to sign up for this 6 week course in all aspects of Windows Azure, due to kick off on 23rd January.
  • NxtGenUG – Event – This Androids Life – Ross Scott will be delivering his session on the various options for development of Android applications at the Oxford / Abindgon NxtGenUG group in Tuesday 7th February. In the session Ross will look at using HTML5 and Phone Gap, Java and .NET / C# to develop applications for Android devices.

The Morning Brew #1018

Posted by on 10 Jan 2012 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • Every public change is a breaking change – Eric Lippert discusses the concept of a breaking change, where code that compiled against the previous version of a library no longer compiles, looking at some of the more exotic causes of this type of breaking change.
  • The evolution of asynchronous controllers in ASP.NET MVC – Simone Chiaretta discusses the improvements that have been made to Asynchronous Controllers in the MVC 4 preview release, discussing who the techniques for creating async controllers is now easier, shorter and more comprehendible using the task library.
  • Minify JavaScript using UglifyJS and NodeJS – Jonathan Creamer highlights the JavaScript minification offered by UglyifyJS, a minifier which runs on NodeJS. In this post Jonathan walks through the required installations to get the standalone command line tool up and running.
  • CSS Corner: Using the Whole Font – Sylvain Galineau of the Internet Explorer Team discusses the enhanced typography which is now possible using the CSS3 @font-face rule and WOFF font packaging format, showing how the features of OpenType can be utilised.
  • In .NET, open source does not beget open source – Benjamin van der Veen discusses some of the friction points along the way of getting .NET Open source projects to build and make use of the various open source projects which provide testing, packaging, etc both on .NET and Mono.

Community

  • 16 Feb 2012 – Simple.Data and FubuMVC – Mark Rendle and Ian Battersby join the Kent .NET and SQL User group on Thursday 16th February 2012 for two sessions on Simple.Data and FubuMVC respectivly.
  • SQLSoton – January 11th – The Southampton SQL Server User Group wecome Chris Webb and John Martin for 2 sessions tomorrow evening (11th January), with Chris presenting a session on ‘Introduction to DAX queries and Calculations’ and John presenting a session titled ‘Service Broker 101′

« Previous PageNext Page »