February 2013

Monthly Archive

The Morning Brew #1305

Posted by Chris Alcock on 28 Feb 2013 | Tagged as: .NET, Development, Morning Brew

Software

  • Announcing TypeScript 0.8.3 - Jonathan Turner announces the release of TypeScript 0.8.3 as a Preview Release. This release includes various compiler improvements, including fixes for issues surrounding typing ot ‘this’, scoping and performance improvements, along with improvements to the debugger and IDE Editor support
  • EF6 Alpha 3 Available on NuGet - Rowan Miller announces the release of Entity Framework 6 Alpha 3, with the team keen to hear your feedback, and the release includes support for code first mappings to stored procedures, a contribution of custom migration operations, and improvements in the detection and recovery of connection failures.
  • Sorting a ScriptBundle based on /// <;reference /> tags - Shane Anderson shares a neat addition to the ASP.NET Bundling feature which correctly orders bundled JavaScript files based upon the intellisense // <reference /> tags to ensure that script dependencies are loaded correctly.

Information

  • Lambda patterns in C#? - Anoop Madhusudanan draws inspiration from a talk at the MVP Summit and a Code Project article both from Florian Rappl, looking at the use of patterns from JavaScript in C# code, sharing some examples and discussion and highlighting Florian’s article
  • jQuery 1.9.x and ASP.NET MVC 4 Applications - K. Scott Allen highlights the potential breaking changes in jQuery 1.9 and reminds us that updating your jQuery NuGet reference will bring those changes into your projects, highlighting the jQuery Migrate library and package or reverting to an older jQuery Package as possible a work around.
  • Learning more about Pointer Events as the W3C publishes Last Call Working Draft - Jacob Rossi highlights the move to a ‘Last Call Working Draft’ of the W3C Pointer Events Specification, and discusses and highlights resources regarding the implementation of the standard.
  • Visual Studio Web Publish Lockup? Check for invisible Window - Rick Strahl highlights a really simple cause (and work around) of an annoying problem developers who move between single and multiple screens may encounter with Web Publishing in Visual Studio.
  • How to profile a XAML Windows Store App - Andrew B Hall explores the use fo the Visual Studio Profiling tooling to profile XAML based Windows Store Applications, walking through the process of running, understanding and working with the results of profiling
  • Sql Connection Strings in .Config Files vs. Source Control - Rick Strahl also takes a look at the techniques available for working with connection strings in you Web/app.config files, looking at how you can make them portable between environments and safe to put in source control.
  • Lean Publishing and Keeping Software Soft - Jason Roberts announces the first draft of his first book, being self published through LeanPub. ‘Keeping Software Soft’ looks at the things that can be done across the software development lifecycle to keep the software easy to change.

Community

The Morning Brew #1304

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

Software

  • IE10 for Windows 7 Globally Available for Consumers and Businesses - The Internet Explorer Team announce the release of Internet Explorer 10 for Windows 7, bringing the latest in Microsoft Browser technology to one of the most successful Windows versions ever, with support improved support for a huge lists of W3C Standards this is a significant release for anyone on Windows7
  • RELEASED - Download Internet Explorer 10 for Windows 7 - Scott Hanselman also discusses the IE10 on Windows7 release, highlighting the automatic updating plans to get Windows 7 users onto IE10, and some of the development implications.

Information

  • Why Use AngularJS? - K. Scott Allen discusses some of the reasons why he has a perference for the way that AngularJS works as a framework, including how it works without ‘func-ing up’ properties
  • A Look Into AngularJS - The "Super-heroic JavaScript MVW Framework" - Josh McKinzie explores the AngularJS framework in this CodeProject article, exploring some of the key concepts, features and principles behind Angualr
  • Server-side view or client-side MV*? - Kailuo Wang draws on video from David Heinemeier Hansson, taking an interesting look at the implementation of the various parts of an MV* architecture both client and server side
  • Client-side MVC is not a silver bullet - Thomas Fuchs discusses his view that Client Side MVC architectures are not always a good choice, discussing performance, complexity and how it ramps up significantly as you add more features.
  • Introducing Package Statistics - The NuGet team shares the low-down on their new packag statistics feature on the NuGet gallery, exposing more information about the packages and versions that people are downloading.
  • Tools and Mechanisms available for Unit Test on ASP.Net MVC (Razor) Application - Pranab Paul highlights some tooling, templates and libraries which enable testing of ASP.NET MVC code which makes use of the Razor View Engine.
  • Logging with SignalR - Ran Wahle continues his set of posts looking at SignalR with a useful tip about enabling he built in logging support in SignalR to help you more easily debug what is going on in the client-server interaction
  • "We Accept Pull Requests" - Ted Neward discusses the use of the phrase ‘We Accept Pull Requests’ in the context of an open source projects, and what that actually means in practice
  • How to run PowerShell from node.js - Doug Finke follows on from Tomasz Janczuk’s post on getting .NET in a node.js application with a lokoa t getting PowerShell code running in a Node.js application using a similar technique.

The Morning Brew #1303

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

Software

  • coffeescript.org & CoffeeScript 1.5.0 adds - "Literate Programming" mode - The 1.5 version of CoffeeScript has been released, and includes a ‘Literate Programming mode’ which allows the embedding of executable MarkDown documents - actual details of the new functionality seem to be a little hard to come by at the moment, but I’m sure will follow in due course.

Information

  • Monads, part two - Eric Lippert continues his series exploring Monads (and not Mondads as my fingers like to type them!) with a look at some examples of types we are probably familiar which fit the Monad Pattern, kicking off an exploration of what it means to be a Monad and building up a definition of its capabilities.
  • Not-So-Lazy Static Constructors in C# 4.0 - Avner Kashtan provides a useful reminder that the behaviour of static constructors changed in C# 4, drawing on an old post from Jon Skeet to explain how it works
  • BarbarianIOC : A simple IOC Container - Sacha Barber shares BarbarianIOC, a simple Inversion of Control Container implementation which he explains the use of and looks at the implementation behind to illustrate the concepts of IOC
  • WPF Threads and Async: Conclusions - Ian Griffiths rounds out his series of posts on Threading and Asynchronous programming in WPF applications with a set of conclusions. I’ve linked to a few of the past posts in this series, be sure to check back over Ian’s Blog for the rest as its been interesting reading.
  • Coding4fun: the Star Wars intro in pure CSS3 thanks to 3D transform & animations - David Rousset shares an awesome demo of the power of CSS3 and its 3D Transformations showing a nice implementation of the Star Wars opening scrolling text implemented in pure CSS - mighty impressive
  • Enhance your HTML5 app with audio. - Joe Stagner takes a look at the use of HTML5 Audio in applications sharing some simple examples of it in use you can make use of in your own applications.
  • Hosting .NET code in node.js applications using OWIN - Tomasz Janczuk discusses how you can get .NET code up and running in a node.js application making use of OWIN to provide the interconnection to allow consumption of .NET code.
  • Message Handlers per Route in ASP.NET Web API - Pablo M. Cibraro discusses the role of the Message Handlers in ASP.NET Web API to provide some work to service the request, and delegate to other message handlers, looking at an example involving basic authentication
  • Expressions In AngularJS - K.Scott Allen continues his series on AngularJS with a look at adding editing capabilities to his sample application, along with exploring the use of ng-click with the binding of data

The Morning Brew #1302

Posted by Chris Alcock on 25 Feb 2013 | Tagged as: .NET, Development, Morning Brew

Software

  • jQuery Mobile 1.3.0 Released - The jQuery Team announce the release of jQuery Mobile 1.3.0 which focuses on improving the support for Responsive Web Design with enhancements to existing controls and a number of new controls too.
  • The Making of Xamarin Studio - Miguel de Icaza discusses the creation of Xamarin Studio, their new product name for MonoDevelop which has now been enhanced to support iOS Android and Mac development, and the results of all this work ave been fed back into the MonoDevelop project.
  • DefinitelyTyped TypeScript definitions now on NuGet - Jason Jarret discusses his contribution to the DefinitelyTyped project (who provide TypeScript type definitions for libraries not written in TypeScript) whic adds automatic publishing and synchronisation of the type definitions in DefinitelyTyped onto NuGet making them really easy to obtain and keep up to date.

Information

  • Five Fast Facts About ASP.NET and Web Tools 2012.2 - In case you missed last weeks release of the ASP.NET and Web Tools 2012.2 update Jonathan Rozenblit focuses in on 5 of the key features included in the release, and highlights some further resources to learn more.
  • ASP.NET Web API and Protocol Buffers - Filip W takes a look at enabling serialisation using the Google Prorocol Buffers format in your ASP.NET Web API projects, discussing why protocol buffers are a useful serialisation format (size of payload and performance of serialisation) before looking at implementing in a WebAPI project.
  • Using Sass and Compass in ASP.Net MVC with Web Workbench - Edward Charbeneau discusses the motivation for using pre-processors like SASS and Compass in your ASP.NET applications to make working with CSS easier, and discusses the use of the Web Workbench tooling from MindScape for better integration with Visual Studio.
  • Demo app and eBook for Windows Azure Mobile Services for iOS Clients - Shiju Varghese shares a free e-book and sample application code which looks at consuming Windows Azure Mobile Services from iOS based application clients to provide structured storage, user authentication and push notification functionality.
  • How to Create a Small Basic Extension Using C# - Ed Price features an article from Liam McSherry which looks at the use of C# to create language extensions for Small Basic which allows for additional features to be bolted into the language. The article walks through the process of developing a simple extension.
  • F# end to end - ‘FourEightThree ‘ has a nice post which looks at the use of the F# language from top to bottom in software development, providing for the programming language, build scripting language, deployment, UI and documentation, and comparing to the general C# stack with a mix of technologies.

The Morning Brew #1301

Posted by Chris Alcock on 22 Feb 2013 | Tagged as: .NET, Development, Morning Brew

Update: fixed a typo in Eric Lippert’s name - sorry Eric, but thanks to Peter Zsoldos for letting me know.

Software

  • Introducing Formo - Dynamic Configuration - Chris Missal shares Formo, a simple configuration wrapper which wraps the standard AppSettings with a dynamic accessors which provides a number of useful helper methods to assist accessing configuration

Information

  • Monads, part one - Eric Lippert kicks off another series of posts this time exploring Mondads, discussing some of the theory and how monads apply in functional programming and C#
  • Alive with activity, Part 1: Working with tiles, badges, and toasts - Kraig Brockschmidt posts on the Windows 8 app developer blog discussing the interactivity in tiles, badges and toasts in Windows Store applications which developers can utilise to expose information on the user’s homescreen / start menu
  • Forms With AngularJS - K.Scott Allen continues his series looking at the use of AngularJS, showing an example of binding form elements making the code required to work with forms data much shorter and simpler
  • Polymorphism: Part 1 - John Teague kicks off a back to basics series looking at one of the fundamental concepts of Object Oriented Programming - Polymorphism
  • JSON Lesson - Tim Bray discusses a less well known fact about JSON, that it is legal to have duplicate keys in JSON, however in this post Tim advises against it as the behaviour can be a bit unpredictable in may JSON libraries.

Community

The Morning Brew #1300

Posted by Chris Alcock on 21 Feb 2013 | Tagged as: .NET, Development, Morning Brew

Software

  • Glimpse 1.0 Ships! - The Glimpse Team proudly announce the release of Glimpse 1.0 Stable - the journey for any open source project to 1.0 is a long one, and the team have worked hard to bring a well rounded product to release. Glipse gives ASP.NET Developers a view inside the server from their browser, giving a Firebug like experience reporting on server side code - many congratulations to Nik, Anthony, all the contributors and the team at Redgate on reaching this milestone
  • Deeptissue.js A Gesture Library For the Modern Web - Chris Love announces the release of Deeptissue.js a JavaScript library for the web which aims to unite the different APIs for dealing with mouse and touch. This is an area I’ve been exploring recently and there are lots of subtle differences between browsers and platforms, so a library like this is a welcome addition.
  • Releasing Sample Browser for Windows 8 - The All-In-One Code Framework team announce the release of an updated Sample Browser application now targeting Windows 8 and available in the Windows 8 Store

Information

  • You’re just another carriage return line feed in the wall - Scott Hanselman discusses the pain of the differences in line ending characters between editors, platforms and personal preferences, and the problems that incorrect settings can give when contributing code to open source projects
  • The Evolution of DevLabs - Somasegar discusses the successes of DevLabs in bringing to life a number of projects which have gone on to greatness in the main frameworks, and highlights the recent changes to migrate DevLabs projects and content over to a subsection of the Visual Studio Gallery
  • Debugging Pain - End to End - ‘Glavs’ walks through the process of debugging some issues in an ASP.NET web application, walking through the initial problem report, the early investigation and investigating further via taking a memory dump.
  • How to Extract a URL’s Title, Description and Images using HTML Agility Utility - Sourabh Sharma gives a short sample of the amazing power of the HTML Agility library - a fantastic tool for working with HTML content when you need to be able to extract information from the content which may or may not be well formed.
  • What can I do to make my Windows 8 WinJS.UI.ListView app as accessible as possible? - Guy Barker, who worked on the Windows Accessibility team, takes a look at the various accessibility features of the WinJS.UI.ListView in this detailed post
  • WPF Threads and Chunking with Rx - Ian Griffiths is mid-series looking at various aspects of asynchronous and multithreading programming in WPF applications, in this part looking at using the Reactive Extensions to control the flow of events and databinding
  • MVP Summit presentation on async - Stephen Toub shares the slides from the ‘async clinic’ session he presented with Lucian Wischik at the MVP summit which discusses some of the areas in whcih developers often struggle with the new functionality.

Community

  • SQLBits XI in May 2013 - many reasons to attend! #sqlbits #dax #tabular - Marco Russo highlights the SQL Bits conference being held in Nottingham this May - a great opportunity to learn more about databases and database development. The conference is spread over a number of days, with training days and conference days, culminating in the Free Community day on the Saturday
  • Stacked 2013 - Free full day Windows Azure conference - Gary Pretty highlights the ‘Stacked 2013′ Windows Azure Event being held on 9th April 2013 here in Liverpool. The event is an all day one, with speakers from Microsoft and the MVP community, its sure to be a good day.

The Morning Brew #1299

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

Software

Information

  • Trust and NuGet - Phil Haack discusses various options for providing a better level of trust and security when working with NuGet packages, discussing signing of packages, the use of PowerShell and assemblies as an attack vector and plenty more.
  • What is SignalR? - Using SignalR - Patrick D. Fletcher gives an elevator pitch for the use of SignalR and WebSockets (with a passing mention of the other transport mechanisms) whcih may be useful to folk who are looking to justify its use to management.
  • SignalR ebook - campusMVP.Net - Jose M. Aguilar has published a free e-book with CampusMVP.NET which covers the various parts of SignalR (currently against the RC2 release) in its 80 pages. The book requires registration to get the download link.
  • SignalR Protocol - Ran Wahle continues a series of posts looking at SignalR discussing a bit about how the underlying communication protocol works, discussing the various phases of the connection process.
  • How I Over-Engineered the ASP.NET Health Monitoring Feature - Mike Volodarsky looks back on one of the main features he was involved in while working on the ASP.NET / IIS team, discussing the implementation of Health Monitoring, some of the problems it encountered, and some of the lessons he has learned along they way
  • Starting with AngularJS & AngularJS and DOM Manipulation - K. Scott Allen is taking a look at the use of AngularJS for building applications using clientside MVC in JavaScript, taking a look at getting up and running, and at making manipulations of the DOM
  • AngularJS Intellisense in Visual Studio 2012 - Mads Kristensen discusses the lack of AngularJS support in the Visual Studio HTML Editor via Web Essentials due to a lack of a suitable extension point for attributes, however he shares a work around solution which sees an updated HTML Intellisense file with the AngularJS syntax included being used.
  • .NET Framework Documentation Improvements - Brandon Bray discusses the latest round of improvements to the online .NET Framework documentation, with improvements surrounding content relating to performance and method overloads.
  • Videos on Web Publish updates in ASP.NET 2012.2 - Sayed Ibrahim Hashimi shares three video screencasts demonstrating some of the new Web Publish features included in the ASP.NET 2012.2 and Web Tools 2012.2 update
  • Introduction to ASP.NET Web API - Ranjan.D gives an overview of the ASP.NET Web API looking at the key concepts to help get developers unfamiliar with the framework up to speed in this CodeProject Article.
  • Paging with ASP.NET Web API OData - Youssef Moussaoui takes a look at the new features for paging data retrieved from WebAPI as OData, exploring both Client and Server driven paging.

Humour

  • Agile Developer - Agile Enough? #fun - Its been a while since we had something in the Humour category in The Morning Brew, and this one amused me this morning - proving that context is everything,

The Morning Brew #1298

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

Update: A rogue ‘r’ crept in to the link to John Papa’s HotTowel link which is now fixed - thanks to Paul Manzotti for letting me know via the comments

Update 2: A second attack of rogue ‘r’ syndrome today - the Durandal link should now be working as intended - thanks to Andreas Krohn for letting me know

There would have been a few more links in today’s bumper edition today but it appears that blogs.msdn.com is having some issues (at least from the couple of networks I connect from), so don’t be surprised if some of today’s links are a bit intermittent today as lots of the content linked today is from there.

Software

  • Announcing release of ASP.NET and Web Tools 2012.2 Update - Scott Guthrie announces the release of the ASP.NET and Web Tools 2012.2 Update, a free update to Visual Studio and .NET 4.5 which includes a wealth of new features ranging from Tooling improvements including new language support for syntax highlighting (CoffeeScript, JsRender, Handlebars, Mustache), support for LESS, paste JSON as class, and much more. The release also includes ASP.NET Web API, MCV and WebForms updates, new Single Page Application templates and improved Windows Azure Authentication support, along with the much awaited SignalR 1.0 release.
  • Announcing the ASP.NET and Web Tools 2012.2 Release! - Jon Galloway shares in the announcement discussing some of the new features, and sharing a 25 minute video which runs through lots of the new features.
  • Released: ASP.NET and Web Tools 2012.2 in Context - Scott Hanselman also discusses the ASP.NET and Web Tools 2012.2 release, focusing in on a couple of the most interesting features.
  • Web Tools 2012.2 and Web Essentials - Mads Kristensen also discusses the release, and how a number of the features started life as features of the Web Essentials extension and have been migrated into being core features, along with a helpful hint if you encounter problems with having both installed.
  • Portable HttpClient for .NET Framework and Windows Phone - Alok Shriram of the .NET Framework team discusses their new beta release of a portable HttpClient implementation which allows it to run on .NET 4.5, Windows Phone 7.5+ and Portable Class libraries
  • WCF Data Services 5.3.0 RTW - The WCF Data Services team announce the release of the WCF Data Services 5.3.0 RTW, this is the official stable release of this version which brings three substantial new features as well as bugfixes and improvements.
  • Introducing Durandal - Rob Eisenberg announces the release of Durandal, a JavaScript library which aims to support rich client development, building on top of well know libraries like jQuery, Knockout, RequireJS and supporting the MV* archectural patterns
  • Manage IIS from the browser - Jonas Hovgaard announces the launch of Servant for IIS, currently in a freely available form, with commercial editions to follow. Servant for IIS provides a way of managing a wide range of aspects of an IIS instance directly from a web browser - neat stuff.

Information

  • Four new single page application templates - Gunnar Peipman discusses the four brand new single page application templates included in the ASP.NET Web Tools 2012.2 update
  • ASP.NET SPA Templates Released - & Hot Towel SPA - Visual Studio Project Template - John Papa also takes a look at the range of new templates for single page application, as well as taking a more in-depth look at Hot Towel, the SPA Framework and template that he created
  • Static constructors, part four - Eric Lippert wraps up his series looking at the art and science of Static Constructor with a look at one particular potential use of Static Constructors whcih is commonly seen but not necessarily a good idea, sharing some best practices suggestions for the use of static constructors at the end of the post
  • Optimize your delegate usage - Filip Ekberg takes a look under the covers at the use of delegates in the .NET Framework comparing how different syntaxes generate significantly different code, which have very different memory and object use profiles.
  • SignalR, ActionFilters and ASP.NET Web API - Filip W takes a look at the integration of ASP.NET Web API and ASP.NET SignalR, looking at using Action Filters to provide the integration between the WebAPI code and SignalR avoiding having any SignalR related code in Controllers.
  • Pre-release of ASP.NET Scaffolding with a Web Forms scaffold generator - Anton Babadjanov announces the availability of a new pre-release of the ASP.NET Scaffolding code generation framework which allows the construction of CRUD screens in ASP.NET Web Forms based upon model classes.

Community

Next Page »