October 2009

Monthly Archive

The Morning Brew #466

Posted by on 30 Oct 2009 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • The HornGet Project: Bringing "apt-get install" to .NET Projects – Billy McCafferty highlights the HornGet Project, an excellent utility which enables you to get the latest versions of dependencies for various .NET OSS projects. I first saw this in operation at the Alt.NET UK conference this year, and agree with Billy, it really is great.
  • ASP.NET MVC 2 Templates, Part 4: Custom Object Templates – Brad Wilson presses on with his series of posts on ASP.NET MVC2 Template with part 4 looking at Custom Object Templates, and part 5 exploring
  • Master Page Templates
  • LINQ Overview, part three (Anonymous Types) – ‘.NET Nomad’ picks up a slow burning series with a new post on typing, the var keyword and anonymous types, looking at how these support Linq
  • HTML5, a 3 minute guide – Leon Bambrick shares a simple example of HTML5, showing how it compares to the HTML we are familiar with and summaries some of the key differences.
  • Running Mono – an Overview – Pedro Santos gives an overview of how a recent project which was deployed on Mono worked, talksing about the setup of the server, and some of the issues they ran into with the applications
  • Coding: Consistency when invariant checking – Mark Needham cals for consistency in the way we go about checking invariants in our code, and talks about situations which can give rise to inconsistencies in these checks
  • It’s all about the delivery – Hadi Hariri talks about how important the delivery of the ideas and concepts of programming can be in influencing how developers adopt and react to new techniques, exploring an alternative way to introduce dependency injection
  • Mentoring Juniors – A Juniors view – Sara Stephens talks about her experiences as a junior developer being mentored by more senior staff, explaining what worked well / not so well in the process. Its nice to see this from the other side as so many articles are from the Point of view of the senior staff member, not the junior
  • Building a Service Gateway Using MassTransit, Part 2 – Chris Patterson continues his series looking at building a service gateway implementation using C#, MassTransit, NHibernate and ASP.NET MVC
  • I have a Fit, but a lack of Focus. – Eric Lippert talks about ReferenceEquals with a real work illustration of how it works

Community

  • Next European VAN on 18 November 2009 – The next European Virtual Alt.Net meeting will be 18th November 2009 featuring Mark Nijhof looking at DDD/CQRS/SOA principles with a deep dive into the code of his CQRS sample application

The Morning Brew #465

Posted by on 29 Oct 2009 | Tagged as: .NET, Development, Morning Brew

Software

Information

  • ASP.NET MVC 2 Templates, Part 1: Introduction – Brad Wilson kicks off a series (already up to part 3) looking at the ASP.NET MVC 2 Templates functionality, exploring Model MetaData in part 2 showing how you can annotate your model classes, and takes a look at Default Templates in part 3
  • Verify JavaScript syntax using C# – Mads Kristensen shares a useful technique for verifying that your JavaScript files are valid as a part of your Application unit tests by utilising JScript to check they parse correctly
  • 12 ASP.NET MVC Best Practices – Simone Chiaretta shares12 ASP.NET MVC best practice tips, along with a slide deck which complements these tips
  • MVPs Contribute to Free Developer eBook – Jas Dhaliwal highlights a free ebook being offered by Microsoft which was created by Derek Hatchard and contains 17 articles by Microsoft MVPs and Regional Directors
  • Visual Studio 2010 – Functional Testing – Balagans gives a tour round the Functional Testing capabilities of Visual Studio 2010 Team Test, looking at the CodedUITest showing how tests can be created, recorded, developed and maintained
  • Add Reference Dialog Improvements (VS 2010 and .NET 4.0 Series) – Scott Guthrie continues is VS2010 / .NET 4 series of posts with a look at the latest batch of enhancements to the Add References Dialog in the latest release. These changes do sound as though they will finally give this often maligned piece of functionality the speed it truely needs
  • ASP.NET MVC Translated for the Web Forms Programmer (5 in a series) – What the Frig is a View Model? – Sara Chipps takes a look at what View Models are all about showing a simple example in use with a little dose of humour along the way
  • An epic bug story – Ayende tells a good tail of a fictitious bug in a substantial system, a story which will be familiar to many of us, and is interesting reading
  • Building A Service Gateway Using MassTransit, Part 1 – Chris Patterson begins a series of posts looking at using MassTransit, C#, StructureMap, ASP.NET MVC and NHibernate to create a Service Gateway implementation. This first part looks at some of the exchanges that occur within Web services
  • Multiple Strongly Typed Partial Views in MVC – Garry Pilkington demonstrates how you can use a CombinedViewModel to join a number of types together allowing you to have multiple strongly typed partial views feed off the parts of the CombinedViewModel
  • Attach a Debugger When a Process Starts – Sasha Goldshtein shows how you can use the Global Flags application to add flags to other applications to have the debugger (or another process) start up and attach when ever that application is started, very useful for debugging applications that are impossible to start from the debugger such as services

Community

The Morning Brew #464

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

Software

Information

Community

  • Free WPF, Silverlight and 3.5 SP1 training for UK Developers – Eric Nelson highlights an offer from Microsoft which enables UK based developers to gain access to 3 training programmes covering RIA with Silverlight, .NET 3.5 SP1 Changes, and Rich User Interfaces using WPF, each with between 5 and 12 hours of content for free

The Morning Brew #463

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

Software

  • Spec Explorer: A Model-Based Testing tool – Soma Somasegar announces the latest DevLabs project to see the light of day, Spec Explorer a model based testing tool which allows you to view your models as UML and generate tests which can later be run in a number of test frameworks. This one sounds quite interesting, and the
  • Spec Explorer Team Blog – is one that I will be keeping an eye on over the coming months.
  • SSMS Tools Pack 1.7 is out! New feature: SQL Snippets – Mladen Prajdi? announces the latest release of SSMS Tools Pack, an add in for SQL Server Management Studio which brings a number of greate additional features to the environment. New in the 1.7 release is support for SQL Snippets which, like in Visual Studio, allow you to type a short cut and have it expand out into a full statement with replacement slots you can tab through
  • Caliburn v1 RTW for WPF, Silverlight 2.0 and 3.0! – Rob Eisenberg announces the RTW release of his UI pattern implementation library for Silverlight and WPF giving a head-start in implementing applications using this well defined design patterns

Information

  • WPF 4 (VS 2010 and .NET 4.0 Series) – ScottGu continues looking at the new features of Visual Studio 2010 / .NET 4 with a look today at the improvements and new features for Windows Presentation Foundation (WPF), covering new controls, graphics improvements, text rendering, Windows 7 integrations, along with some improvements to the core of WPF
  • Channel 9 Learning Center – Just Launched! – Channel 9 announce the launch of their learning centre, currently populated with courses on Visual Studio 2010 / .NET 4 and Windows 7, all broken down into units and lessons allowing you to break your learning into bite sized chunks. Future courses will include Sharepoint 210, Azure, Win2008R2 Server and Office 2010
  • ClientIDMode in ASP.NET 4.0 – Rick Strahl examines another of the great ASP.Net Webforms features in .NET 4, the ability to control the way that identifiers are being created, allowing you to guess and tightly control the IDs along with the default auto assignment, making it much easier to create nice JavaScript using those IDs
  • Creating something from nothing [Developer-friendly virtual file implementation for .NET!] – Delay takes a look at creating files on the file system from your applications by allowing the user to drag and drop from your application into the filesystem using the .NET drag and drop functionality to do this
  • Roadmap for Outlook Personal Folders (.pst) Documentation – Paul Lorimer, Group Manager of the Microsoft Office Interoperability Team talks about the opening up of the file format of the Outlook PST file
  • Extending Visual Studio 2010 UML Designers – Part 1: Getting Started – Peter Provost begins a new series of posts looking at the extensibility points of the Visual Studio 2010 UML functionality . This first post covers the ground work for creating such extensions, showing the Hello World of this type of extensibility work
  • WF4 Performance – David Paquette talks about the possibility of using Windows Workflow Foundation Flowcharts to model the business rules of his system, causing him to explore the Workflow performance in .NET 4 and to look at the performance tools available in Visual Studio 2010
  • Playing with JQuery Validation Library, Part 2 – Chris Brandsma resumes his series looking at JavaScript validation using the JQuery Validation Library, and in this part tackles validation using AJAX validators to check back with the server to see if a value is valid
  • NHibernate and Execution Plans – ‘Naz’ talks about some factors that can affect the efficiency of NHibernate generated queries due to the way parameter lengths are created causing more execution plans to be generated than would be ideal, and shares details of resolutions of this problem
  • Unit Testing: An Introduction – Deborah Kurata starts a nice series of posts on the unit testing facilities in Visual Studio (2008 pro, and later), exploring test generation, execution and code coverage in the first 3 parts

The Morning Brew #462

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

Software

  • Small Basic : Happy Birthday Small Basic – The Small Basic Team celebrate its first anniversary with a new release. 0.7 brings more international versions, along with a new feature called ‘Graduate’ which upscales a small basic project to a Visual Basic Project

Information

Community

  • ScottGu Manchester ASP.NET MVC Video – Mike Taulty posts up the high qulaity video taken at the Manchester UK Guathon event where Scott Guthrie presented a number of topics including this monster session on ASP,NET MVC

The Morning Brew #461

Posted by on 23 Oct 2009 | Tagged as: .NET, Development, Morning Brew

Software

  • Windows 7 Virtual Presskit – Windows 7 Launch day seems to have gone pretty well, with lots of press coverage, and plenty of blog posts over the past 2 days. This link will take you to the video of Steve Balmer presenting the keynote from the New York Launch event.

Information

  • Repositories don’t have save methods – Richard Dingwall argues that a correct DDD style repository does not have a save method, and should instead have a collection like interface, meaning Add is more appropriate
  • Linq to NHibernate Progress Report – Steve Strong gives another update on his work on a full Linq provider for NHibernate, showing the improvements he has been making to the translation from Linq to NHibernate queries, including correct parametrisation of queries
  • Where is C# in the Programming Language Lifecycle? – K. Scott Allen asks an interesting question about where in its lifecycle the C# Language actually is, based upon a lifecycle defined by Robin Sharp. I’m looking forward to some interesting discussion on this one.
  • No JavaScript IntelliSense in VS 2010 Beta 2? Reset your Settings – Rick Strahl highlights a problem he encountered wtih the JavaScript Intellisense (or rather a lack thereof), along with the fix to get it working. If you are in a similar situation, resetting your settings will unleash one of the more incredible features of VS2010 – I was very impressed with the JS Intellisense when I saw it demoed
  • Migrating to Postgresql with my friend NHibernate – Karl Seguin talks about the process of changing database engine when you have utilised NHibernate as a persistence framework, highlighting some of the problems they encountered along the way. Ayende follows up showing a work around for handling DB errors better between dialects in his post ‘Database independence with NHibernate
  • The Microsoft Ajax Library and Visual Studio Beta 2 – Stephen Walther talks about the Microsoft Ajax Library in Visual Studio 2010 beta 2, about the name change from ASP.NET Ajax and why the team have moved to out of band releases rather than packaging with a particular version
  • Castle Windsor forwarded types and proxies – Krzysztof Kozmic digs into some more advanced Castle Windsor functionality, allowing for the same component to be used for multiple services, and proxying such a component
  • Visual Studio 2010 Beta 2 Available Now! – Chris Schmich shares some screenshots showing the Performance Analysis features of Visual Studio 2010 in operation, yet another feature to add to the ‘must check out’ list
  • New features in Entity Framework impacting providers – Noam Ben-Ami & Kati Iceva highlight some of the changes in Provider support within Entity Framework which will affect people developing their own providers
  • C# Static interfaces – Jérémie Chassaing muses about the possible uses of static interfaces if they were provided, and clarifies in a follow up post illustrating with a clearer example in the post ‘C# Static interfaces – Take 2

Community

  • C4MVC UI Testing screencast posted – Jimmy Bogard shares the link to the video of his session for the virtual Community for MVC.Net event on testing the UI in ASP.NET MVC earlier this week. I enjoyed watching the parts I saw live (I had some internet connection issues) and will be catching up on the bits I missed with this video
  • Announcing the first Cambridge AltNetBeers – StackOverflow edition – Seb Lambla announces a new AltNet Beers event to be held in Cambridge after the StackOverflow Dev Day to allow you to get your fix of open spaces discussion after the Dev-Day event

The Morning Brew #460

Posted by on 22 Oct 2009 | Tagged as: .NET, Development, Morning Brew

Software

Information

The Morning Brew #459

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

Software

Information

  • Code Contracts Preview: Invariants – Dino Esposito continues his DotNetSlackers article series on the Code Contracts functionality of .NET 4 with a look at the use of invariants and looking at the role they play in inheritance and also in the class design process
  • VS10 Beta 2 From an ASP.NET MVC Perspective – Phil Haack talks about the ASP.NET MVC 2 inclusion in Visual Studio 2010 / .NET 4 Beta 2, highlighting the significant features, and talking about upgrading projects to VS2010
  • 31 Days of Refactoring eBook – Sean Chambers shares the PDF E-Book edition of his Refactoring Blog Series posted back in August kindly produced by Simone Chiaretta
  • Testability Of Date-Dependent Code – Davy Brion talks about two common techniques to enable the reliable testing of Date based code either by providing the date obtaining routine with a service which can be overridden for testing, or by routing all calls for dates through a custom static method which can be provided with dates to return
  • Strongly Typed ASP.Net MVC Helpers – Sean McAlinden shows how you can create strongly typed helper methods for use in ASP.NET MVC Views by using lambda expressions to specify what are often magic strings in the standard framework helper methods
  • Set up Spring.Net IoC with ASP.Net MVC – Sean McAlinden also shows how you can utilise the Inversion of Control Container from Spring.Net in ASP.NET MVC by extending the default controller factory to create controllers through the Spring container
  • MVC 2 Areas and Containers – K. Scott Allen also argues for the use of DefaultControllerFactory as a base class for your own controllerfactory implementations as it includes a lot of the namespace identification routines that support areas, and allow your controllerfactory to make use of that without any work
  • Microsoft Ajax Minifier VS YUI Compressor – Ajaxian compares the newly released Microsoft Ajax Minifier with the more established Yahoo YUI Compressor, looking at the differences between the minification techniques used by each.
  • Fixing the Visual Studio Add Reference Dialog – Quickly add a Project Reference – Brian Schmitt shares a macro which provides a quicker way to add interproject references between projects in the same solution by bypassing the standard Visual Studio 2008 References dialog
  • SQLite Nunit & Fluent Nhibernate – Test your data access layer – Dan Watson shares a number of code snippets which utilise SQLite and Fluent NHibernate to allow you to test your data code by using an in-memory database rather than the slower out of process fully relational database to provide you with quick running tests.
  • Writing Extension Methods in F# to Use in C# – David Morton shows that you can create extension methods in F# code and utilise them in your C#, perhaps providing a nice simple way of integrating and introducing functional F# code into your traditional C# projects
  • How to create your own virtual machine. – ‘icemanind’ shares a tutorial on CodeProject which looks at how you can create a virtual machine written in C#, providing an interesting insight into how virtual machines are implemented and work
  • To Brace or not to Brace in C# ifs and other Constructs – Peter Kellner asks one of the great coding style questions of all time, ‘do I have to use braces with that?’

Community

  • Community For MVC.Net – Mid Oct Live Meeting – Tonight (UK) sees the Community for MVC.Net have their mid October live meeting. This meeting starts at 12 noon CST, which makes it early evening here in the UK. The speaker this time round is Jimmy Bogard talksing about testing the UI

Next Page »