Steve Smith's Blog

Musings on Software and the Developer Community

Archives - February 2010

SQLite Error IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found.

I just ran into a problem with SQLite and NHibernate, which was giving me this error message: The IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found. The strange thing was, it worked fine from within Visual Studio, but it died when I used my ClickToBuild...

SQLite Error IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found. →

Posted on Friday, February 26 2010         1 Comment

Untrusted Projects and Blocked Files in Visual Studio

I was just trying to open a project I was emailed as a zip file from a colleague.  VS2010 opens up saying: You should only open projects from a trustworthy source. The project file 'project' may have come from a location that isn’t fully trusted. It could represent a security risk by executing customer...

Untrusted Projects and Blocked Files in Visual Studio →

Posted on Thursday, February 25 2010         1 Comment

SELECT from a Stored Procedure

Occasionally I find myself wanting to SELECT from a SPROC in SQL Server.  Usually this is because I want to ORDER the results or filter them further with a WHERE clause.  Unfortunately, you can’t just do this: SELECT * FROM ( EXEC mySproc foo, bar) There are several workarounds here, and the...

SELECT from a Stored Procedure →

Posted on Wednesday, February 24 2010         4 Comments

Avoid Regions for Interfaces in Visual Studio

Another quick tip related to the use of regions in your C# code – you can turn off the default behavior of wrapping interfaced implementations in regions via the options dialog.  Simply go to Tools –> Options –> Text Editor –> C# –> Advanced as shown in the screenshot below, and uncheck...

Avoid Regions for Interfaces in Visual Studio →

Posted on Monday, February 22 2010         3 Comments

Moving SVN Repositories to new Server

Recently I had to move some SVN repositories from one server to another .  Here are the steps that worked for me, courtesy of Pete Freitag : Step 1: Back up SVN Repository Back up your existing repository with the following command.  Note that if you are using VisualSVN Server as I blogged...

Moving SVN Repositories to new Server →

Posted on Monday, February 15 2010         7 Comments

Silverlight Tools

As we approach the launch of Silverlight 4 and today the 2010 Winter Olympics begin (which are streaming via Silverlight! ) I thought I’d post about some Silverlight Tools you may find useful as you build Silverlight applications.  Some of these are also good WPF or general XAML tools.  I haven...

Silverlight Tools →

Posted on Friday, February 12 2010         5 Comments

Tight Coupling, Legos, and Super Glue

Building software applications is sometimes compared with building structures out of smaller components.  The children’s toys, Legos (and their generic brethren), come to mind and in fact make for a good analogy.  Given a set of components with varying characteristics (shape, color, etc, or...

Tight Coupling, Legos, and Super Glue →

Posted on Wednesday, February 10 2010         4 Comments

Hiring Inbound Marketing Score CARD

In their book, Inbound Marketing ( review ), authors Shah and Halligan use a couple of acronyms that, maybe due to my military background, I thought could be improved.  The first one was VEPA, which I thought made a lot more sense as PAVE.  PAVE relates to qualities of a call to action, and...

Hiring Inbound Marketing Score CARD →

Posted on Tuesday, February 09 2010         No Comments

PAVE the Way to Effective Calls to Action

In their book, Inbound Marketing ( review ), authors Shah and Halligan describe some key traits of effective calls to action.  The four important qualities of killer calls-to-action are that they be Valuable, Easy-to-Use, Prominent, and Action-Oriented (chapter 8).  The authors go on to suggest...

PAVE the Way to Effective Calls to Action →

Posted on Monday, February 08 2010         1 Comment

Inbound Marketing and Small Business Trends

I recently read Dharmesh ’s and Brian Halligan’s Inbound Marketing book, which has a lot of good tips for startup companies to follow in order to maximize their online reach and popularity.  Many of the tips are pretty obvious: start a blog, get people linking to you, build a following on twitter...

Inbound Marketing and Small Business Trends →

Posted on Thursday, February 04 2010         24 Comments

Azure Tip: How To Deploy a ZIP File to Windows Azure

Last month, The Code Project ran an Azure contest and gave away several Amazon Kindles . As part of the contest, which we hosted on Azure, we deployed a sample project with all of the necessary install files for getting started with Windows Azure. It turned out to be slightly more difficult than expected...

Azure Tip: How To Deploy a ZIP File to Windows Azure →

Posted on Wednesday, February 03 2010         1 Comment

Prevent Resharper From Adding Regions

A couple of days ago I was annoyed that Resharper was insisting on turning my abstract base NUnit test class with nothing in it but a shared [SetUp] method into a one line class with a collapsed Setup / Teardown region in it.  While I didn’t always feel this way, my experience has taught me that...

Prevent Resharper From Adding Regions →

Posted on Wednesday, February 03 2010         3 Comments

How to set up TRIM with Win7 and SSD Drive

I have an Intel X-25M SSD in my developer workstation machine (and it’s quite fast).  However, I’ve heard from others that over time SSD performance can degrade due to sub-block level fragmentation that occurs as a result of write combining .  Fortunately, newer SSD drives (like mine) support...

How to set up TRIM with Win7 and SSD Drive →

Posted on Monday, February 01 2010         4 Comments