August 2009

Monthly Archive

The Morning Brew #414

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

Software

  • Moonlight 2.0 goes Beta – Miguel de Icaza announces the newly feature complete beta release of Moonlight 2.0, the cross platform Silverlight 2 implementation
  • Rest For ASP.NET MVC SDK and Sample – Phil Haack announces the latest offering from the ASPNET MVC team, a REST SDK and sample application running on top of the ASP.NET MVC framework. From Phil’s post it sounds like lots of this functionality may make the move into the framework over time.
  • KIGG 2.5 Released – Amr ElGarhy announces the release of KiGG 2.5, an update to this ASP.NET MVC powered Digg clone. This release includes updates of various components utilised, such as Moq 3, DotNetOpenAuth 3.2, along with utilising the Entity Framework with a repository pattern.

Information

The Morning Brew #413

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

Software

  • Fluent NHibernate 1.0RC – James Gregory announces the Version 1.0 Release Candidate of Fluent NHibernate which includes a number of small breaking changes to the Fluent Interface to reduce verbosity. Expect the RTM pretty soon.
  • TestDriven.Net 2.23 Beta – Faster! – Jamie Cansdale announces the release of Test Driven .Net 2.23 Beta which includes a huge speed up for those running on a 64bit OS byt being compiled for x86 rather than x64 – sounds strange, but Jamie explains it a little in this post, and also talks about Cleaner Stack Traces, one of the improvements made to the platform in this release

Information

  • Observations on the ‘if’ statement – Chris Brandsma talks about some of the antipatterns surrounding the if statement, looking at how you can refactor to avoid falling into these traps.
  • Demeter Transmogrifiers To The Rescue – Phil Haack takes another look at the Law of Demeter, and shows how the Hide Delegate approach can help, but can also lead to silly methods (otherwise known as Demeter Transmogrifiers) being created.
  • Singletons Are Evil Part 2 – Scott Densmore takes a deeper look into one of the problems which often accompanies the Singleton pattern, high coupling of dependencies and looks at how an IOC container can help
  • Adjusting NHibernate mapping for tests – Krzysztof Kozmic continues looking into using SQLite as a testing database for NHibernate based code and talks in this post about some of the problems you can run into due to the limited subset of features SQLite offers compared to full SQL Server, and introduces a work around in the form of a re-mapper which modifies the mappings for the test database.
  • Convention over Configuration The Next Generation? – Udi Dahan talks about the next steps in the Convention over Configuration movement, dreaming of an ideal where we don’t have to read over configuration files, startup code, an implementation details to get going on a project
  • Should I use MEF for my general IoC needs? – Glenn Block looks at some of the finer detail of the Managed Extensibility Framework, specifically looking at how it differs from a traditional IOC implementation
  • IoC in .NET part 1: Autofac – ‘Sharpoverride’ has a mini-series looking at Inversion of Control implementations in .NET, with the first part looking at Autofac, the second part looking into how StructureMap does on the same problem, and in part 3 tries out the beta release of Ninject 2, and part 4 sees Spring.Net getting a run out.
  • Instantiating interfaces – Ayende (amongst others) shows off a slightly strange looking feature of .NET which allows you in instance an interface and have it filled with a default implementation using the CoClass attribute
  • Refactoring Day 16 : Encapsulate Conditional – Sean Chambers presses on into the second half of his month of refactorings series of posts with a look at the Encapsulate Conditional refactoring. I’m really looking forward to the rest of this series now we have got a lot of the standard well known refactorings out of the way.
  • ASP.NET disk-based caching – Karl Seguin shares his investigations into providing a disk based cache for ASP.NET pages, and outlines some further extensions that would be possible on top of this proof of concept.
  • Velocity CTP3 Set up for ASP.NET Session State – Steve Michelotti takes a look at one of the useful side features of the Velocity distributed cache, a provider for Session State housed in the distributed cache, and looks at the configuration of Velocity CTP3
  • Community Convergence LIII – Charlie Calvert highlights posts from the C# team in the 53rd edition of his Community Convergence series.
  • Tasks/Continuations and Death of the ThreadPool? – Sacha Barber takes a look at the Visual Studio 2010 / .NET 4 Tasks implementation and wonders if this will be the replacement of the threadpool for most multi-threaded jobs.
  • Why can’t I declare a type that derives from a generic type parameter? – Raymond Chen rounds up CLR week with a look at the differences between .NET Generics and C++ templates
  • ASP.NET MVC in Action – Jeffrey Palermo shares some discount codes for his (and possibly for other Manning books) which can get you up to 40% off.

The Morning Brew #412

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

Software

  • jQuery UI 1.8a1 – Richard D. Worth announces the first preview release of JQuery UI 1.8 bringing the usual bugfixes and three new plugins, one for positioning, one for ensuring the things on the top stay on the top and one for managing zindex

Information

  • Array Bounds Check Elimination in the CLR – Dave Detlefs talks about array bounds checks in managed code, and looks at some of the techniques which allow managed code to not do this seemingly vital set of performance impacting checks.
  • 15 Free Computer Science Courses Online – Alfred Thompson highlights 15 free computer science courses from a wide range of sources covering topics from mathematics, network security, through to working with robots
  • Assert.True is the tool of last resort – Ayende makes a very good point about how Assert.True is a very unexpressive assert in that it gives little or no information should the assert fail in a test run.
  • Linq to Mocks is finally born – Daniel Cazzulino talks about a recent development in Moq which truely brings Linq to Mocks into being, with early beta releases availabel now if you wish to try it out.
  • Fun With Wacky JavaScript Type Comparison – Nick Berardi takes a look at some of the slightly strange comparisons that are possible in Javascript due to type coercion and conversion
  • Javascript – understanding scope – Luis Abreu takes a look at how scoping works in JavaScript. Also well worth checking out some of his previous posts on JQuery – there are quite a lot covering a good range of features.
  • Fabulous Adventures In Coding : Four switch oddities – Eric Lippert takes a look at 4 things about the switch statement in C# you may be unaware of, or confused by, along with providing the reasoning behind some of them.
  • Testing with NHibernate and SQLite – Krzysztof Kozmic takes a look at testing NHibernate using SQLite as a database for the testing, along with providing an abstract base class for NHibernate tests
  • xUnit Browser Attribute – Run Cross-Browser WatiN tests effortlessly – Ben Hall shows how you can utilise the extensibility of the xUnit.Net testing framework to make it so that you don’t have to duplicate your test logic to test across multiple browsers when using xUnit.Net powered WatiN tests
  • How-To: Using the N* Stack, part 3 – Jason Dentler continues his series looking at the N* alternative .NET technology stack. In this part he looks at the configuration of NHibernate, and the mapping of the classes from class to database.
  • Six things that will happen when you uninstall your MSDN documentation – Roy Osherove talks about the outcomes of removing the MSDN documentation – I have to agree with a lot of what Roy says here, I’m fed up of waiting while the documentation updates, etc and have also contemplated doing this.
  • What’s in Your Collection? Part 1 of 3: Interfaces – Jeremy Likness begins a series on collections with a look at the interfaces that make up the collection classes in this Code Project article series.

The Morning Brew #411

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

Software

  • NCover v3.2 Released! – The NCover team announce the release of NCover 3.2 now with .NET 4.0 support along with a feature which allows you to ignore any assemblies which don’t have PDB files (allowing you to focus on just your code). There are also bugfixes and improvements to the NCover Explorer
  • Announcing a new product line – Telerik Extensions for ASP.NET MVC – Telerik announce the release of their first Open Source product, released under the MS-PL license, which offers a number of ASP.NET MVC enhancements, and UI controls working with JQuery and JQuery UI
  • ASP.NET MVC: DevExpress Mail Demo – Not to be left out, DevExpress Evangelist Mehul Harry announces official support for ASP.NET MVC byt the DevExpress ASP.NET Controls, and shares a sample application based on these controls running in ASP.NET MVC

Information

The Morning Brew #410

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

Software

  • Siesta: Painless REST via ASP.NET MVC – Nate Kohari announces the release of Siesta, the rest based parts of his Zen API. This is an open source release, which is intended to show you how you can work in this manor and how you can implement thios style of working in your own applications
  • MVP Releases Silverlight Database Diagram Widget – Jas Dhaliwal highlights a Silverlight Database Scheme Viewer project from Braulio Diez Botella a Málaga based MVP. Full source and Binary release available, licensed as MS-PL

Information

  • A Walkthrough of Dynamically Compiling C# code – Saveen Reddy runs through the process of dynamically compiling C# code at runtime using the framework CodeDom and CSharpCodeProvider, and looking at adding references to external code, and the different types of output (EXE, DLL) that can be created
  • RunAs in C# – Eugene Rosenfeld shows how you can implement ‘RunAs’ functionality from within your C# code allowing you to switch user contexts at runtime to perform C# operations
  • C# 4’s Dynamic in Mono – Miguel de Icaza talks about the Mono 4 implementation of the C# Dynamic keyword, and shows an early implementation in use.
  • Statement Trees With Less Pain – Follow-Up on System.Linq.Expressions v4.0 – Bart De Smet continues his exploration of System.Linq.Expressions in V4 of the framework with a look at some of the language level support for statement trees
  • Embedding Python Scripts in C# Applications – Harry Pierson continues his look at combining C# and IronPython to create a hybrid application. This part looks at running the Python content from C# using the IronPython hosting environment.
  • How-To: Using the N* stack, part 1 – Jason Dentler starts a series of posts looking at getting started with the N* alternative .NET frameworks as a part of an ASP.NET MVC Project. This first part looks at setting up the solution with the correct references, and How-To: Using the N* Stack, part 2 starts looking at a sample application model and how you can make it NHibernate friendly
  • Quick look at STM.NET performance – Pawel Pabich takes a look at the performance of the Software Transaction Memory sample release comparing it to traditional locking.
  • Improvements to Interop Marshaling in V4: IL Stubs Everywhere – Jesse Kaplan of the CLR Team talks about some of the work the team have been doing on Interop Marshalling in V4 of the framework, making the move to consistent use of IL Stubs which should increase performance and ease debugging
  • Using Ninject 2 with ASP.NET MVC – Kevin Rohrbaugh looks at how you can wire up ASP.NET MVC Applications using the Ninject DI/IOC container

Community

  • Presentation Patterns on Virtual ALT.Net – Jeremy D. Miller will be speaking at the Virtual Alt.Net event for North America this evening on separated presentation patterns. Unfortunately, unless you are a real night owl in the UK/Europe this will be rather on the late side (starting at around 1am if my calculations are correct)

The Morning Brew #409

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

Software

  • SQL Server 2008 R2 August CTP Available Today – The SQL Team announce the availability of the SQL Server 2008 R2 August CTP now available to Technet and MSDN subscribers, with general availability from Wednesday
  • StyleCop update 4.3.2.1 is released – An updated release of StyleCop the Source Code Style and Consistency tool from Microsoft is now available which addresses a number of bugs, and a new feature which allows you to insert attributes to suppress rules in your source like FxCop.

Information

The Morning Brew #408

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

Software

  • xUnit.net 1.5 Beta Released – Brad Wilson announces the release of xUnit.Net 1.5 Beta. This release introduces xUnit .net Test Project files which contain the settings of the assmeblies to test and various run parameters, along with support for ASP.NET MVC 2 and a forced 32bit mode test runner for those who need to test in 32bit but run on 64bit machines
  • Windows 7 Code Pack V. 1.0 Released – Charlie Calvert highlights the release of the Windows 7 API Code Pack v1.0 which provides support for the new Windows 7 APIs and features wuch as the new taskbar features, Shell Search API, Common Dialogs, Power Management APIs, and much much more
  • WSCF.blue – Updates – Santosh Benjamin highlights some recent updates and the availability of an updated MSI Installer for WCF.Blue the WCF version of the Web Services Contract First project
  • Fasterflect – a fast and simple API for Reflection invocation – Buu Nguyen shares Fasterflect a wrapper library for Reflection which aims to make the coding and runtime performance of refection better. The article talks about both aspects and full binary and source releases are linked from here

Information

The Morning Brew #407

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

Software

  • C# Sqlite – Miguel de Icaza highlights the work by Noah Hart on porting SqlLite from C to C#, and the creation of the C#-SQLite project. This is a line by line port, with some reasonably impressive performance, and plenty of room to improve by migrating more of the code to a C# way of working. Plans are also in place to make the port run on Silverlight.
  • Released: Windows SDK for Windows 7 and .NET Framework 3.5 SP1 – Karin Meier highlights the release of the Windows SDK for Windows 7 and .NET 3.5 SP1, released yesterday to coincide with the release of Windows 7 to MSDN/TechNet/BizSpark subscribers
  • Utility to generate Visual Studio solution file for a group of projects – Vagif Abilov shares a simple utility he wrote to build a solution file which contains all the projects located in a specific root directory, allowing you to exclude certain ones by way of a filter.

Information

  • Not everything derives from object – Eric Lippert addresses another C#/.Net related myth, that all types in .Net derive from System.Object, and Eric shows how this isn’t actually true, but that most types do.
  • What’s new in System.Net.Mail – Network Class Library Team continue with their series of posts on the new features of various parts of the .NET networking namespaces with a look at some of the new features of .NET 4 with respect to sending mail
  • Vista Users – Uninstall Visual Studio 2010 Beta 1 before upgrading to Windows 7 – Scott Hanselman shares some useful information for anyone running Visual Studio 2010 / .NET 4 beta 1 on Vista who wants to upgrade to Windows 7 – If this is you, you need to read this to avoid breaking your .NET install.
  • I Hate Global.asax – Harry Pierson talks about his dislike of Global.asax, and how it makes implementing the special events of an ASP.NET Application like Application Start/End much more difficult in dynamic languages
  • Pipeline and Yield in C# – Jeremy Likness looks at the pipeline pattern, and how the yield operator provides a nice means of implementing it
  • Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 20: NHibernate – Brad Abrams series on Silverlight 3, RIA and related technologies seems to be expanding in scope – In this part Brad replaces his Entity Framework implementation in the Domain Service with an NHibernate Data Access implementation, without needing to change any other code
  • ASP.NET MVC 2 – Buddy Classes for your models – Charles Vallance explores the new ASP.NET MVC 2 Preview release, looking at the new Buddy Class / Metadata classes which allow you to decorate your types with attributes which allow you to control how the model is represented in auto generated renderings.
  • Beginning ASP.NET MVC 1.0 available on Amazon – Simone Chiaretta announces the release on Amazon of the ASP.NET MVC book he co-authored with Keyvan Nayyeri. The book is coming to Amazon UK, and traditional book stores shortly. Free sample chapters are available, as is the table of contents and index. Congratulations on getting to this point guys!
  • 100 copies of Bridging the communication gap for 2.56 each – Gojko Adzic is celebrating this 256th blog post with a special offer on the e-book edition of his book ‘Bridging the Communications Gap’ which looks at improving communication with customers and the rest of the software development team. The offer runs until 100 copies have been sold at the special price of £2.56 / $3.60

« Previous PageNext Page »