September 2009

Monthly Archive

The Morning Brew #435

Posted by on 17 Sep 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 16 Sep 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.

The Morning Brew #433

Posted by on 15 Sep 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • AutoMapper 1.0 RC1 released – Jimmy Bogard annouces the release of AutoMapper 1.0 RC1, his library for easily mapping data between object graphs. This release brings some significant improvements and new features, and from here to the 1.0 release Jimmy will be making only bugfixes
  • MonoTouch 1.0 goes live – Miguel de Icaza shares thw news of the release of MonoTouch 1.0, a commercial library for the Mono platform which makes it possible to work with the features found on the IPhone and IPod Touch. Licenses stare at $399 for a personal license.
  • Announcing Gallio and MbUnit v3.1! – Jeff Brown announces the release of Gallio and MbUnit 3.1, a complete testing platform. Jeff’s post gives a really comprehensive run through of all the new features including such gems as video capture (useful for UI Testing), a bunch of enhancements to MbUnit such as new asserts, retry support, and details lots of platform improvements in Gallio.
  • Object Hydrator fills your objects with random data…on purpose! – Ryan Smith talks about his Object Hydrator project, a testing tool which allows you to pass objects in and have them filled with test data using some predefined generators. A useful sounding tool, and something I can see being really useful for building demo data.

Information

Community

« Previous PageNext Page »