September 2009

Monthly Archive

The Morning Brew #444

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

I had an enjoyable day at the Manchester Guathon event yesterday, it was nice to put a few more names to faces, and to catch up with some older friends.

Software

  • YUI 3.0.0: First GA Release of YUI’s Next-Generation Codeline – The Yahoo User Interface library team announce the general availability release of YUI 3.0.0, which is a ground up re-build of the YUI library, bringing a number of significant modernisations to the library including it being selector driven, small seed download which brings in the rest as needed, and support for sandboxing

Information

  • And tonight on the History Channel, hummm, Channel 9: Visual Studio – Guy Barrette highlights a two part documentary produced for and available on Channel 9 which looks at the history of the Visual Studio product line.
  • Gtk# for .Net developers – Louis Salin takes a look at the GTK# library which is available on the Mono Platform and compares it with WinForms and looks at how you can go about getting started with it
  • Successive Method Calls With MoQ – Phil Haack looks at the incorrect and correct way of simulating multiple method calls to the same method with different return values using the Moq mocking framework
  • Pushing the Limits of Windows: Handles – Mark Russinovich continues his series on pushing the limit on Windows with a look at handles and objects, handle leaks and how you can track them using windbg
  • Choosing a Data Access Layer for Silverlight 3 – Shawn Wildermuth looks at the choices available for Data Access in your Silverlight 3 applications, giving the pros and cons of each data access strategy
  • Duct tape programmers – Joel Spolsky’s article on ‘The Duct Tape Programmer’ is still eliciting interesting responses from across the community. This response is Ayende’s (with a particularly amusing picture to end on), and Ship Software With Value is Tim Barcz’s response to the notion of ‘just ship it’. In Smart and gets things done *right* Scott C Reynolds looks at it from the point of view of a recovering duct tape programmer
  • LINQ to Z3 – Theorem Solving on Steroids – Part 1 – Bart De Smet shares another detailed post looking at theorem solving using the Z3 library, putting a Linq interface on top. I’m certainly going to have to read this one twice before I understand it, but it certainly looks interesting
  • Using App.config and System.Configuration – ?ukasz Kury?o shows how to use the System.Configuration namespace and the App.Config file to create your own custom configuration sections
  • Inane Generic Usage – Chris Eargle looks at the unnecessary use of generics that can sometimes occur when the developer doesn’t really understand what generics are all about.
  • Best Practices No 5: – Detecting .NET application memory leaks – Shivprasad koirala looks at how you can use some of the windows performance tools to help identify memory leaks in your applications, and using debugdiag to help focus in on the details in this Code Project article

Community

  • Silverlight FireStarter sessions are online – Guy Barrette highlights the availability of recordings of the Silverlight FireStarter sessions from the event held in Redmond recently. All of the sessions are available, ranging from ScottGu’s keynote, through to the Q&A session with all the speakers

The Morning Brew #443

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

Today is the Manchester Guathon event, which I will be attending – if you spot me there come over and say hello.

Information

  • IronPython Post 2.6 Roadmap – Harry Pierson outlines the near future for the IronPython team talking about future service releases they have scheduled along with IronPython 3.x and Visual Studio integration
  • String interning and String.Empty – Eric Lippert looks at some wierd equality cases where the transitive property of equality is violated (A = B and B = C but A != C), and looks at how the different types of equality and how String.Empty and string interning bring these problems about
  • Converting RTF to HTML – Matt Manela shares a useful tip on converting RTF text to HTML by way of a translation to XAML as an inbetween stage. Sample code is provided
  • Visual Studio 2010 + .NET 4.0 = Parallelism for the Masses – ‘jbarnes’ talks about the need for parallelism in the future of computing and looks at what Visual Studio 2010 and .NET 4 bring to the table in terms of making parallelism easier for developers
  • How Silverlight 3 Validation Works – Shawn Wildermuth digs into the validation features of Silverlight 3 and the RIA services looking at how they actually work, the role of the buddy class and the use of attributes to control the validation
  • Scenario Driven Tests – Ayende shows how he has been building scenario based tests keeping the scenario and the test/assert parts separate to clearly test the behaviour of a system of classes in a particular scenario
  • Beating the duct programmer with generic domains, subdomains, and core domains – Ian Cooper draws on a number of Domain Driven Design principles from the second half of the DDD book by Eric Evans to help defeat the Duct Tape / Hero Programmer
  • The Art of Debugging – A Developer’s Best Friend- Intro – Lesson 1- Repost – Bruno Terkaly has reposted 14 lessons of his series on debugging covering all the standard stuff (watches, breakpoints, tracepoints, etc,) along with debugging SQL, VBScript, JavaScript and other more advanced topics. Follow his September 2009 archive link for the rest of the posts
  • Unity Convention Based Registration – Jon Dalberg looks at configuring the Unity IOC Container in code, and writes some methods to help register types automatically using a convention based approach
  • .NET file format – Signatures under the hood, Part 1 of 2 – Przemyslaw Celej digs deep into the .NET File format with a look at the signatures that are used to store data in the metadata tables in the .NET assembly. Part 2 of this series is linked from part 1
  • Unit Test Definition 2.0 – Roy Osherove shares his latest definition of what a Unit Test is and how it differs from an Integration test

Community

  • DDD7 – the videos! #DDD #DDD7 – Craig Murphy (with some hosting help from Ben Nunney) provides links to the recordings from the 7th Reading DeveloperDeveloperDeveloper conference, a great opportunity to check out the sessions you missed, or to find out what the DDD series of events are like if you’ve never been
  • Scott Guthrie: ASP.NET MVC 2 – Matthijs Hoekstra shares the video from Scott Guthrie’s ASP.NET MVC 2 session delivered last week at the DotNED organised event. I’m looking forward to seeing this session ‘in the flesh’ today, but for those unable to get to one of the ‘Guathon’ events this is the next best thing
  • UK MSDN Flash Poll for October 7th 2009: How many lines of code did you write yesterday? – Eric Nelson is running a poll for inclusion in the UK MSDN Flash newsletter next week – so give him your answer to this simple question

The Morning Brew #442

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

Looking forward to tomorrow’s Guathon event in Manchester. If you see me there, please come over and say ‘Hi’.

Software

  • MVVM Light Toolkit Messenger V2 beta – Laurent Bugnion announces the first beta of version 2 of his Model View – View Model toolkit, with its significant new feature of Messenger which makes sending and receiving messages much easier
  • MVC Turbine – Javier G. Lozano shares his MVC Turbine project which makes it easier to implement IOC within ASP.NET MVC projects, complete wtih an updated default project template to further speed up the process.

Information

The Morning Brew #441

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

Software

  • Microsoft Web Platform Installer 2.0 – Yesterday saw the release of the Web Platform Installer V2, by far and away the easiest way of getting and installing IIS, .Net, SQL Express, PHP, and a whole bunch of tools, extras and applications. If you’ve not tried it, I highly recommend it
  • Web Deployment Tool 1.0 has shipped! – The Web Deployment Team announce the official release of the Web Deployment Tool 1.0, a tool that makes it easy to package up web application, migrate them between servers, keep your webfarms in order, all by way of command line and MMC tools
  • Announcing Web Application Toolkits – Microsoft release 7 toolkits for web application developers intended as a quick step up the ladder to allow you to quickly add rich functionality to your web applications. The kits cover IE8 extensibility features for web apps, bing search integration, REST services, mobile apps, templated email, social networking and FAQs
  • Six Ways to Help Customers Extend their Web Sites – Mark Wisecarver highlights a number of IIS related tools which recieved an update today as a part of the WebSiteSpark programme announcements.

Information

  • Announcing the WebsiteSpark Program – ScottGu shares the announcement of the enw WebsiteSpark programme, which joins DreamSpark and BizSpark as being an excellent way to get hold of Microsoft software when you are starting out. WebsiteSpark is aimed at web developers, and includes server licenses for Windows Server and SQL Server, along with web development tools such as Expression and Visual Studio. Enrolling in the programme is free, but there is a $100 cost at the end of the 3 year programme
  • Why is covariance of value-typed arrays inconsistent? – Eric Lippert takes a look at the way arrays are handled in the framework, and how the differences between the C# type system and the CLI type system can lead to some interesting results
  • PostSharp – Introducing PostSharp 2.0: #2 – Amazing Runtime Performance Enhancements – Gael Fraiteur talks about some of the major performance improvements which have been made to PostSharp 2, looking at how the generated code has changed to bring about such improvements
  • Content Aware Image Resizing… in JavaScript – Ajaxian highlights some work by Stéphane Roucheray creating a content aware image resizer in JavaScript using the HTML5 Canvas element to enable the image processing. I find Content aware resize to be quite an interesting topic, and its always nice to see a new implementation
  • Debugger Visualizers not working in ASP.NET Medium Trust – Rick Strahl highlights one of the limitations of running your development websites in medium trust mode, the debugger visualizers can’t operate in the debugger when connected to a medium trust (or lower) process
  • Adventures in System.Diagnostics – The Intermission – Ralph Wheaton continues his series on using System.Diagnostics to direct trace logs to various logging targets. In this post, Ralph discusses some strange exceptions he encountered using the TraceSource caused by a full event log.

Community

  • SQL injection attacks and tips on how to prevent them – Colin Angus Mackay will be talking about SQL Injection, looking at the problem, along with what you can do to prevent such injection attacks at the Dundee Scottish Developers event on the 28th October.
  • Scot Alt.Net – AltNet Beers – Tonight sees the Scot Alt.Net group host an AltNet Beers event in Glasgow, with special guest Seb Lambla. These events are a hour long open conference, followed by good discussion in the bar afterwards. Well worth attending.

The Morning Brew #440

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

Software

  • IronPython 2.6 Release Candidate – Harry Pierson announces the Release Candidate release of IronPython 2.6, with the plan being that this will become the RTW official release in about a month. This release includes a number of great new features, bringing in Python 2.6 functionality, adaptive compilation and lightweight debugging, and 417 bug fixes.
  • MvcContrib 1.0.0.987 released – Jeffrey Palermo announces the release of MvcContrib 1.0.0.987, which brings in all the patches released since March 2009 along with the work done by Eric Hexer on Opinionated Input Builders
  • Sharp Tests Ex 0.3.0 : fluent and lambda assertions for MsTests, NUnit and xUnit – Fabio Maulo announces the release of #TestsEx 0.3, a library of extensible extensions which work with a number of different testing frameworks (MSTest,NUnit, xUnit.Net, and others) to bring fluent and lambda assertions to these frameworks
  • PowerCommands for Reflector 1.1 – Jason Haley has added a further 5 commands to his Reflector PowerCommands library bringing the grand total to 20 commands. The new commands include a bookmark menu, and a number of commands to open files with other programs

Information

  • The Benefit Of Attending User Group Meeting – Marlon Ribunal talks about the benefits of attending usergroup meetings, be they in person or virtual. This is something I feel quite passionate about, as usergroups are a really good way of meeting people who care about the same things as you do.
  • Entity Framework 4.0 Resources – documentation links, best blog posts and more – Eric Nelson is preparing for his sessions at the Software Architect conference, and has produced a great resource list of article, posts, documentation and best practices for the Entity Framework 4.0.
  • A basic introduction to the Unity Application Block – Giorgio Minardi takes a look at the Unity Application block, touches on the theories of Inversion of Control and dependency injection, and looks at the benefit of loosely coupled code in his example.
  • MultiBrowser or CrossBrowser Testing and deconstructing Microsoft Expression Web SuperPreview – Scott Hanselman takes a look at the support in Expression Web for testing your web pages in multiple browsers, highlights the existence of the free Internet Explorer only version of SuperPreview, and looks at the other approaches to cross browser testing
  • A thread static instance? – Ayende sets another of his ‘What will happen when this runs’ code thought questions, this one looking at what would happen if you have a Thread Static instance variable
  • Simplicity in Design – Jon Dalberg talks about the Single Responsibility Principle, and look at applying it to ASP.NET MVC Global.asax and route registrations.
  • Prototype Design Pattern – ‘SmartAllen’ explores the Prototype design pattern, how it integrates with the Builder pattern to provide a means of copying an existing object
  • Albacore: A Suite Of Rake Build Tasks For .NET Solution – Derick Bailey announces his new project, to build a suite of Rake Build Tasks specifically for .NET solutions. The library currently contains two tasks, one for MSBuild and one for updating AssemblyInfo
  • Will Git Drive Open Source Contribution – Chris Missal looks at tha adoption of Git, how DCVS like Git offers certain benefits over traditional version control, and looks at the impact on the Open Source community

Community

The Morning Brew #439

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

Software

  • Debugging your interaction with other people’s code – Reflector 6 is in EAP! – Alex Davies highlights the early access programme for Reflector 6, allowing you to get hold of some of the new debugging functionality it adds to Visual Studio before it goes into mainstream release
  • Chrome Frame: Inject Chrome into IE – Ajaxian highlights the Chrome Frame project which is a browser add-in for Internet Explorer which, dependent on a meta tag in the page, allows your page to be loaded and rendered by the Chrome engine rather than the IE engine.
  • web.config Security Analyzer – A useful looking utility which parses your web.config file looking for any setting which may result in a security vulnerabilities, now with a friendly GUI

Information

  • Make BDD Your BFF – Rob Conery dips his toe into the Behaviour Driven Design world and shares his experiences as a nice getting started guide to get you up and running with Machine Specifications (MSpec) and TestDriven.Net/Resharper, and writing some BDD tests
  • A Mess is not a Technical Debt. – (‘Uncle’) Bob Martin talks about the true meaning of the concept of Technical Debt, and also discusses technical mess, and how this is not proper technical debt despite many people using that term to cover it
  • Strongly Typed Session Variables in ASP.NET MVC – Patrick Steele looks at an alternative way of having strongly typed session based variables in both ASP.NET MVC and ASP.NET WebForms
  • Viewstate length limitation via web.config – ‘eugene.K’ highlights a not particularly well known web.config setting which allows you to have viewstate broken up into multiple hidden fields. Also well worth checking out the rest of this blog for a large number of useful short How To articles.
  • A First Look at ASP.NET MVC 2 – Ben Scheirman introduces ASP.NET MVC 2 Preview 1 in this DotNetSlackers article. The article looks at the new release in the context of a sample scenario, exploring the new templating functionality and the new project areas to allow better organisation of your code
  • Two Chapters from Agile Estimating & Planning Available – Mike Cohn highlights the availability of two sample chapters from his forthcoming book on Agile Planning and estimating
  • SQL SERVER – How To Handle Deadlock – Nitin Chilka looks at some techniques you can use within TSQL to help avoid and handle deadlock situations in SQL Server in this CodeProject article
  • Programming for Absolute Beginners – Scott Hanselman gathers together a number of great resources for programming beginners to give them a good starting point on learning the craft of programming. While not necessarily directly useful to the readers of his (and my) blog it is the type of resource that comes in very handy when you get asked ‘so how do I learn to program?’

Community

The Morning Brew #438

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

…hopefully with fewer embarrassing typos today :-)

Software

  • Downloads for SharpDevelop 3.1 – SharpDevelop 3.1 has reached its official release, which from the look of the change log is pretty much the same as the RC2 release with an update to the version of NUnit and some fixes for NRefactory.
  • XAML Power Toys v5 Published – Karl Shifflett releases Version 5 of his WPF and Silverlight XAML Power Toys. XAML Power Toys is a VS 2008 add-in which brings enhanced functionality for working with XAML to build line of business applications by having generations tools for data entry forms and common controls functionality
  • Typemock Isolator 5.3.5 is out! – The TypeMock team announce the release of their latest edition of TypeMock Isolator. This updated version brings a new API for calling inaccessible methods and events along with support for custom verification along with the usual bugfixes.

Information

Community

  • CodeCamp.pl – October 17th sees Cracow host the Polish CodeCamp, with a great line up of well known speakers covering a range of topics from .NET to Business Intelligence in English language sessions. The best bit is that the event is free to attend (registration required)
  • Announcing a new kind of events: AltNetCrossTalks, this Friday at MRM! – Seb Lambla announces the first of a new type of cross technology event, the AltNetCrossTalk. This first instance is occurring this Friday and Ruby, Ruby on Rails and IronRuby are the topics

The Morning Brew #437

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

UPDATE: Corrected typo in DynamicWrapper summary – thanks @martinrue for pointing it out

Software

  • Introducing DynamicWrapper – Brian Genisio shares his DynamicWrapper project which allows you to apply an interface to any object and call those methods on the object, allowing for suck duck typing in static languages.

Information

Next Page »