NAnt task to drop/create sqlite database from ActiveRecord

I really like to use ActiveRecord when building small apps or internal tools. It offers a lot of great features of his older brother NHibernate, without freightening everybody on your team.

I also really like the ability to generate the database schema based on the domain entities, so you don’t have to worry about SQL and DDL.
Combine that with SQLite, and you can develop on your local machine without an installed database server (like Sql Server). Makes it really easy  to setup a new development machine (checkout the code, build and run – it should works).

Read the rest of this entry »

Tags: , , ,

Create a .wsdl file from an asmx web service with NAnt

There are places where we are still stuck with .net framework 2.0 – so WCF is still not available. I’m currently working on such a project.

I’m using asmx web services, and i needed to be able to export the wsdl file generated by the framework, as part of an automated build.
It turns out that it seems there’s no way to generate a wsdl file from a web application directly without a web server.

So I decided to turn to NAnt and Cassini (the web server integrated with visual studio) and came with the following target :

Read the rest of this entry »

Tags: , , , ,

Try Ubuntu 9.10 with VMWare Player in 10 minutes!

You’re curious and want to try Ubuntu, but you don’t want to mess up you’re computer or deal with the hassle of installing a new operating system? The you should try Ubuntu with the latest VMWare Player.

Read the rest of this entry »

Tags: ,

Install Sharepoint Training Kit locally

I’ve installed the Sharepoint Training Kit on my sharepoint training workstation (created here).

After having painfully followed the instructions, I had to spent half an hour to make it work. And it seems i’m not the only one!

I really think it’s a shame for Microsoft to release poor quality software as a training material. They need to better polish “around” the products to make them more attractive.

Anyway, dear reader, if you ever have ton install it, two quick tips:

  • remember to repeat the “Configure Office Sharepoint Training” steps each time you deploy the training kit to a site – remember also to check “Create permissions” ;
  • pay attention to where you deploy the site : NOT the root, and NOT a subsite… Ideally, something like http://<machine_name>/stk. Otherwise, expect weird path error throughout the application…

MindTouch Dream : a coroutine framework

Really interesting presentation about a concurrency in the .Net world :

MindTouch @ Monospace: Going Concurrent & Keeping your Sanity « MindTouch Developer Blog.

I should take the time to explore the MindTouch Dream framework.

Tags:

[French] Présentation : Introduction à Ruby

J’ai donné ce soir au groupe Pattern & Practices CGI Québec une brève introduction à ce merveilleux langage qu’est Ruby.

Cette présentation s’adresse à un public de développeur familiarisé aux langages de développement plus “traditionnels” (.Net, Java, etc.).

Le PDF de la présentation est disponible ici en licence Creative Commons, et les fichiers exemples dans le repository git suivant : http://github.com/julienblin/pres-ruby.

Tags: ,

How to Run Programs as a Domain User from a Non-domain Computer

Found here.

To be able to run a program as a domain user when your current workstation is not part of the domain, use the following command line:

runas /netonly /user:domain\username "{program}"

Really nice when you want to connect remotely to a Sql Server with Windows Authentication, without being part of the remote domain.

Tags: ,

Git screencasts on tekpub

I’ve just finished to watch the Mastering Git screencast series on tekpub.com

Though I was already familiar with Git, I learned a lot through the 12 episodes. Rob Conery takes the time to explain even the inner workings of Git, or how to simply integrate it with Visual Studio.

If you are using Git, or just interested in learning more about this really good tool, I encourage you to check these screencasts out.

Tags: ,

Creating a development workstation for MOSS 2007 – Win 2008 R2, SqlServer 2008

Starting working on a new mission with MOSS 2007, I’ve setup a new development workstation.

I wanted to start with the latest products available at Redmond:

  • Windows Server 2008 R2
  • Sql Server 2008
  • Visual Studio 2008
  • Moss 2007 & Office 2007

with everything in 64 bits.

Read the rest of this entry »

Tags: , , ,