CodePrairie .NET

South Dakota .NET User Group


June 2007 - Posts

  • How well does Resharper know me?

    I was in the process of setting up another unit test and realized...I really should just make a Resharper template for this. As I went to create the template I saw one setup exactly as I would want it which is like this:


    namespace $NAMESPACE$ 
        using MbUnit.Framework;
        using Rhino.Mocks;
        public class $CLASS$ { $END$ }


    Now, I don't remember at all creating I'm wondering did I create it a while ago and am just having a friday brain fart, or is Resharper really that smart?

    Posted Jun 15 2007, 06:53 AM by chrisortman with no comments
    Filed under:
  • Do I really need a database?

    So I have REST + HTTP which gives me CRUD over a resource. And I'm going to say that in the REST world Uri is to resource as PrimaryKey is to a table. Uri is certainly more user friendly so traditionaly I'd wind up writing something that maps a uri onto a database row. Why not just skip the database and map the Uri onto a file which probably stores xml or rdf or yaml whatever. Oh but database gives me powerful query capabilities, well so does Lucene.NET, and I can probably make a much simpler interface to search and index than having to build a query builder. If I want transactions, merging and versioning, maybe I should just make my filesystem be subversion.

    I'm sure today it's orders of magnitude faster to use a database, but I wonder if we'll start going this direction in the future. Seems not a far stretch if you look at some of the features of Katami.

  • Finding deleted files in subversion

    So I have to update my wix installer today and I need to remove files that I have deleted from my project. Subversion + Powershell makes this easy


    svn log -r 4606:HEAD -v | where {$_ -match "^   D"}

    4606 was revision of the last time I updated the installer, so I ask subversion for all changes since then.

    -v tells it to print each path

    My where { } checks each line of the output to see if it starts with 3 spaces and a D

Powered by Community Server (Commercial Edition), by Telligent Systems