March 2012

Monthly Archive

The Morning Brew #1076

Posted by on 30 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • C#/.NET Little Wonders: Skip() and Take() – James Michael Hare continues his little wonders series looking at the Skip and Take LINQ methods, also exploring the SkipWhile and TakeWhile methods to create subsequences of values.
  • Targeting the right .NET Framework Profile: Missing Types and Methods? – Brian Grunkemeyer blogs on the BCL team blog looking at the .NET Client Profile in .NET 4, looking at how an understanding of profiles and references is key to understanding why certain framework features are unavailable, and also discussing the portable class library approach.
  • Transform app.config and web.config – Mehdi Khalili discusses using transformations on your configuration files, exploring how tools such as CodeAssassin.ConfigTransform and SlowCheetah can help you further enable transformations to help with CI scenarios.

Community

  • Welcome to the website of the UK Windows Azure Users Group – The London Windows Azure User Group are expanding theiir operations up to Manchester for an event on Wednesday 4th April where Michael Royster, Becca Martin and John Mitchel will be delivering on ‘Win 8 and Azure; Agile and Azure perfect bedfellows’. The group is also continuing its events series in London, with ‘Navigating the cloud with diagnostics, storage and PowerShell’ featuring Gaurav Mantri on 3rd April. Registration is required for these events.
  • Microsoft UK TechDays Azure BootCamp 11th and 18th May – Lee Stott highlights two new Windows Azure Bootcamp events in May. The first, held in London is on Friday 11th May, and the second is being held in Liverpool on Friday 18th May. Registration is required for these free events, and spaces are limited.
  • Microsoft UK TechDays Windows Phone BootCamp 12th and 19th May – In addition to the Azure events, there will be Windows Phone Bootcamps on the Saturday following each, meaning Saturday 12th May in London, and Saturday 19th May in Liverpool. Again, registration is required, and the will fill up quickly.

The Morning Brew #1075

Posted by on 29 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Information

  • ASP.NET MVC, Web API, Razor and Open Source and what it means – Jimmy Bogard discusses the announcement that various parts of the ASP.NET Stack are to be made open source and accepting contributions, giving his perspective on what this means, and discussing the common questions about quality, support and trust that go along with such a change, sharing his perspective from working on AutoMapper and making it open source.
  • Microsoft’s new Open Sourced Stacks – Miguel de Icaza discusses the announcement and shares what it means for the Mono Project, discussing the complication of bringing ASP.NET MVC 4 into Mono due to the current lack of support for Async in the Mono ASP.NET Implementation, and looking to the community for assistance in making this happen.
  • ASP.NET MVC Now Accepting Pull Requests – Phil Haack discusses the announcement, explaining some of the organisational and legal aspects involved in making such a move to open source with contributions.
  • RabbitMQ for Windows: Exchange Types – Derek Greer continues his series looking at the use of RabbitMQ from .NET on Windows with this post exploring the 4 different types of exchange which control the routing of messages into queues.
  • HTML5: The difference between an App and a Page. – Joe Stagner discusses some of the differences between the concept of an HTML5 Application and a HTML5 page, discussing in the context of the Mozilla Open App framework and the HTML5 platform
  • Anti-templating languages – Rob Ashton discusses his dislike of JavaScript templating libraries which claim to remove logic from views, although in some cases they actually go as far as hiding logic in custom mark-up languages.
  • Start – Java Enterprise Performance Book – dynaTrace share their work in progress on an online book which covers aspects of performance and scalability. While the title suggest this is a Java based discussion there is plenty of good cross platform content in there as well.
  • 8 Best Microsoft .Net Development Tools | ZoomZum – Vikas shares 8 of the best .NET development tools most of which are open source or free, and all are well worth checking out if you haven’t already got them in your tool belt.

The Morning Brew #1074

Posted by on 28 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • ASP.NET MVC, Web API, Razor and Open Source – Scott Guthrie announces the big news today, that the ASP.NET MVC, ASP.NET Web API and Razor view engine are being released as open source, on CodePlex using the new Git functionality, and will be taking community contributions which will be reviewed by Microsoft for potential inclusion in future versions
  • ASP.NET MVC 4, ASP.NET Web API and ASP.NET Web Pages v2 (Razor) now all open source with contributions – No ASP.NET announcement is complete without at least 2 posts from people called Scott, and Scot Hanselman shares his take on the announcement in this post, discussing what the release in for open source form means to developers, and how it fits in with the wider ASP.NET ecosystem.
  • Visual Studio Ultimate Roadmap – Jason Zander shares some of his insight into the Visual Studio Ultimate road map, following up on his DevConnections session in blog form.
  • Announcing a Build Service for Team Foundation Service – Brian Harry announces a new Build Service for Team Foundation Service on Azure. This allows you to use a pool of Microsoft managed build machines to perform your build on the hosted Windows Azure version of TFS

Information

  • ASP.NET Web API – Screencast series Part 6: Authorization – Jon Galloway wraps up his six part screencast series looking at various aspects of the ASP.NET Web API, with part 6 exploring authentication, and the use of the built in Authorisation Filter.
  • ASP.NET Security Extensibility Whitepaper Published – Tom Dykstra highlights a new whitepaper from Stefan Schakow which focuses on a number of security related features in ASP.NET 4, and how the request validation process changes between .NET 2 and .NET 4.
  • IQueryable<T> is Tight Coupling – Mark Seemann discusses how the use of IQueryable as your API can result in tight coupling of code which consumes the API to that of the underlying implementation behind the API.
  • 5 1/2 F# features every C# programmer should lust after – Ivan Towlson shares a look at some of the tasty features in the F# language that developers who program in C# should be lusting after, showing off some great F# features which don’t exist on the C# side of the .NET fence.
  • Providing Synchronous / Asynchronous Flexibility With jQuery.when – Derick Bailey takes a look at the jQuery.when functionality and how it allows you to support both asynchronous and synchronous code without having to care which you are actually dealing with.
  • "An Omega Geek’s Guide to Learning PowerShell" – Greg Duncan highlights a post from Howard van Rooijen which gathers together a great collection of resources regarding all aspects of PowerShell scripting, including blogs, whitepapers, webcasts, books, tooling, guides – you name it itís there.
  • Steganography – Hiding data in plain site – I’ve always enjoyed the ideas of Steganography, right from invisible ink as a child, and this interesting CodeProject article from Phoenix Roberts discusses the art of hiding data inside pictures

The Morning Brew #1073

Posted by on 27 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • Windows Phone SDK 7.1.1 Update Now Available – Cliff Simpkins announces the release of the Windows Phone SDK .1.1 on the Windows Phone Developer Blog. This release is the official release for the CTP that was released last month, and enables development of applications targeting the 256MB devices, and also allows development on Windows 8 based machines.

Information

  • null is not false – Eric Lippert discusses the difference between null and false, discussing the implementation of nullable reference types and nullable value types
  • Do I need to dispose of Tasks? – Stephen Toub gives three answers (short, medium and long) on why you don’t actually need to dispose of your Tasks when working with them, despite them implementing IDisposable – unless you have a good reason to.
  • TDD with CodeRush – Rory Becker give a walkthrough tour of some of the features of CodeRush for performing TDD development, showing how an IDE productivity tool, such as CodeRush, can give quite significant improvements to your development process.
  • Inside the Concurrent Collections: ConcurrentBag – Simon Cooper continues his series exploring the concurrent collections included in .NET 4.0 with a look at the implementation of the , discussing how the bag uses threadstatics internally and looking at its data structure.
  • 5 things you never thought about doing with MVC 3 & 5 things to learn about ASP.NET MVC 4 – RobertTheGrey shares two lots of 5 things, first discussing and highlighting further resources on some interesting things you can do with ASP.NET MVC 3 and second looking at 5 things which are new in MVC4.
  • Want to know more about VB.Net/C#? Like maybe the full language specification? Check your hard drive, you might already have them… – Greg Duncan highlights a tip sourced from Salvo Davide Rapisarda highlighting the fact that we all have the documentation for the C# and VB languages right at our fingertips in the form of the official specifications – now you too have the information to become Jon Skeet like in your knowledge of the languages. ;)

Community

  • The Stack – Liverpool .Net User Group – May 2012 – The Liverpool, UK based The Stack Usergroup announces its May 2012 event, with a session from visiting speaker Guy Smith Ferrier looking at internationalization and Globalization of ASP.NET MVC based applications. The event is on Monday 14th May 2012, and is free to attend (although registration is requested)

The Morning Brew #1072

Posted by on 26 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • EF5 Beta 2 Available on NuGet – The Entity Framework Team announce the release of their second beta of Entity Framework 5, now available via NuGet. This release has focused on improving quality, with improvements to Migrations for Visual Studio 2010 users, simpler SqlExpress / LocalDB configuration, and some namespace changes.
  • OpenSource CSV Reader on Nuget – Mike Stall shares a CSV file reader / writer implementation he created, available as open source on GitHub and as a NuGet Package – one to keep in mind next time you are tempted to re-invent this particular wheel.
  • Using SpecsFor.Mvc- Introduction – Matt Honeycutt announces the 1.0 release of SpecsFor.MVC, a library for creating automated acceptance tests for your ASP.NET MVC applications using browser automation. In this post Matt kicks off a series looking at the 1.0 release.

Information

  • Modern Web Development – Part 8 – Shawn Wildermuth continues his series looking at the art and science of Modern Web Development, in this post exploring the importance of Facebook, looking at the Facebook SDK and authentication of an application.
  • Patterns to Isolate Code in Continuous Delivery – Derek Hammer takes a look at various strategies available to isolate unfinished code from deployment in a continuous deployment environment, discussing feature branches, leaving views to last, only pushing when complete, and a few others.
  • Securing your ASP.NET MVC 4 App and the new AllowAnonymous Attribute – Ricka on MVC and related Web Technologies – Site Home – MSDN Blogs – Rick Anderson discusses security in ASP.NET MVC applications, highlighting how it differs from WebForms (secure controllers/action vs files) and looks at the use of the Authorize and AllowAnonymous attributes in MVC4.
  • Should I expose asynchronous wrappers for synchronous methods? – Stephen Toub discusses whether you should expose asynchronous wrapper methods for your synchronous methods in your own API, explaining why the official stance is that you should not, and should keep async methods for those that offer actual asynchrony and the associated scalability benefits.
  • Functional Fizz Buzz – Phil Trelford takes a look at the now well-known Fizz-Buzz programming interview question, exploring how it can be answered very concisely in a variety of Functional Programming languages
  • Understanding Enhanced Protected Mode – Eric Lawrence gives the technical low-down on the new Enhanced Protection Model of Internet Explorer, discussing how it fits in with the existing multi-process architecture, and the new AppContainer.
  • AsyncCTP installation problems (and VS11) – Lucian Wischik shares some tips on getting the current Async CTP release working in a variety of situations where there are common problems with this now quite old CTP update release

The Morning Brew #1071

Posted by on 23 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • Mono 2.11.0 is out – Miguel de Icaza announces the release of Mono 2.11.0, the first beta release leading up ot a stable 2.12 release. This release includes the new SGen Garbage Collector, inlining optimisations for ThreadLocal<T>, extensions to the Mono Compiler as a service, support for C#5 Async, and .NET 4.5, along with improvements to performance, debugging and mac support.
  • Json.NET 4.5 Release 1 – James Newton-King announces the release of Json.NET 4.5 Release 1. This release adds support for use in Windows 8 Metro applications, along with a collection of other enhancements, and improvements, along with addressing reported issues.
  • jQuery 1.7.2 Released – The jQuery Team announce the release of jQuery 1.7.2, with only one small change from the release candidate addressing a bug with negative margins in animations.

Information

  • git commit -m "CodePlex now supports Git!" – Mark Groves shares the exciting news of Git support being added to CodePlex, providing another version control option for the hosting of open source projects on CodePlex.
  • The Future of CodePlex is Bright – Brian Harry discusses the CodePlex site, and how it fits in with the overall vision for hosted TFS and supporting the development community within Microsoft, discussing the future roadmap convergence between the two projects.
  • The Differences Between Development on Windows Azure and Windows Server – Rachel Appel shares a post contributing to the collaboration between Rachel, Adam Hoffman and Peter Laudati looking at Windows Azure development for ASP.NET Developers. In this post Rachel takes a look at the key differences between working with ASP.NET on Windows Azure versus your own servers.
  • Windows Azure from a Data Perspective – Buck Woody shares a look at the Windows Azure platform from the point of view of data storage, discussing data architecture and how the data you need to store can be related back to the technologies that make up the data storage components of Windows Azure.
  • Unleash the power of HTML 5 Canvas for gaming – Part 1 – David Catuhe looks at the use of HTML5’s Canvas for providing graphics capabilities for Games, exploring some of the tricks and techniques you can use to gain the best frame rate possible, including making use of available hardware acceleration and scaling, reading picture data from off screen,
  • Cool Down with Canvas and JavaScript – K. Scott Allen also takes a look at the use of Canvas, exploring the creation of a command button image which has a cool-down disabled state with animation restoring it to use – a nice effect.
  • Fork/Join in JavaScript – Alex Robson discusses the use of JavaScript in asynchronous situations, looking at implementing Forck / Join, and building upon this basis introducing partial application into the mix, and demonstrating how these techniques can be used in the real world.
  • Another free ebook from the team at Apigee – "Web API Design: Crafting Interfaces that Developers Love" – Greg Duncan highlights a free e-book from Apigee looking at creating good Web APIs. This book is not about the new Microsoft ASP.NET Web API directly, although the content in the book can be applied to your implementations in ASP.NET WebAPI

The Morning Brew #1070

Posted by on 22 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Software

  • AutoFakes Is Now Live at CodePlex – Doug Seelinger announces the release of his first Open Source project on CodePlex. AutoFakes is intended for use with Visual Studio 11, and may work with VS2010 and the Pex functionality, and provides auto mocking container like features without the container dependency.
  • YUI 3.5.0 PR4 Is Now Available – The Yahoo User Interface team announce the 4th and final preview release of YUI 3.5 prior to its official release. This release is available on the Yahoo CDN and also as a download and the team are keen for you to try it out in your projects and give feedback.

Information

Community

  • Advanced Windows Azure Workshop UK – Planky, in conjunction with Andy Cross and Richard Conway of the UK Azure UserGroup is looking into the possibility of running an advanced 1 day Windows Azure Workshop in the UK , and trying to get a idea of how many people would be interested. If this is something you would find useful let them know.

The Morning Brew #1069

Posted by on 21 Mar 2012 | Tagged as: .NET, Development, Morning Brew

Information

  • Improving Launch Performance for Your Desktop Applications – Brandon Bray discusses some of the improvements being made to .NET in the Visual Studio 11 timeframe to give your applications an improved startup time, discussing the managed profile guided optimization (MPGO) and the use of NGen to generate improved native images.
  • Facebook C# SDK submitted to the Outercurve Foundation – Peter Galli highlights the Facebook C# SDK as the latest project to be taken under the OuterCurve Foundation’s wing.
  • Integrating and isolating the container in tests – Jimmy Bogard takes a look at using nested/child containers to allow him to use his production IOC configuration in integration tests, with just a few outer most services stubbed out, and have the container go back to a known state between tests.
  • Interfaces and IoC – Derek Fowler is also discussing IoC, specifically the decisions about the interfaces to use for the items in our containers, looking at some of the design decisions and how different implementations conform to best practices.
  • Avoiding NotSupportedException with IQueryable – K. Scott Allen looks at how certain LINQ providers are not able to fully support projections where you make use of constructors to do the constructing of to projected to object. Check out the comments for a neat solution to the problem
  • Metro: Introduction to CSS 3 Grid Layout – Stephen Walther takes a look at the use of CSS3 Grid Layouts, a part of the W3C CSS3 Spec which allows you to easily create grid layouts, showing how the spec is supported for JavaScript / HTML powered Metro applications in this nice primer on the subject.
  • CoffeeScript or Straight Up JavaScript? It’s Decision Time – Rob Conery discusses the various factors he is considering when making a decision between plain JavaScript and CoffeeScript, looking at debugging, readability. Interesting reading, as are the comments on this one.
  • Weak Events in .Net, the easy way – Samuel Jack shares a look at how he implements weak events in .NET using the Reactive Extensions to avoid having objects kept alive by event handlers and being prevented from being cleaned up by garbage collection.

Next Page »