The Morning Brew #803

Posted by on Wednesday 2nd March 2011 | Tagged as: .NET, Development, Morning Brew

Software

  • Simple.Data 0.5 – Mark Rendle announces the 0.5 release of Simple.Data, his answer to the simple data access strategy introduced by Microsoft in WebMatrix. This update removes the dependency (and use) of the Reactive Extensions for .NET, improves the NoSql support, and also exposes more of Simple.Data’s internal types to allow improved testability of other provider implementations.
  • The State of Axum – Niklas Gustafsson gives an update on the Axum project, announcing how the project is unlikely to continue into productization, and reflecting on the projects successes and influence into the next versions of C# and VB.NET
  • Windows Embedded Compact 7 is available! – Olivier Bloch announces the public availability of Windows Embedded Compact 7 following a series of OEM beta releases, sharing video, labs and whitepapers about this new version.

Information

  • The Reactive Extensions Now Live on MSDN Data Developer Center – Matthew Podwysocki highlights the new home of the Reactive Extensions, now a part of the MSDN Data Developer Centre, along with new resources and methods of getting the reactive extensions into your projects.
  • Want to see inside a Windows Phone 7 game? I’ve opened-sourced Simon Squared – Samuel Jack announces the open sourcing of his Simon Squared Windows Phone 7 game, giving fellow developers a fantastic opportunity to learn from a real world implementation of a Game based on the XNA framework for WP7.
  • JavaScript Architecture – Simon Ince explores two differing approaches to the architecture of JavaScript solutions, discussing the reasons for these differing approaches, and the advantages and disadvantages of each way of working.
  • Guidelines and rules for GetHashCode – Eric Lippert explores the various rules and guidelines about implementing GetHashCode, looking to separate the hard and fast rules from the things that are less strictly required, and discussing the uses of this method, and the key points in its implementation.
  • ASP.NET MVC 3 w/ Razor Infrastructure Template – Adron Hall shares an infrastructure project template for ASP.NET MVC 3 which utilises Razor and entity framework, and is a project template which he plans to build upon, including implementations of common patterns and useful functional following a test driven approach.
  • Unit tests are overrated – Krzysztof Kozmic continues his discussions of testing practices with a discussion of the importance of choosing the right type of test for the job you are trying to do, discussing how most of the tests in the Castle Windsor Container project are not ‘Unit’ tests but infact integration tests exercising the whole stack.
  • Mocking DbContext Entity Framework 4 Code First CTP5 with NSubstitute – Sean Kearon takes a look at the NSubstitute Mocking Framework using it in some examples to mock the DBContext in Entity Framework 4, showing some of the simplicity of use of this framework.
  • DynamicModuleUtility – K Scott Allen highlights the inclusion of the Microsoft.Web.Infrastructure assembly as a part of the ASP.NET MVC 3 release, and looks at the use of the DynamicModuleUtility class it includes to allow you to register HTTP Modules using code.
  • HTML5 Web Storage in Essence – Wayne Ye explores the new HTML5 Web Storage, and how it provides a viabale replacement for the standard cookie, looking at how you can work with it using JavaScript and looking at its implementation in Internet Explorer 9 RC and Chrome.

Community

The Morning Brew #802

Posted by on Tuesday 1st March 2011 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • Notes on implementing Visual Studio 2010 Navigate To – Paul Kelly takes a look at the navigation feature introduced in Visual Studio 2010, and explores how you can, by providing your own implementation of the interfaces in the Microsoft.VisualStudio.Language.NavigateTo.Interfaces, provide your own custom navigate to search behaviour.
  • ASP.NET MVC "Extendable-hooks" – ControllerActionInvoker class – nmarun takes a look at how the ControllerActionInvoker class allows you to easily extend the behaviour of the core ASP.NET MVC framework, illustrating its use with a simple example for producing different renderings of the same data base don the URL accessing the page.
  • Building a Windows Phone 7 Application with UltraLight.mvvm – Jeremy Likness introduces his small UltraLight.mvvm Windows Phone 7 library which makes it easier to implement MVVM style applications on the phone platform which support Tombstoning, discussing the problem space he is trying to address, along with showing off the features of this library.
  • [Design Patterns] Null Object Pattern – John Katsiotis shares an example of the Null Object Pattern in use, showing how it can help simplify and make code clearer by removing the risk of having a truly null reference returned.
  • Microsoft’s Web Tracking Protection specs submitted to W3C – Barry Dorrans highlights the acceptance of the Web Tracking Protection Specification by the W3C. This Member Submitted specification was created out of the work of the Internet Explorer 9 team, and now stands a chance of becoming a full blown open standard
  • Reactive Face Using Reactive Extensions (Rx) – Marcelo Ricardo de Oliveira takes a look at the Reactive Extensions for .NET, illustrating their use in a variety of situations to make a simple face implemented in WPF perform a variety of actions, and along the way show how the different features of the Reactive Extensions can be used.
  • A Smarter Entity Framework Include Method – Nick Berardi looks at how the Expression class from the .NET Framework can be used to provide a strongly compile time checked version of the Include method in Entity Framework. While this application is Entity Framework specific, the underlying principles can be used to help eliminate uses of strings which refer to properties, and methods in your code.
  • Using the DLR to build Expression Trees – Kenneth Uildriks also explores the use of Expression Trees, looking at their construction using the Dynamic Language Runtime and how they can interact with dynamic types
  • The Wonderful F# Snippets Site! – Don Syme highlights a new snippets site from Tomas Petricek which has hundreds of F# code snippets created by the community to solve a variety of common (and some less common) problems, all of which are tagged and searchable.
  • First-class functions in F#, part 0 – Ivan Towlson takes a look at how F#’s first class functions are different to the delegates we have in C# and VB.NET, showing how functional types are a core part of the F# language.
  • Templated Razor Delegates – Phil Haack highlights a piece of neat looking Razor View Engine functionality which allows you to create inline Templated Delegates in your views allowing common elements to be reused in an easy way, illustrating with a few examples of its use.
  • BDD to the rescue – Mehdi Khalili looks at how BDD can help improve communication, an area which programmers are (stereo)typically not the best at, looking at how the practices of BDD can help improve the communication throughout a project.
  • Inversion of Control : Practical usage of Interface, Delegate or Events & Dependency Injection & IOC – Abhishek Sur takes a look at Dependency Injection and Inversion of Control, looking at the background to Inversion of Control, exploring how you can implement the inversion in your code making use of Delegates, Events and Interfaces, and explores the use of Dependency injection containers to provide the implementations for the dependencies of your types.

Community

  • Andreas Öhlund on NServiceBus (Part Two) on 08 March 2011 – The Europe Virtual ALT.NET welcome Andreas Öhlund back for the second half of his talk on NServiceBus. In this second part, Andreas will look at the features of NServiceBus he didn’t get round to demonstrating in the first part, most notably the Publish-Subscribe and Saga support. The event will take place on Tuesday 8th March from 8PM GMT
  • Software Craftsmanship Round-table – The London Software Craftsmanship Community are meeting on Thursday 10th March for a round table discussion of your choosing, along with pizza and drinks. The event is limited to 25 spaces, and currently has 16 taken, so if you are interested in attending, get signed up now.

The Morning Brew #801

Posted by on Monday 28th February 2011 | Tagged as: .NET, Development, Morning Brew

I’m over in Bellevue, nr. Seattle, WA this week for the MVP Summit 2011, so if you are in town for the event, or a local and fancy meeting up give me a shout on Twitter (@Calcock). I spent Saturday morning helping out at North West Harvest at the GeekGive community event, where I had a great time packaging green beans destined for those in need in Washington State, and was captured on camera sporting interesting head gear by Barry Dorrans (thanks for that Barry ;-))

Software

  • jQuery 1.5.1 Released – The jQuery Team announce the release of jQuery 1.5.1, a minor bugfix release on top of the 1.5 major release. The final edition of this release is now available bot for direct download and also on the Content Delivery Networks from Microsoft and Google.
  • Announcing a new Free Windows Azure Platform Trial offer – Eric Nelson highlights a new Trial Offer from the Windows Azure Platform. This trial now includes an increased compute hours allowance (750 hours) along with 500mb of data transfer in and out, 500mb storage, 10000 storage transactions, 100000 AppFabric Access Control transactions and a 1gb Web Edition SQL Azure database. This trial offer runs through to 30th June.
  • Phoney Windows Phone 7 Project Now Available! – Shawn Wildermuth announces Phoney, a Windows Phone 7 project template which contains a selection of his helper classes for working with Windows Phone 7. Available on CodePlex and also as a NuGet package, Phoney contains a number of controls, converters and helpers for common Windows Phone features, and this 0.1 release includes ObservableObject, PhoneLogger, FadingMessage and BitlyHelper classes.

Information

  • Never Say Never, Part Two – Eric Lippert takes us on another adventure exploring how compilers know if a method will ever exit, looking at cases which can confuse compilers, and exploring the power of a compiler which could accurately identify methods which exit without returning in solving and an all mathematical problems
  • Reimplementing LINQ to Objects: Part 45 – Conclusion and List of Posts – Jon Skeet wraps up his epic series on re-implementing Linq to Objects with a summary and table of contents linking to all the posts in the series. If you’ve not ben following this one as its been being posted now would be a great time to catch up with a facinating read (just allow yourself plenty of time).
  • C# Compiler as a Service Update – Miguel de Icaza gives an update on the feature level of the Mono C# Compiler as a Service library showing how it is now capable of working with full class definitions in addition to its ability to evaluate expressions and statements,
  • How To Find Out Which NuGet Packages Depend on Yours – Phil Haack discusses the dangers or renaming a packages ID in NuGet, and looks at how it is possible to identify if other packages rely on the ID of your package as a dependency using the power of the OData feed.
  • New features in WebActivator 1.3 – David Ebbo discusses the enhancements in the WebActivator NuGet Pacakge which allows packages to introduce source code which runs on application startup to the project when they are installed, looking at support for code after Application_Start, support for Code in App_Code, and the use of start methods outside ASP.NET, all included in V1.3.
  • .NET Client Profile Support in NHibernate 3 – James Kovacs discusses the lack of .NET Client Profile support in NHibernate 2.x, and looks at how introducing this support into NHibernate 3 (and similarly in your own applications) is not as simple as it might seem.
  • Covariance and contravariance in .NET 4.0 – Matt Harrington shares an 8 minute screencast based on a presentation he gave at the San Francisco Bay .NET User Group last year on Co- and Contra- variance in .NET 4
  • Design Patterns Series: The Decorator Pattern (with a real-world soccer example!) – Max continues his series of sport themed examples of Design Patterns with a look at the Decorator Pattern using an example from the world of Soccer (or Football if you’re from my part of the world)
  • Tests are your airbag – Krzysztof Kozmic discusses the importance of having a good test suite in allowing you to work quickly, easily and safely with code, highlighting the importance of the concepts of when and why in testing as well as what code you are testing.
  • MVC Architecture for JavaScript Applications – Peter Michaux discusses the use of the MVC pattern in JavaScript Development, giving background on the pattern, some resources, and looking at a native implementation (sans framework) in JavaScript
  • ASP.NET MVC Ajax CSRF Protection With jQuery 1.5 – Justin Etheredge looks at implementing Cross Site Request Forgery protection for his Non-POST ajax calls, borrowing functionality from the ASP.NET MVC 2 source, and implementing client side code in jQuery

Community

  • An Afternoon With Glenn Block – Scotish Developers welcome Glen Block for an afternoon event on Saturday 12th March at StormID’s Leith Offices on the edge of Edinburgh, where Glen will be delivering a session on his current work, followed by an chalk and talk Question and Answer session on anything you fancy.
  • Webinar: Julian on JavaScript II – objects, objects, objects – Julian Bucknall will be presenting his second JavaScript Webinar on Monday 28th Feb (today) starting at 10am PST where he will be looking at the use of objects in JavaScript.
  • Save the Date – Windows Phone 7 Tech.Days Online Conference – Mike Ormond highlights the plans for a Windows Phone UK TechDays online event on Thursday 24th March which will feature two tracks, one focusing on Silverlight for Phone and the other on XNA. The event will be running from mid afternoon (3pm) until late evening (8:30pm) both GMT, and features a great looking lineup of topics and speakers
  • Writing about Windows Phone 7 Development – Mike Ormond is alos looking for willing authors to help contribute to a free e-book on Windows Phone 7 Development. There is a proposed outline of the book, and Mike is looking for further volunteers to contribute sections towards it, already with a good uptake. This is a great opportunity to get involved in a valuable community addition.
  • How to decrease risk when designing integrated systems with Sarah Taraporewalla – Canary Wharf .NET User Group – The Canary Wharf .NET User Group welcome Sarah Taraporewalla for a session on reducing the risks involved in working on systems which connect to other systems on Wednesday 2nd March

« Prev - Next »