The Morning Brew #1022

Posted by on Monday 16th January 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 Friday 13th January 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 Thursday 12th January 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.

« Prev - Next »