November 2011

Monthly Archive

The Morning Brew #992

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

Software

  • HTML5 for Applications: The Fourth IE10 Platform Preview – The Internet Explorer Team announce the release of their 4th Preview Release of Internet Explorer 10. It is worth noting that this preview release requires Windows 8 Developer Preview and cannot be installed on earlier versions, but there will be beta and release candidate releases for earlier Windows versions.
  • Web Essentials – the idea – Mads Kristensen discusses the ideas and motivation behind his Web Essentials extension for Visual Studio which brings enhanced features for working with HTML and CSS in the Visual Studio IDE. If you do web development and haven’t already checked them out you really should.

Information

  • Global HandleErrorAttribute in ASP.net MVC3, Convention Based Application Settings via Autofac & An Intro To Anvil.js – Another day and another bunch of bloggers kick off their new blogs over on FreshBrewedCode, with Jonathan Creamer discussing error handling in ASP.NET MVC using the HandleErrorAttribute, Josh Bush discussing building a convention based configuration using AutoFac and Alex Bush sharing an introductory screencast on Anvil.js a library to help guide, structure, build and test Node.js Applications.
  • Entity Framework Batch Update and Future Queries – Paul Welter highlights the EntityFramework.Extended library, available in source and via NuGet. This library extends Entity Framework to include support for batch updates and deletes without requiring entites to be brought into memory first, adds support for future queries, and adds audit logging support which hooks into any changes to entities as they head to the database.
  • WPF 4.5: Binding and change notification for static properties – Pete Brown takes a look at the new features in WPF 4.5 for change notification with static properties, looking at the two different approaches to implementing – via binding and Code behind.
  • Visual Studio 11 Developer Preview: Multiple / Floating Tab Wells – Zain Naboulsi discusses the Multiple / Floating Tab Wells now included in the Core Visual Studio IDE in the Developer Preview of Visual Studio 11. This feature started off life as a Productivity Powertool for VS2010, and is one of a number which have made their way into the next release of the core IDE.
  • Composing Entity Framework Fluent Configurations – K.Scott Allen discusses using MEF to allow you to separate out your Entity Framework configurations into classes for each entity and use MEF to help to compose the configurations together.
  • People about VB.Net – Christiaan Baes celebrates his 400th blog post by gathering together peoples thoughts and opinions on VB and VB.NET, asking a range of well known .NET people to share thoughts on the language, showing that peoples fondness for VB runs deeper than many may think.
  • 31 Days of Mango | Day #30: Local Database – Jeff Blankenburg’s 31 days of Mango series nears its conclusion with a guest post from Chris Woodruff on the use of the local database support available in Mango exploring its use in a simple application.
  • jQuery Mobile 1.0 – Shaun Dunne shares a tutorial on using jQuery Mobile 1.0 running through from first principles creating single and multiple page applications, using themes and looking at what changed over the three preview releases.
  • The two worlds – a project retrospective – Rob Ashton discusses his implementation of a game that evolved out him wanting to do some TDD and explore WebGL. In this post Rob discusses the TDD aspects of the project and also talks about the messaging between client and server and how he structured this relationship.
  • Does Certification Have Any Value? & The value of certifications – Davy Brion & Jimmy Bogard discuss the subject of developer certification, the dangers in assuming that certification is the only way to go, and discussing some of the alternative approaches to gain skills and experiences which add to your worth as a developer.

Community

The Morning Brew #991

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

Software

Hopefully today’s edition will get posted correctly….

  • SpecsFor 2.0 Released! – Matt Honeycutt announces the official release of SpecsFor 2.0, his BDD framework. This version 2 release brings support for a wider range of test writing styles, new test helpers for object equality and combines forces with the ExpectedObjects library from Derek Greer and Should library from Eric Hexter.
  • xunitcontrib-resharper 0.5 – fixes, fixes, fixes – Matt Ellis announces the latest release of xunitcontrib-resharper. This version exists in two forms, one for ReSharper 6.0 and 5.13 and the other for the ReSharper 6.1 EAP. The release is a bug fix release addressing a number of reported issues in the test runner.

Information

  • Why have a stack? – Eric Lippert discusses why the .NET Intermediate Language (IL) is implemented as a Stack Machine, discussing the principles of the implementation, and looking at alternative ways, discussing the benefits that a stack machine gives over them.
  • Dealing with transactions – Jimmy Bogard continues discussion of transactional operations, discussing why his service bus solution to make operations transactional is different from running the non-transactional operations after the transaction.
  • MSDN Magazine December Issue Preview – Michael Desmond shares a taste of what is coming in MSDN Magazine next month, with the online Magazine hitting your browser on Thursday / Friday.
  • Firefox – tons of tools for web developers! – Robert Nyman gives a guide to the rich web developer tools ecosystem which surrounds Mozilla’s FireFox browser, giving brief summaries of the tools and extensions available.
  • Farewell to Google’s CodeSearch – Miguel de Icaza mourns the shutting down of Google’s Code Search, discussing why this service was so useful for developers and looking at some of the alternative services available currently.
  • Mango Sample: Lock and Run – Jerry Nixon continues his Windows Phone Mango series of samples with a look at how the phone locking while your application is running effects your application, and how you can continue to do work while the screen is locked.
  • Mango Online Workshop (Next Week) – Databases – Jerry Nixon is also running a virtual Windows Phone Workshop on Monday 5th December, starting at 1pm PST where he will be taking a look at the database and data access support in Windows Phone.
  • 31 Days of Mango | Day #29: Globalization – Jeff Blankenburg’s 31 days of Mango series continues with a guest authored post from Matt Eland discussing globalisation and localisation of your Windows Phone applications.
  • Handling the back-stack in Windows Phone 7 PhoneGap applications – Colin Eberhardt has been continuing with his investigations of building Windows Phone 7 applications using PhoneGap and discusses how you can make your applications behave as expected with the use of the back button, sharing a JavaScript implementation of the back-stack
  • Visual Studio Achievements for Windows Phone – Follow along as Den builds it… – Greg Duncan highlights a post from Den Delimarsky where he discusses building a Windows Phone application which consumes the new Visual Studio Achievements API from the folks over at Channel 9.
  • OWASP Top 10 for .NET developers part 9: Insufficient Transport Layer Protection – Troy Hunt is nearing the end of his series looking at the top 10 OWASP identified secutiry issues and how the affect .NET web application developers. This part discusses ensuring you have suitable secure protocols enabled, and disallow weaker security methods.
  • Getting Started With RequireJS – Derek Greer joins in the fun over at Fresh Brewed Code with a look at how RequireJS can make structuring your JavaScript code easier and ensure that all the scripts you require are correctly loaded into your pages.

Community

The Morning Brew #990

Posted by on 28 Nov 2011 | Tagged as: .NET, ASP.NET, COM Interop, Development, Morning Brew, Photography

Disaster struck this morning – I pressed post, waited until the page reloaded and shut my laptop as usual, but for reasons unexplained the post never made it onto the site – So here is today’s edition, a little later than planned – at least its still morning *somewhere* in the world!

Thanks to Libor or letting me know something was wrong

Update: In my haste to resurect today’s post a ‘smart quote’ snook into some HTML merging Sankarsan & Jon Skeets links together – fixed now – thanks to EF for letting me know

Software

  • Simple.Data for Mono – Mark Rendle has got his Simple.Data Dynamic Data Access library up and running under Mono, with most of the tests passing. The Mono release is available as a tgz download from the project’s GitHub Site.

Information

  • New Bundling and Minification Support (ASP.NET 4.5 Series) – Scott Guthrie continues his series of posts looking at the new features of ASP.NET 4.5, currently available in the Developer Preview Release. In this post Scott discusses the new support for bundling and minification of CSS and JavaScript Resources.
  • Inside ASP.NET 4.5 Bundling and Minification – Sankarsan discusses some of the details behind the Bundling and minification, looking at how the functionality is implemented in the framework, discussing how the functionality is called and the interactions between the parts.
  • Eduasync part 17: unit testing – Jon Skeet continues his exploration of the Async / Await functionality of C#5 discussing how it is possible to unit test async code (sometimes), illustrating by showing and discussing some of the tests for his Majority Voting implementation.
  • Razor Donut Caching – Phil Haack discusses the possible look and feel for the re-introduction of donut caching in ASP.NET MVC4, highlighting a package available for MVC3 which adds the functionality and discussing some of the limitations and possible changes to Razor to make creating donut holes easy.
  • REPL for the Rosyln CTP 10/2011 – Chris Sells discusses the Roslyn CTP release and the Read Evaluate Print Loop (REPL) environment, looking into creating a console based REPL environment using Roslyn, showing how easy executing lines of code becomes with Roslyn.
  • Reflection, performance and runtime code generation – Ivan Towlson discusses the use of reflection and code generation with regard to the performance of code where you need to work with types you don’t know at compile time.
  • Building F# Solutions in Visual Studio 11 &
    Traffic Cop – Fresh Brewed Code, a new blogging community site for developers kicks off with posts from Dan Mohl highlighting resources for working with F# in Visual Studio 11, and Jim Cowart sharing an implementation he calls Traffic Cop for situations where he needed to avoid multiple jQuery Ajax requests for the same resources.
  • Method Stubs – Phil Trelford discusses Test Driven Development in F#, focusing particularly on how you don’t need frameworks to implement stubs and spies in F#.
  • 31 Days of Mango | Day #26: Background File Transfer , Day #27: Microphone API &amp Day #28: Media Library – Jeff Blankenburg’s series of posts on Windows Phone Mango continues with three more guest posts, first another from Gary Johnson discussing background file transfer. Next Parag Joshi discusses the Microphone API and the recording of audio, and finally Jeff Fansler takes a look at the Media Library.
  • 10 Laps around Silverlight 5 (Part 7 of 10) – Michael Crump continues his Silverlight 5 series with part 7 exploring operating system integration with a look at power awareness, 64 bit browser support and Save Dialogs.

Community

  • NxtGenUG – Santa Westley – Liam Westley joins the NxtGenUG in Coventry of their User Group meeting on Monday 12th December. There are no details of the session to be delivered, but Liam is an excelent speaker, and will nodoubt be brings some swat and probably some tasty treats too!

The Morning Brew #989

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

Software

  • Simple.Data 0.10 &Simple.Data 0.11 – Mark Rendle gives an update on the significant bits of the last two releases of his Simple.Data Micro ORM Library, discussing the in memory adapter and some performance improvements.
  • TeamCitySharp – Paul Stack announces TeamCitySharp, a C# library which acts as a wrapper over the Team City REST API providing a native .NET POCO interface to all things TeamCity. The library is available via NuGet and already Christiaan Baes has made use of it, sharing the details in his post Teamcitysharp v0.1 released where he discusses his 10 minute implementation of a project status board using he API.

Information

  • C#/.NET Little Wonders: The Predicate, Comparison, and Converter Generic Delegates – James Michael Hare continues his series looking at some of the little wonders of the .NET Framework and C# language. In this part he continues the exploration of Delegates with a look at the predicate delegate, comparison delegate and converter delegate looking at their syntax and use.
  • If You’re Using ‘#if DEBUG’ You’re Doing it Wrong – Peter Ritchie discusses some of the dangers of having conditionally compiled code and performing refactoring , and how it can leave broken code in certain configurations.
  • Call for jQuery 1.8 Ideas – The jQuery Team are looking for community input on the things that users of jQuery would like to see in version 1.8 (and even things they would like to see removed). This post also discusses some of the commonly requested things – building custom jQuery with just the bits you need, removing IE 6/7/8 support, depreciation of functionality and the removal of jQuery.browser.
  • Free eBook – "Razor View Engine in MVC 3" – Greg Duncan highlights a free ebook on the Razor View Engine in ASP.NET MVC 3 written by Abhimanyu Kumar Vatsa. This 30+ page guide walks through the creation of a simple application to demonstrate the features of the Razor View Engine.
  • 31 Days of Mango | Day #25: Background Agents – Jeff Blankenburg shares the next part of his 31 days of Mango Series, this time a guest post from Gary Johnson looking at the creation of background agents in your Windows Phone applications to allow your application to continue to perform certain operations when it is not active on the screen.
  • High Performance Queries: GPU vs. PLINQ vs. LINQ – Nick Kopp discusses how you can obtain ‘super computer’ like performance using the Graphics card GPU to run .NET with CUDAfy.NET

Community

  • Six Weeks of Windows Azure will start on … Monday 23rd January 2012 – Eric Nelson announces the start date and schedule for the 6 Weeks of Azure virtual events series with two sessions each week looking at key areas of the Azure platform both technical and commercial. The sessions are intended for UK based companies who are looking to make use of Azure.

The Morning Brew #988

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

Happy Thanksgiving to my US Readers – Hope you have a great day.

Information

  • Reducing JavaScript Code Using jsRender Templates in HTML5 Applications – Dan Wahlin discusses the new direction decided upon by the jQuery Team for templating in JavaScript, and shares a look at the new library in the templating world, jsRender, discussing its syntax and use.
  • Using the Roslyn Symbol API – Kevin Pilch-Bisson continues on with his exploration of the Roslyn CTP release, taking a look at the next stage of the Compiler Pipeline and exploring how Roslyn allows you to work with the symbols.
  • A year of the super-duper-happy-path! – Andreas Håkansson celebrates 1 year of working on the Nancy framework, discussing its origins, extraordinary uptake and growth of the framework and developer community behind the project.
  • 31 Days of Mango | Day #24: Performance Analysis – Jeff Blankenburg’s 31 days of Mango continue with a guest post from Chris Koenig discussing the importance of the performance of your mobile applications, and discussing how you can identify performance issues using the Windows Phone Performance Analysis.
  • Mango Sample: Data Validation – Jerry Nixon also presses on with his samples taking a look at implementing input validation rules in your Windows Phone Applications.
  • Windows Phone Free eBook & Demos – Lee Stott highlights the free and comprehensive Programming Windows Phone eBook from Rob Miles, which has been updated to include content about Mango. Along with the book you also get a collection of the sample applications from the book in source code format.
  • Powershell script to re-install Nuget packages – ‘lucascan’ shares a simple PowerShell script you can use in the Package Manager Console to re-install all the packages your project / solution uses. Users who want to full automate this type of action as a part of the build process may want to take a look at the NuGetPowerTools
  • RavenDB – Replication & Master <-> Master support – Ayende discusses how RavenDB can implement Master-Master replication of data and how this can be used as a fail over scenario, also discussing how RavenDB manages the possible conflicts this type of active-active setup can cause.
  • [Coming very soon] Visual Studio Achievements (Yes, achievement Achievements!) – Greg Duncan highlights the Channel 9 Visual Studio Achievements, a chance for you to add achievements to your Channel 9 profile as you code by way of a Visual Studio Extension coming soon – neat idea :)

Community

  • Join us for DevLatest Manchester – DevLatest welcome you to an evening of discussion of everything app from ideas, through development to marketing in Manchester on Tuesday 6th December

The Morning Brew #987

Posted by on 23 Nov 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • jQuery 1.7.1 Released – The jQuery Team announce the official release of jQuery 1.7.1, a release which addresses a significant number of bugs and issues reported with the 1.7 release. The distribution will have made its way on to the major CDN’s by now, and I believe the NuGet package has also been updated.

Information

  • Eduasync part 16: Example of composition: majority voting – Jon Skeet continues his series looking at the creation of Eduasync, an implementation of async / await from first principles which serves to illustrate some of the significant areas of its implementation. This post continues the move to looking at the features of Async digging deeper into the composition looking at the implementation of Majority Voting.
  • Clean Architecture – ‘Uncle’ Bob Martin discusses the importance of decoupling the layer of your architecture to give you clean architecture and enable clean code, highlighting some related blog content and discussing a piece from ‘The Frustrated Architect’
  • Stop premature email sending with NServiceBus – Jimmy Bogard discusses how decoupling parts of your application using a message bus like NServiceBus can allow you to reap the benefits of this more transactional supporting way of working, looking at a particular example where sending a message over the bus to send an email allows you to make email sending much more transactional and controlling with your business logic transaction.
  • Modernizr.js: Polyfills – K. Scott Allen continues his discussion of Modernizr, answering some common questions about feature detection using Modernizr before moving on to discuss Polyfills and their use to fill gaps in functionality.
  • Backbone vs Knockout – Derick Bailey looks at the two ‘competing’ JavaScript MVVM frameworks – Backbone and Knockout – discussing the strengths and weaknesses of each, talking about creating apps with both and suggesting that you may want to use both, playing to the strengths of each.
  • Evolving ECMAScript – Shanku Niyogi, Amanda Silver, John Montgomery, Luke Hoban and Steve Lucco of the Microsoft JavaScript Team discuss the proposed functionality they presented at the Ecma TC39 meeting which aim to improve the JavaScript language’s capabilities in numbers, maths, string and globalisation.
  • 31 Days of Mango | Day #23: Execution Model – Jeff Blankenburg’s 31 days of Mango series continues with another guest authored post, this time from Samidip Basu, In this post Samidip discusses the application execution model, looking at the application events, states and illustrates with a sample.
  • The Windows Phone Application Bar – Amar Nityananda is also looking at Windows Phone functionality and in this post discusses the use of the application bar, looking at sourcing and implementing custom icons and combining the application bar with the pivot control.
  • Introduction to WCF Web API – New REST Face of .NET & WCF Web API Plays Nice With ELMAH – A Quick Introduction to WCF Web API HttpErrorHandler – Tugberk Ugurlu gives an introduction to the WCF Web API, discussing its role in giving services a REST’ful implementation by way of a worked example. Tugberk also discusses combining the WCF Web API with ELMAH for improved error handling in your services.
  • Declarative multithreading – ‘gossd’ discusses the principles of Declarative Threading, sharing a simple example and a library which implements the Declarative Threading behaviours in this Code Project article.
  • Thread Synchronization with Interlocked Class – Pranjit Kalita is also looking at threading with a discussion of the use of the Interlocked class to provide thread safe variable operations.

The Morning Brew #986

Posted by on 22 Nov 2011 | Tagged as: .NET, Development, Morning Brew

Update: Fixed the typo in the title of today’s edition

Software

Information

Community

The Morning Brew #985

Posted by on 21 Nov 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Announcing jQuery Mobile 1.0 – The team behind jQuery Mobile announce the official Version 1.0 release of the project. This release targets jQuery 1.6.4, and brings a high quality mobile user interface to your web applications with most mobile browsers at A-Grade support level. The team have focused on performance since the RC3 release, bringing about some quite significant improvements
  • Chutzpah – Chutzpah 1.3.0 Released – Matthew Manela – Farblondzshet in Code – Matthew Manela announces the release of Chutzpah 1.3.0, bring support for Jasmine tests, and test timeouts to this JavaScript Test Runner for Visual Studio. This release also contains some bug fixes addressing known issues.
  • Getting closer – Castle Windsor 3 RC 1 – Krzysztof Kozmic announces the slightly delayed Castle Windsor 3 Release Candidate 1 release. The release is available as NuGet Packages and will be available on the website as a binary download shortly. This release includes new features to have specific properties ignored / required in the registration API.

Information

  • Why IL? – Eric Lippert discusses the role of the Intermediate Language versus Low-Level Virtual Machines in terms of the implementation of Roslyn
  • Roslyn CTP – A Walk Through The Syntax Tree – Part I & Part II – Sankarsan takes a look at the Roslyn CTP release, exploring the compiler API and exploring the use of syntax trees to allow you to explore code programmatically, looking at an example to show how you can use it for code analysis by looking for uses of singletons in your code.
  • When should you use NHibernate? – Ayende sparks some debate about the use of ORM and specifically NHibernate with a short post on the subject.
  • When to use NHibernate – Jimmy Bogard follows up the discussion sharing his view point and the persistence technology he is looking to use in difference scenarios.
  • I Just Don’t Like Object Mappers – Karl Seguin also discusses the use of Object Relational Mappers, and Data Mappers and how he has a growing dislike of them.
  • To ORM or Not to ORM. That is the question… – Patrick Liekhus discusses the question of ORM use, and looks at some of the features in some of the common choices in this area.
  • Introduction To Composite JavaScript Apps & Is There An Idiomatic Command Pattern Implementation For JavaScript? – Derick Bailey discusses the concepts behind building composite applications in JavaScript using the module pattern and an event driven architecture. Derick also discusses the command pattern calling on the community to suggest a good implementation. Comments on both of these are well worth reading too.
  • 31 Days of Mango | Day #19: Tilt Effects, Day #20: Creating Ringtones & Day #21: Sockets – Jeff Blankenburg’s 31 days of Mango series continues with three guest posts, the first from Doug Mair looking at working with tilt effects, Jerrel Blankenship on creating custom ring tones, and Parag Joshi on the use of sockets in your applications.
  • Mango Sample: Detect Theme – Jerry Nixon is also pressing on with his series of posts on Mango with a look at detecting the theme of device on which your application is running and having your application respond correspondingly.

Next Page »