August 2009

Monthly Archive

The Morning Brew #422

Posted by on 28 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Monday is a Bank Holiday (public holiday) here in the UK, and in keeping with the Morning Brew tradition I will be taking Monday off, so your next instalment (#423) will be on Tuesday. Have a good weekend everyone.

Software

Information

  • Fun With Method Missing and C# 4 – Phil Haack explores the wonderful world of the C#4 dynamic support, and along with Method Missing creates a dynamic dictionary and puts it to work in an ASP.NET MVC solution
  • F# First Class Events – Changes on Creating Events – Matthew Podwysocki continues his series of posts on F# Events with a look at how the F# language is evolving, exploring how events are created in the VS2010 timeframe.
  • Build Your Own Data Access Layer: Lazy Loading – Davy Brion continues his series of posts on building a custom DAL, looking at how Lazy Load of entities can be achived. In A guide into OR/M implementation challenges: Lazy loading Ayende follows on from Davy’s post with a look at how NHibernate handles the Lazy Load
  • NHibernate tips & tricks: Efficiently selecting a tree – Ayende also offers a useful post about loading Hierarchical trees of data using NHibernate, showing how you don’t need to round trip to the database for every set of children.
  • NHibernate EnumStringType error, and praise for Open Source – Thomas Weller talks about an issue he ran into in NHibernate to do with having enums in the domain represented as strings in the database using the EnumStringType. Thomas shows how he worked through isolating the problem and fixing it in his copy of the NHibernate source, along with submitting a ticket to the project.
  • Dynamic Part Instantiation in MEF – Nicholas Blumhardt shows off a new feature of the Managed Extensibility Framework which will not be a part of the .NET 4 release of MEF. This feature surrounds the ability to dynamically create parts in response to application events using a Declarative Context Adapter called PartCreator<T>
  • Better Visual Studio F1 – Brian Schmitt follows on from the recent discussion on removing the MSDN Library install from your system and relying on online help with a nice little Visual Studio macro which can be assigned to your F1 key and will take the currently highlighted text and search a number of different sites for it – a worthy replacement I think.
  • How To Get Started With Selenium Core And ASP.NET MVC – Derick Bailey gives a nice run through of working with Selenium Core to test your ASP.NET MVC applications interactively
  • What’s the Difference? Part Three: fixed vs. fixed – Eric Lippert continues his ‘What’s the Difference’ series with a look at the fixed keyword and its role in making pointers work when there is a garbage collector wanting to move memory around.
  • Auto-mocking hierarchies (a.k.a. recursive mocks) with Moq – ‘bengtbe’ follows on from Richard Dingwall’s post I linked to a few days back about complicated mocking requirements offering a suggestion of a Law of Demeter violation. This post talks about how the Moq recursive mock functionality makes the problem of complex mocking of this sort much easier
  • SQL Server Express – A Complete Reference Guide – Pinal Dave post a great collection of resources about the SQL Server Express product.

Community

The Morning Brew #421

Posted by on 27 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • A Real WPF WebBrowser – Chris Cavanagh has been at work combining the Chromium and Awesomium projects with some WPF to create a fully functional WPF based web browser allowing you to have a web browser component in WPF applications which behaves well in the WPF layout system. Source is available on CodePlex, and there is a ClickOnce demo too.
  • QuickGraph 3.3: Easy interop with Delegate Graphs – Jonathan "Peli" de Halleux announces a new release of his QuickGraph library of graph data structures and algorithms which includes a number of bugfixes and new graph structures based on delegates
  • Popfly Parting Present – Ben Anderson shares one part of the now close Popfly system, the game engine which is written in Silverlight. Unfortunately due to the nature of Popfly being a hosted serivce this is the only code that could be released as everything else is coupled to the hosting environment, other systems or shares IP with other products

Information

The Morning Brew #420

Posted by on 26 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Information

  • Clean Web.Config Files (VS 2010 and .NET 4.0 Series) – ScottGu begins a series of posts looking at Visual Studio 2010 / .NET 4 features. This first post looks at the improved Web.Config file, which after a number of releases adding clutter to these configuration files the team have cleared it all out of the way of your applications config, leaving you with clean config for just your settings
  • Law of Demeter is easy to spot when you need extra mocks – Richard Dingwall shows how friction setting up mocks is a sign of (and can be caused by) violations of the Law of Demeter
  • The good and the bad of exception filters – Mike Magruder talks about exception filtering, looking at how it works at the CLR Level, some for the unexpected way it behaves, and talking about why so few languages implement support for it
  • === vs == – Luis Abreu talks about the difference between the == and === operator in Javascript, and how using the === operator can, due to the lack of type coercion, lead to more understandable code / expected behavior.
  • Build Your Own Data Access Layer: Hydrating Entities – Davy Brion continues his series on building a custom DAL with a look at filling his entities with data and Ayende follows up with this post ‘a href=”http://ayende.com/Blog/archive/2009/08/26/a-guide-into-orm-implementation-challenges-hydrating-entities.aspx”>A guide into OR/M implementation challenges: Hydrating Entities to his shadow series looking at the NHibernate aspect of entity hydration
  • Requiring SSL For ASP.NET MVC Controllers – Dan Wahlin shows how using an ActionFilter Attribute you can force certain controllers to run on a SSL secured HTTPS connection in ASP.NET MVC
  • NerdDinner with Fluent NHibernate Part 2 – The mapping – ‘bengtbe’ continues the series of posts looking at replacing the NerdDinner sample projects data access with NHibernate using Fluent NHibernate. This part takes a look at the mapping process using Fluent NHibernate
  • ASP.NET MVC + MVC Contrib + Unit Testing – Patrick Steele works through building an ASP.NET MVC Controller Action with full unit tests, in a step by step manner using the MVC Contrib Test Helper to assist in the testing

Community

The Morning Brew #419

Posted by on 25 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • How about a StoryTeller Preview Release! – Jeremy D. Miller introduces his StoryTeller project and announces a preview release. The post also gives some background to the use of the StoryTeller tool for creating executable requirements tests for .NET development

Information

Community

  • LIDNUG: Free Online Virtual Chat with Me Tuesday Morning – ScottGu will be the ‘speaker’ at this weeks Linked In .NET User Group event to be held this evening for us in the UK (morning for those in the US). By my calculations this will be a 5pm start in the UK and promises to be an interesting event
  • One Free Ticket to my UK TDD Master class – Roy Osherove highlights a competition to win a place on his TDD Master class training session. All you have to do to enter is post a specific paragraph of text on your blog before 1st September

The Morning Brew #418

Posted by on 24 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • OpenRasta 2.0 beta 2 is out – Seb Lambla announces the second beta release of OpenRasta 2.0, his resource oriented framework for building MVC applications and REST web services on ASP.NET 2 and beyond

Information

Community

The Morning Brew #417

Posted by on 21 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • ANN: ELMAH 1.1 released – ELMAH (Error Logging Modules and Handlers for ASP.NET) has reached its v1.1 RTM release with a number of changes to its email functionality and additional rules based filtering support along with a few bugfixes.
  • HawkCodeBox – Harry Pierson shares a syntax highlighting text box implementation in WPF utilising the DLR TokenCategorizer to tokenize the code to highlight

Information

Community

  • Win a free registration and Hotel for SQLBits V – Simon Sabin announces a competition involving the mugs from SQLBits IV (or a home made equivalent) to win a free pass to the pay-for part of SQLBits V along with Hotel accommodation

The Morning Brew #416

Posted by on 20 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • Now available: Small Basic v0.6 – SmallBasic gets another update, taking the version number to 0.6, and adding in German localisation, along with some bugfixes and a number of new features ranging from updates to the manual on Arrays, through to methods to measure time.
  • WPF Control Verifier v0.1 Released! – Ivo Manolov announces the release of the WPF Control Verifier 0.1, part of WPF team’s three prong efforts to improve WPF application quality. The WPF control Verifier is a toll to assess the correctness of controls in the form of a number of style tests
  • Remember, tomorrow is the last day to download Windows 7 Release Candidate – The Microsoft SMB Community Blog reminds us that today is the last day to get hold of the Release Candidate of Windows 7

Information

Community

The Morning Brew #415

Posted by on 19 Aug 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • Try SQL Azure Database CTP Today – The SQL Azure Team encourage you to try out their newly released CTP of Microsoft SQL Azure Database a cloud based relational database engine, which as of this release also includes a driver for PHP to access it. The service is free until Novemeber, when a charging model kicks in, see this post for more details.
  • MVP Launches Bing Sharp API – Jas Dhaliwal highlights the work by Joseph Guadagno on wrapping the Bing API in C# providing a more friendly interface for C# developers to interact with Bing in their code.
  • Reflector.Babel Addin – Jason Haley releases Version 1.0.0.0 of Reflector.Babel Add-in, an add-in for Reflector which provides a simple interface to the Babel Obfuscator

Information

  • STM.NET Contracts aka Access Modifiers for Transactional Memory – Sukhdeep Sodhi explores some of the Code Contracts implemented in the STM.NET preview and looks at how they allow us to know what we can run inside a transaction, and also takes a look at the theory of why this matters.
  • Unit Testing Has Changed How I Write Software – Joel Ross talks about how he overcame his failure to obtain the benefits of Unit Testing and Test Driven Development, and how embracing this style has changed the way he writes software.
  • Preventing debugger property evaluation for side-effect laden properties – James Gregory talks about the DebuggerBrowsable Attribute which allows you to mark properties to not be evaluated automatically by the debuggers watch views, and talks about how this especially important if your properties have side effects.
  • Introducing LazyLinq: Internals – Keith Dahlby talks about the implementation of the key interfaces in his LazyLinq project which aims to support lazy initialisation and deferred disposal of LINQ Query contexts
  • Building Strongly-Typed Sessions in ASP.NET MVC – Jarrett Meyer shares a technique for creating strongly typed session wrappers in ASP.NET MVC allowing you to have sessions free from magic strings.
  • Building Line of Business Applications with Silverlight 3 – Pros and Cons – Dan Wahlin talks about the up and down side of building a line of business application using Silverlight 3 based on his experiences creating a real Silverlight 3 application for a client to manage timesheets and jobs across their organisation.
  • Multiple database support with Entity Framework – Muhammad Mosa talks about database independence in the Entity Framework, looking at how the providers allow this to work, and looks at the steps you should take in your model development to ensure that you obtain the benefits of database independence.
  • Top 10 T-SQL Code Smells – Merrill Aldrich shares some signitures of T-Sql code smells and anti patterns along with giving some explanation of why these things are bad.

Community

Next Page »