April 2011

Monthly Archive

The Morning Brew #834

Posted by on 14 Apr 2011 | Tagged as: .NET, Development, Morning Brew

A browser crash at too later stage in my Morning Brew Prep has curtailed today’s Information section – anything from yesterday that didn’t go in today will be in tomorrow’s edition

MIX, Silverlight and Windows Phone

Software

  • Refreshing the Async CTP – Eric Lippert announces the release of the next Community Preview of the Async Language Features. This release brings Async features to the Windows Phone Platform, works in non-english versions of Visual Studio, and includes a Go Live License allowing you to use these features in production (at your own risk). This release also contains features and fixes to address the top issues raised with the previous CTP and is well worth checking out. Lucian Wischik has details of the install process, and getting up and running with Async on the Phone in his post Async CTP Refresh – Installation
  • RouteDebugger 2.0 – Phil Haack highlights a really useful looking tool for helping diagnose Routing issues available as a part of the Glimpse Web Debugger project.
  • xUnit.net 1.8 – The xUnit.NET team have released the RTM version of xUnit.NET 1.8 – from what I gather this release is actually the same as the release Candidate, just with a label change on the download – great news as the RC process must have had no significant issues – well done guys
  • Announcing datajs version 0.0.3 – Asad Khan of the WCF Data Services Team announces the release of data.js 0.0.3, a library for JavaScript which aims to make data heavy application development easier. This new release makes use of some of the HTML5 local data storage features to improve the caching of data, and adds pre-fetch capabilities

Information

  • The seven deadly sins for the developer (* some restrictions apply) – Ayende kicks off a discussion of Development Anti-patterns, sharing three of the worst practices, and calls for his readers to add their own ‘favourite’ crimes against code in the comments.
  • Me on NHibernate 3.2 – James Gregory discusses the new Fluent ‘loquacious’ API for configuring NHibernate in NHibernate 3.2, and how this relates to the FluentNHibernate project

Community

The Morning Brew #833

Posted by on 13 Apr 2011 | Tagged as: .NET, Development, Morning Brew

Software & MIX11

  • Introducing ASP.NET MVC 3 Tools Update – Phil Haack announces the release of the ASP.NET MVC 3 Tools update, This release does not bring new features for the MVC Framework, but brings some really cool updates to the Visual Studio tooling, including HTML5 templates, Scaffolding of Controllers with plug-in capability, the inclusion of Modernizr and Entity Framework 4.1, along with JavaScript dependencies as NuGet packages allowing for easier updates to these. And if this wasn’t enough, you also get NuGet 1.2 as the cherry on top
  • EF 4.1 Released – The Entity Framework Team announce the RTW release of Microsoft ADO.NET Entity Framework 4.1 which brings the official release of the DbContext API, giving a easier to use interface to the Object Context along with the introduction of Entity Framework Code First, allowing you create model classes and define their mappings in code.
  • MVC 3 and EF 4.1 Code First: Here are my classes, now you do the rest, kthxbai – Julie Lerman takes a walkthrough of the MVC3 Tools Update and Entity Framework 4.1 Code First, illustrating a use case that is now possible using the features introduced in these latest releases.
  • Native HTML5: First IE10 Platform Preview Available for Download – Hot on the heels of Internet Explorer 9 and after only 3 weeks development the Internet Explorer announced their first preview release of Internet Explorer 10 in the MIX11 Keynote. IE 10 continues to build on the HTML5 functionality of IE9, expanding on the standards compliance and performance work, with support for things like CSS3 Gradients, Grid and Column layouts, Transitions and 3D Transforms.
  • The World’s Biggest Pac-Man & SVG Girl – Another feature of the Internet Explorer part of the keynote was a number of new TestDrive examples showing the power of Internet Explorer 9′s Graphics and Hardware acceleration, and in these two posts Joey deVilla highlights two very impressive examples.
  • Windows Azure News from MIX11 (April 2011) & Access Control Service V2 – Free Until 2012! & Windows Azure Traffic Manager (WATM) CTP announced at MIX 11 – Lots of new stuff was also announced in the Windows Azure Space, including a new SDK release offering improved deployment tooling, the production release of then Access Control Service (which is free to use through to January 2012), and a CTP release of the Azure Traffic Manager, providing functionality for Geographically distributed data centre deployments.
  • Windows Azure Benefits for MSDN: New and improved – Jim O’Neil highlights and explains some changes (improvements on the whole) to the Windows Azure Benefits included as a part of an MSDN Subscription, bringing increased quotas across the board, and also the introduction of benefits for Visual Studio Professional MSDN Subscribers.
  • Free security updates for April – Marcelle Amelia highlights yesterday’s Patch Tuesday update patches, including a number of important security ones, so make sure you apply these patches to all environments you are responsible for.

Information

Community

  • Monospace has a home! – Louis Salin confirms some good news about the Monospace conference, with a date and location for the event now secured in Boston. The conference Call for Speakers is currently open, so if you have an interest in presenting on Mono, of the OpenSource .NET space then get your submissions in.
  • DDD South West Registration is Open – Rachel Hawley highlights the opening of registrations for the third DeveloperDeveloperDeveloper South West Conference to be held near Bristol on Saturday 11th June 2011. Spaces are filling up quickly so register soon to avoid missing out. Also Rachel gives a shout out to next month’s DeveloperDeveloperDeveloper Scotland conference, which is currently accepting Waiting List registrations as the event has ‘sold’ out.

The Morning Brew #832

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

Software

  • Caliburn.Micro RTW, NuGet Support, Mix Open Source Festival! – Rob Eisenberg announces the release of Caliburn,Micro 1.0 RTW for Silverlight, WPF and Windows Phone. This release brings a number if new features for providing modal dialogs and support for obtaining the library using the NuGet package manager.
  • Phoney Tools 1.0 Released! – Shawn Wildermuth announces the release of Phoney Tools 1.0, his library of tools for Windows Phone Development which contains controls, helper classes and converter implementations. The library is available as source and Binary and also via NuGet.
  • Version 4.5.10.0 of StyleCop released & StyleCop for VB.NET – do you want it? – Tatworth announces the latest beta release of StyleCop which includes a number of bug fixes, 5 new rules, and now also contains the StyleCop for ReSharper plugin. Also, support for VB.NET is under discussion on the CodePlex site, so if you are a VB’er who is interested in having StyleCop like functionality for VB.NET, go share your opinion.

Information

  • Intro to WinDBG for .NET Developers – Kirk Evans gives an introductory look at WinDBG Debugger and and PssCor2 Debugging Extensions, walking through the use of these tools in diagnosing problems with a simple sample program.
  • Effective Tests: A Test-First Example – Part 3 – Derek Greer continues his series looking at Test Driven Development and good Tests, continuing with his worked TDD example Tic-Tac-Toe game implementing the last few requirements tests and implementation, discussing and looking at the refactoring in detail.
  • ASP Classic Compiler: the unit testing framework is released & How to contribute – Li Chen releases and discusses the testing framework for this Classic ASP to .NET compiler project, and also puts out an appeal for other interested developers to get involved with the project.
  • On Development: An alternative to NotImplementedException – Patrik Hägne shares a simple tip using the Conditional Compilation features of C# to provide a means for breaking the build if you forget to implement some functionality when not building in release mode.
  • Visual Studio 2010 Version Selector fails to Open SLN files – Ron Jacobs shares a useful tip regarding problems with the Visual Studio Version Selector not opening seemingly valid Solution files due to them being the incorrect character encoding.
  • A Developers’ Guide to Refactoring Databases – Nick Harrison discusses the why and how of implementing Evolutionary Database Design looking at the best practices for refactoring databases and sharing some guidelines for performing these refactorings.
  • Rounded Corners and Shadows – Dialogs with CSS – Rick Stral takes a look at the complicated landscape of CSS Rounded Corner support in browsers, looking at how you can use these features to generate nice looking dialog boxes using the browsers own functionality.

Community

  • DDD South West – Registration for DeveloperDeveloperDeveloper South West 3.0 opens today (Tuesday 12th April) for the event near Bristol on Saturday 11th June. DDD SW, like all the DDD events is for the community by the community, and boasts a great agenda of sessions from top UK based speakers (and me).
  • Mix11 – Watch the keynotes live, read the liveblog – Guy Barrette reminds us all of the Mix Keynote broadcast and live blog, both good ways of keeping up to date with what is going on over in Vegas over the next few days.

The Morning Brew #831

Posted by on 11 Apr 2011 | Tagged as: .NET, Development

Software

  • Announcing TouchStudio – Nikolai Tillmann announces TouchStudio, a new project from the Microsoft Research ‘Research in Software Engineering’ group. TouchStudio allows you to write scripts on your phone device and have them executed there too, and the first version is available now on the MarketPlace.
  • Extended WPF Toolkit Release 1.4.0 – Brian Lagunas announces the latest release of the Extended WPF Toolkit which introduces 11 new controls to the library along with the usual improvements and bugfixes to existing ones. Brian’s post gives an overview of each of the new controls (Calculator, ColorCanvas, DateTimePicker, DecimalUpDown, DoubleUpDown, IntegerUpDown, PropertyGrid, SplitButton, TimePicker, and WatermarkTextBox)
  • NuGet package for Sharp Architecture – Alec Whittington – Alec Whittington announces the availability of a NuGet Package for the Sharp Architecture, making it really easy to get SharpArchitecture up and running in your project and ensuring that the key dependencies are installed correctly.

Information

  • MvcScaffolding: Scaffolding custom collections of files – Steve Sanderson completes his series exploring the MvcScaffold NuGet Package with a look at generating multiple files which work together, and illustrates the power of MvcScaffold with an examples of an Ajax powered controller.
  • Getting Constructive On ASP.NET Deployment – Rob Conery continunes his discussions of Web Deployment taking a look at how current Microsoft Tools could be extended to make deployment easier, proposing a number of interesting solutions.
  • Building Caliburn.Micro’s NuGet Package – Rob Eisenberg discusses the creation of the NuGet package for Caliburn.Micro, highlighing some of the key lessons learned, and sharing the scripts which help construct the package and make the install work.
  • Introducing LLBLGen Pro QuerySpec: a new fluent query API – Frans Bouma introduces the new Query API for LLBLGen, bringing a new fluent expressive API , discussing some of the key points of the API and some of the design decisions made during its creation.
  • NHibernate Examples – Davy Brion has begun the process of updating his NHibernate Samples from NHibernate 1.2 to the current revision, constructed as a suite of Automated tests running against a SQLite database. Full source code of the examples can be downloaded, and Davy will be adding to them over the coming weeks.
  • On deprecation – Grigori Melnik discusses the processes behind the depreciation/retirement of features from the Enterprise Library, looking at the thinking behind these decisions and sharing some real world examples of features which have be considered for depreciation.
  • ditto : with regard to AutoMapper – Mike Nichols continues discussion of his ditto project, discussing in this post how ditto is different from AutoMapper
  • The Visual Studio Patch Place – Greg Duncan highlights the Visual Studio 2010 Patch list, a list of all patches for Visual Studio available on Connect, many of which are already parts of the service pack releases, but some others which have not been included.
  • Refactoring toward frictionless & odorless code: Limiting session scope &The case for the view model – Ayende is mid-stream of an interesting series looking at refactorings and patterns which can make your code better and easier to work with, and in these two posts discusses an anti-pattern of keeping sessions open too late and allowing views to request data, and looks at how the View Model pattern can be introduced to avoid these problems.

Community

  • Software Craftsmanship Round-table (New Venue) – The London Software Craftsmanship Community host their next Software Craftsmanship Round–Table event on the evening of Monday 18th April at a new venue. Places are limited to 25 for this event which offers an informal environment to discuss code, patterns and technology.
  • Slides and Notes from "So You Think You Know JavaScript" – Dylan Beattie shares the slides and video along with sample code used in his recent London .NET User Group presentation on JavaScript at Skills Matter.

The Morning Brew #830

Posted by on 08 Apr 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Enter ditto – Mike Nichols releases Ditto, an object to object mapper which itches his scratch for an implementation which will work as a CQRS denormaliser for updating a view model from multiple different events. In this post Mike discusses his motivation for the project, along with discussing the design and implementation. Full source is available on github.
  • Pepper: A Visual Studio Settings Synchronisation & Backup Extension – Willy-Peter Schaub highlights Pepper, a Visual Studio 2010 extension from Robert MacLean which provides a means of backing up and synchronising your IDE settings, allowing you to keep settings in sync between multiple machines or simply keep a backup copy in the cloud.
  • dotCover 1.1, dotTrace 4.5 Performance Beta Releases – The JetBrains team announces the beta releases of dotCover 1.1 and dotTrace 4.5. These new versions build on the success of the Early Access Preview releases, and dotCover boasts improved integration over the EAP release, as well as all the other new features. dotTrace gains improved calls stack display, better performance gain prediction, improved performance and much more.
  • Team Explorer Everywhere is now available in 3 new languages – Brian Harry announces the release of three new UI languages for Team Explorer Everywhere as a single language pack which adds German, French and Japanese languages.

Information

  • MvcScaffolding: Creating custom scaffolders – Steve Sanderson continues his series on MvcScaffolding and hi look at the customisation of the framework with a look at creating your own scaffolders allowing you to have the MvcScaffold framework create things other than the built in controllers, actions, repositories, etc
  • NuGet Needs Your Input – Phil Haack, on behalf of the NuGet project, appeals to the community for help in making decisions regarding multiproject solutions. If you have 5 minutes read this post and fill out the short survey to help the team make the right decision.
  • Building Better HTML5 – Somasegar discusses the support for HTML5 across the Microsoft Developer tools currently available, including Internet Explorer 9 Developer Tools, Expression Web 4, Expression SuperPreview and Visual Studio 2010, along with highlighting a number of other projects and resources for working with HTML5.
  • Add dynamic property in regular objects with new dynamic object supports in .net 4 – Kazi Manzur Rashid takes a look at using dynamic objects with your existing static typed objects to provide dynamic properties on your objects, and looks at providing nice support to allow casting your object as dynamic to give nicer access to these dynamic properties.
  • OData Primer wiki content re’org… Now we’re cooking with pages! – Greg Duncan highlights the OData Primer wiki and discusses his involvement with the project which is cataloging the great resources about all aspects of OData.
  • Paper: A Co-Relational Model of Data for Large Shared Data Banks – Todd Hoff highlights a paper from Erik Meijer and Gavin Bierman which discusses noSql databases as the duality of regualr SQL databases. Duality is a very interesting concept when applied to computer science and gives some very powerful realisations (remember its application in relation to LINQ to objects and the Reactive Extensions?). Interesting stuff.

Community

  • Be quick to bag a space at UK Tech.Days 2011! – Rachel Collier gives an update on the uptake of places at the UK TechDays 2011 events, highlighting the events making up this ‘super’ event which still have spaces available .

The Morning Brew #829

Posted by on 07 Apr 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • StyleCop and StyleCop for ReSharper have merged – Howard van Rooijen announces the merging of StyleCop for ReSharper with the main StyleCop project, and discusses the process being undertaken for competing the merge of these two projects.
  • posh-git Release v0.3 – Keith Dahlby announces the formal release of v0.3 of posh-git, a set of PowerShell scripts which bring better integration of git into PowerShell. This new release has an easier way of getting the scripts, along with some performance and tab expansion improvements.

Information

  • MvcScaffolding: Overriding the T4 Templates – Steve Sanderson continues his series digging into the functionality of MvcScaffolding, taking a look at how you can change the T4 Templates used to generate the code for the different Scaffolding operations to allow you to control and customise the code generated.
  • The sound of .net – A demonstrations site showing ASP.NET MVC, NHibernate, and a raft of other OpenSource libraries running on AppHarbor which provides some useful community function, aggregating all the .NET Podcasts about.
  • Taking Proper Screenshots in Windows for Blogs or Tutorials – Scott Hanselman shares the how and how not of generating good screenshots for inclusion in documents and blog posts, showing illustrations of each of his things to avoid and things to do
  • Extending Bddify – Mehdi Khalili takes a look at the extension points included in his Bddify BDD framework for .NET, explaining how the extensibility works, and looking at the implementation of custom Scanners (which fetch scenarios from test objects) and processors (which allows for custom output from your tests)
  • Debugging Series: Symbols Server and Your Symbols – Cameron Skinner continues his debugging series continuing his look at Symbol Servers, exploring how you can publish the symbols from your own applications allowing you to get a good debugging experience without having the exact source for the deployed version.
  • Automatically Including Current Language In Generated URLs With ASP.NET MVC – Davy Brion looks at controlling the URLs generated using routing to allow the inclusion of language codes in URLs to make localized versions of sites be output cache friendly
  • Getting a Windows Azure account for Rock, Paper, Azure – Following on from the announcement of Rock Paper Azure in yesterday’s edition, Brian Hitney looks at the 4 ways in which you can get an Azure account to allow you to take part.
  • Mono Android and iPhone Updates – Miguel de Icaza announces the release of Mono for Android 1.0 and MonoTouch 4.0, the latest versions of the Mono Project’s projects which allows development of Android and iOS (iPhone/iPad). This release brings with it the benefits o Mono 2.10 Core and the C# 4 language and .NET 4 APIs
  • A Simple Computation API with Progress Tracking – David Sehnal shares an interesting article which look at using the Reactive Extensions for .NET and the Async CTP functionality to provide monitoring of progress of a long running computation.
  • F# Code-First Development with Entity Framework 4.1 – Jack Hu takes a look at the use of the Code First functionality of Entity Framework 4.1 with F#, illustrating some of the power of F# for quickly and simply building Object Oriented Structures, and hooking them up to EF.

Community

  • Get your MIX Fix Online – Bill Zack highlights the plans for live broadcast of the Keynote addresses from MIX11, taking place next week (Tuesday & Wednesday), along with the promise of having all sessions videos online and available to watch within 24 hours.
  • Pluralsight’s Weekly Webcast: ReSharper Tips and Tricks – The ReSharper team highlight this week’s Pluralsight webcast taking place today (7th April) at 11:00 AM EDT (GMT-5) where James Kovacs will be sharing ReShaper tips and tricks, along with answering viewers questions.

The Morning Brew #828

Posted by on 06 Apr 2011 | Tagged as: .NET, Development, Morning Brew

Information

  • Of memory and strings – Jon Skeet, fuelled by a StackOverflow question investigates the use of Memory when storing lots of strings, and looks at some alternative structures which can result in lower memory use if you are sure your strings are only basic ASCII.
  • How is it even possible for code to be this bad? – Gojko Adzic explores the source code of the Hudson/Jenkins Java based CI server, looking at a number of examples of bad coding practices, explaining why these things are bad.
  • Visitor and multiple dispatch via C# ‘dynamic’ – Shawn Hargreaves takes a look at the Visitor Pattern and Multiple Dispatch, showing how the Dynamic keyword can provide help implementing this by making it perform the method resolution at runtime.
  • MSDN Magazine: April 2011 Issue – The April 2011 edition of MSDN Magazine is now available online. This month sees Azure as the headline topic, with explorations of CQRS in Azure and Caching being explored. Also in this month’s edition are articles on WebMatrix, Map Reduce in F# (running on Azure), TFS Guidance, and all the usual columns.
  • ASP.NET Deployment Needs To Be Fixed – Rob Conery discusses the fragmented landscape of ASP.NET Deployment, discussing why he believes that this should really be a solved problem, discussing the best solutions currently available, and discussing the key features of a Capistrano like deployment tool.
  • Silverlight, HTML5, The Web, The Phone and All That – Joey deVilla discusses the ‘Standards-Based Web, Plug-ins and Silverlight’ post from 3 key Microsoft DevDiv Executives, outlining the key points and decisions you need to make for your developments.
  • Mocks and Tell Don’t Ask – Ian Cooper continues the discussion of Mocks, explaining how his opinion of distrusting mocks has changed over time, discussing the ‘Tell, don’t ask’ principle, and CQRS along the way.
  • Webinar wrap-up: Julian on JavaScript – reading underscore.js – Julian M Bucknall follows up yesterday’s Webinar exploring the underscore.js code with a blog post highlighting some of the salient points from the session.
  • Building a NuGet Server with gold plating – Michael Ceranski looks at extending the standard NuGet Server web application, adding a package list and package upload capabilities
  • Producing and Consuming OData in a Silverlight and Windows Phone 7 application (Part 3) – Michal Crump continues his series of posts exploring the production and consumption of OData within the Silverlight and Windows Phone 7 Platforms. In this post Michael looks at the process of consuming OData on WP7, from the libraries to use to gain the ability to work with OData through a worked example.
  • Why override ToString()? Use DebuggerDisplayAttribute instead – ScottBurk67 looks at improving the debugger experience for your objects examining the use of ToString() overrides, and the better solution of using the DebuggerDisplayAttribute to provide a specific solution to debugger visualisation.

Community

  • Take the Rock Paper Azure Challenge! – Peter Laudati, Jim O’Neil and Brian Hitney announce the Rock Paper Windows Azure Challence, an online competition where entrants write a bot to play a variant of Rock-Paper-Scissors deployed to the cloud.

The Morning Brew #827

Posted by on 05 Apr 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Standards-based web, plug-ins, and Silverlight – Three of the most senior people in Developer Division, Walid Abu-Hadba, Corporate Vice President, Developer & Platform Evangelism Group, Scott Guthrie, Corporate Vice President, .NET Developer Platform and S. Somasegar, Senior Vice President, Developer Division, discuss the future of Silverlight in the context of Web Standards and Browser Plugins, showing how Silverlight 5 and HTML 5 answer different requirements

Information

  • Effective Tests: A Test-First Example – Part 2 – Derek Greer continues his series of posts on Effective Tests continuing with his worked example of Test Driven Development writing a Tic-Tac-Toe implementation, continuing adding functionality showing the red-green-refactor steps.
  • So many interfaces! – Eric Lippert turns his attentions to Interfaces, looking at the mechanism of Interface Inheritance in a question/answer, discussing the basics, and exploring how Generics make things more complicated.
  • Static analysis of Simple.Data code to generate databases – Rob Ashton digs into the IL generated from code written with dynamic types, looking at how you could generate database schema from code written against the Simple.Data library, making use of Mono.Cecil. Fascinating stuff.
  • DOT NET TRICKS: Internals of LINQ – Abhishek Sur explores the generated code which powers our use of LINQ in the latest instalment of his Internals series.
  • Write Your Own Debugging Visualizer – Mike Frank shows how you can develop Debugger visualisers to give a better view of your custom types (or any type for that matter) in the debugger
  • The Decorator Pattern – Learning with Shapes – AliAmjad explores the Decorator Pattern, discussing its purpose and use, and sharing a simple example to show how you can implement this pattern in your own code in this CodeProject article.
  • Dynamically load embedded assemblies – because ILMerge appeared to be out. – Jason Jarrett explores an alternative to IL Merge for combining assemblies into a single assembly, looking at storing assemblies as embedded resources and dynamically loading them out of the resource at runtime.
  • Building a photoblog with NancyFX and Simple.Data Part 1: Setting up the project & Part 2: Defining the routes – Kristof Claes kicks off a series of posts looking at building a PhotoBlog application using two of the new and trendy .NET open source projects, NancyFX and Simple.Data. The first part looks at getting the libraries and setting up the project, and part 2 gets into the implementation exporing the route definitions.

Community

  • SQL Herts – User Group for SQL Enthusiasts in Hertfordshire – The newly formed SQL Herts ussergroup is a usergroup for both DBAs and Developers in and around the Hertfordshire area. Their next meeting is scheduled to be held on Thursday 5th May at the University of Hertfordshire, with sessions from Christian Bolton and Jen Stirrup.
  • FREE Bing Developer event at Tech Days in London on May 26th – Eric Nelson highlights an event hosted by the UK Bing team as a part of the UK Techdays events in May. This event takes place in the early evening of Thursday 26th May at Micosoft’s Cardinal Place offices, and will offer sessions on search, mapping and also provide opportunity for you to network with fellow attendees.

Humour

« Previous PageNext Page »