Browse by Tags

All Tags » .NET 4.0 (RSS)

Pomodoro Timer for the Windows 7 TaskBar by jdanforth

EDIT: The code is now open source on codeplex, on http://pomodorotaskbar.codeplex.com There's a new version available for download there too. If you’re into the Pomodoro technique and looking for a pretty simple out-of-the-way timer which sits in the...

Refactored Dapper Extensions by jdanforth

Making extensions for Dapper-dot-net was so fun and I needed a few more simple ones so I refactored a bit and made a few Update() and Delete() extensions as well. I’m also looking for Id-properties with the [Key] attribute on them. The class grew a bit...
Filed under: ,

Simple Insert Extension for Dapper by jdanforth

Last week I started using Dapper ( dapper-dot-net on Google Code ) for a project I’m working on. Dapper is a micro ORM, which extends IDbConnection. It’s very fast and works very well for queries where you want to return both typed and dynamic lists of...
Filed under: ,

Detecting Idle Time with Global Mouse and Keyboard Hooks in WPF by jdanforth

Years and years ago I wrote this blog post about detecting if the user was idle or active at the keyboard (and mouse) using a global hook. Well that code was for .NET 2.0 and Windows Forms and for some reason I wanted to try the same in WPF and noticed...
Filed under: ,

ASP.NET 4 Website Fails to Start on Your TFS 2010 Server? by jdanforth

Getting a “Could not find permission set named ‘ASP.Net’” error on your TFS 2010 server? It may have to do with the fact you’re trying to run ASP.NET as a child site of a SharePoint Web Site. The problem is described in the “ ASP.NET 4 braking changes...
Filed under: , ,

Weeko – MEF and WPF to plug in Tool Windows into Visual Studio 2010 by jdanforth

Today I opened up a new Codeplex project called “Weeko”, which is a Sioux name for “pretty”. Weeko is an experiment which uses MEF to easily plug in tool windows into VS2010. The tool windows are developed as ordinary WPF UserControls. Install the Visual...
Filed under: , , ,
More Posts