The Morning Brew #436

Posted by on Friday 18th September 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • xVal v1.0 Now Available – Steve Sanderson announces the version1 release of xVal his Validation Helper for ASP.NET MVC. New in this release are support for dynamic client side validation summaries, support for remote ajax based validation, and localisation into a number of languages. This post also give a simple getting started tutorial

Information

  • Getting to know .net build tools – Garren explores two of the common .NET Build tools, looking at NAnt and Rake, showing a configuration for a CI build in each.
  • How A .NET Developer Hacked Out A Rake Task – Derick Bailey takes a look at building a ‘real’ Rake custom task, and then looks at some alternative ways of handling dependencies in custom tasks in his next post An Alternate Way To Handle Task Dependencies In Custom Rake Tasks
  • The cost of latent logging code – Mark S. Rasmussen shows a useful technique for improving the performance of logging code when logging is disabled by deferring the execution of building the message until we know logging is on, and maintaining noise free logging code.
  • Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth – Rick Strahl shows how he integrated Open ID authentication into his CodePaste.Net code sharing application using the DotNetOpenAuth library
  • The case for two-way mapping in AutoMapper – Jimmy Bogard talks about some of the requests he gets for features for his AutoMapper library, and looks at the core use cases it was developed for. Jimmy also asks the community for the use cases where they might require two way mapping
  • Introduction to Data Binding in Silverlight 3 with CTP2 – Shayne Burgess runs through the process of working with the ADO.NET Data Services 1.5 CTP2 release support for databinding in Silverlight 3 applications, showing an end to end tutorial to build some simple functionality using this feature.
  • Developing for Surface, part I – Dennis Vroegop starts a series of posts talking about development for the Microsoft Surface, proving an interesting insight into the device and its features for those of us who aren’t lucky enough to have one to play with
  • NHibernate Image User Type – Ricardo Peres looks at how you can create a custom type in NHibernate to support image data stored in your database being pulled out and sent back via NHibernate
  • Professional NHibernate Support – Steve Strong shares the news of his employers new support offerings for NHibernate, joining the support programme Ayende announced recently. This one is priced slightly differently, with ‘points’ being purchased and support activities costing specific numbers of points
  • Bringing The Heat With Dynamic – Justin Etheredge re-invigorates his enthusiasm with the C# language (and the .NET platform) by taking a look at the dynamic support being added in V4, and talks about how it moved C#/.NET ahead of other platforms
  • Fun with C# 4.0’s dynamic – Bertrand Le Roy discusses some of the hotly debated items arising from the introduction of the dynamic keyword and looks at some of its power, suggesting that given some time everyone will find it indispensable.
  • TDD: Testing with generic abstract classes – Mark Needham takes a look at using abstract classes to provide the basis for testing similar structures in the model.

Community

  • Video of the Continuous Integration workshop – Eric Hexter shares some video / slide content from the recent Continuous Integration Workshop held in Austin. The three hours of content include coverage of automated build and deploy, continuous database integration, continuous testing, and software configuration management. Well worth checking out

The Morning Brew #435

Posted by on Thursday 17th September 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • Pex 0.16.40915.5: Moles, a lightweight Detour Framework, and better support for Test Frameworks – Jonathan "Peli" de Halleux announces the latest release of PEX which includes Moles, an extenion of the Stubs framework which enables you to replace any .NET method with your own implementation as a delegate. Other features include the inclusion of a HostType for Pex for better integration with the Visual Studio Unit Test Framework and easier integration with your test framework of choice
  • Anti-XSS Library V3.1 – Microsoft have released an update to their Anti-Cross Site Scripting library whch helps to sanitize user provided HTML input. Details of the new features can be found in AntiXSS v3.1 new features by Syed Aslam Basha.

Information

  • Actually Querying with the Specification Pattern – Chris Missal continues exploring the Specification pattern and implementations of it and the repository. In his post Chris explores backing the repository onto a collection allowing querying against that collection, and explores backing it onto Linq-to-mocks collections which are a part of the Moq framework
  • Drawing the Line Between MVC Controllers and Application Services – Billy McCafferty talks about the decision of where to draw the line between your UI / presentation code and your application code, and how the evolution of application frameworks such as web forms, ASP.NET MVC and DD practices have changed the rules
  • How to Unit Test ASP.NET MVC Controllers | Arrange Act Assert – Jag Reehal also talks a little about what should be a part of your ASP.NET MVC controller and looks at testing controllers in detail with a number of good examples.
  • ASP.NET AJAX 4.0 Preview 5 – Working with Converters and the new CDN – Fredrik Normén continues exploring the new ASP.NET AJAX 4.0 Preview 5 release with a look at the new converters feature which works with the libraries databinding functionality, and also takes a look at how you can work with the new CDN from Microsoft which hosts the Ajax library .
  • Microsoft Ajax CDN and the jQuery Validation Library – Stephen Walther talks about the Microsoft Ajax CDN which provides an edge content delivery network containing the ASP.NET AJAX libraries along with JQuery and the JQuery Validation library. In this post Stephen talks about the Validator library and how you can easily use it to gain client side validation.
  • Ultimate IE6 Cheatsheet: How To Fix 25+ Internet Explorer 6 Bugs – A very useful Cheat Sheet from Virtuosi Media detailing how you can work around a number of common IE6 bugs, along with other coping strategies for working with this old (yet still officailly supported by MS) browser
  • NCover and NUnit Can Play Nicely on x64 – Justin Etheredge talks about how he managed to get NUnit and NCover (free) to work together on the x64 platform. Having recently moved over to an x64 based machine I’ve found this type of gotcha to be time consuming and anoying.
  • Gotchas: Adding Attributes to Properties on Interfaces in F# – Ade Miller looks at how adding attributes on properties as a part of interfaces in F# triggers a bug in the F# May 2009 CTP, and offers a work around for this problem which makes consumption with things like Unity from C# more difficult
  • Interface Subscriptions Now Supported by MassTransit – Chris Patterson talks about a new feature being added to MassTransit to allow subscriptions based on interfaces to allow evolution of the messages being passed through Mass Transict and consumed .

Community

The Morning Brew #434

Posted by on Wednesday 16th September 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • Qizmt – MapReduce On Windows – Scott Watermasysk shares the news that MySpace are releasing their MapReduce based data mining framework as open source. The release is an alpha release, but already it includes support for building MapReduce jobs in C#, an IDE / Debugger, cluster administration, failover, etc. This one looks like one to watch
  • Google Chrome after a year: Sporting a new stable release – Google announces a new stable version release of their Chrome web browser, taking Chrome to Version 3. The release contains a number of new features, along with what would seem to be a significant improvement in JavaScript performance

Information

  • Auto-Start ASP.NET Applications (VS 2010 and .NET 4.0 Series) – Scott Guthrie continues his series of posts looking at the new features of .NET 4 / Visual Studio 2010 with a look at the ability to have your ASP.NET applications automatically start without requiring a request to be serviced, meaning that your users shouldn’t see the first hit to the application start up penalty any more
  • Announcing the Microsoft AJAX CDN – Scott Guthrie also announces a new Content Delivery Network offering JQuery and ASP.NET AJAX libraries on a Microsoft powered edge delivery network offering the most speed possible for these shared libraries. This service is enabled very simply by setting one property of the Script Manager, and is free for both commercial and non-commercail use.
  • Trying MonoDevelop On OS X – Davy Brion dips a toe into the world of cross platform .NET Development exploring the MonoDevelop IDE running on OS X
  • Generating Dynamic Methods with Expression Trees in Visual Studio 2010 – Alexandra Rusina of the C# team takes a look at the extensions to expression trees which are a part of Visual Studio 2010 / .NET 4, and shows how you can exploit these features to generate dynamic methods without resorting to writing MSIL.
  • Hacking LINQ Expressions: Select With Index – Keith Dahlby looks at Linq Query expressions and attempts to add in support to the select operation to allow it to expose the item index along with the item. Check the comments for some other solutions to this problem.
  • Linq to NHibernate Progress Report – Steve Strong gives another update on his work implementing the new Linq to NHibernate parser, which he is now making good progress with (which can be seen in the NHibernate Trunk)
  • Reflection with dynamic – Kirill Osenkov talks about some work done by Paul van Brenk during his time as an intern on the Visual C# IDE Team on using dynamic to make calling private mentods using refection easier. Krill also talks about the design decisions behind dynamic (and other feautes) and how these principles give the resultant language such power.
  • Generically Constraining F# – Part I – Matthew Podwysocki picks up on the work Jon Skeet has been doing looking at generic constraints in C# for Enums and delegates and shows how in F# all these things are possible, and how having the language designed by one of the key people in designing the generics functionality can help.
  • Simple auditing using an NHibernate IInterceptor (Part 4) – Scott Kirkland continues his series looking at using the IInterceptor functionality of NHibernate to build auditing support in your applications. This part looks at hooking all the functionality into the NHibernate session and giving it a try
  • Shrinkr – Url Shrinking Service Developed with Entity Framework 4.0, Unity, ASP.NET MVC And jQuery (Part 3) – Kazi Manzur Rashid continues his series on building a URL shortening service using .NET with a look at compiled query support in the Entity Framework
  • Take Two: A jQuery WCF/ASMX ServiceProxy Client – Rick Strahl revisits the idea of having a jQuery powered proxy for ASMX and WCF web services rather than using the Microsoft AJAX libraries script reference. Full code of the implementation is provided.
  • Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC – Mike Brind takes a look at embedding the Microsoft Chart Control charts inside dynamically created PDF documents using iTextSharp and the ASP.NET MVC
  • Best Practice No 4:- Improve bandwidth performance of ASP.NET sites using IIS compression – Shivprasad koirala takes a look at the built in compression in IIS and explores its usefulness, how it works and how to configure it in this Code Project article.
  • Challenge: NH Prof Exporting Reports – Ayende issues a chalenge to create a reporting feature for NHProf creating PDF versions of some sample reports, and winning yourself some fame and a license to NHProf.

« Prev - Next »