Close

Starting up RavenDB with .NET 3.5

The application I’m writing isn’t in a very far stadium yet, but I do have some implementation of repositories using NHibernate. Now I want to switch to RavenDB. So I downloaded RavenDB (the latest build at this time – build 81) and unzipped it. I wanted to follow the RavenDB Hello World tutorial, but soon […]

Read More

Data storage for a stand-alone client application

I’m developing a stand-alone client application that will be able to store a fair amount of data. No client-server stuff, just plain old open-the-application-change-the-data-save-close. I need a good way to store the data and, traditionally, developers look at SQL databases for data storage. But I’m thinking this will make it overly complex. A search for […]

Read More

Pagenumbers like ‘page 3 of 10’ with XSL-FO

Using xsl-fo to generate PDFs, and you want to display the **pagenumbers **like ‘page 3 of 10’? It isn’t too hard. Just add this to the footer of your pages: Page fo:page-number of <fo:page-number-citation id=”last-page”></fo:page-number-citation></fo:page-number> Then, make sure you have the following at the end of your document (so, on the last page): <fo:block id=”last-page”></fo:block> […]

Read More

Git, TortoiseGit and (Putty) SSH keys for Windows

Okay, I finally got Git to work. Here’s the necessary steps, after having installed msysgit and TortoiseGit. First, create the local repository. You’ll get a notification that an empty repository was created. You can now use the repository to track your changes. But of course, you want to push this stuff to a server, as […]

Read More

Git and SSH keys

Git can be quite confusing in the beginning, especially coming from a subversion background. But once you’ve got it running, you realize it’s quite easy:install msysgitoptionally install something like TortoiseGitnow you need to create an SSH key, which is explained on the TortoiseGit site for Linux, but for Windows, it’s a little harder:open command prompt […]

Read More

Great F# tutorial

Looking for **a good F# tutorial **to figure out what the hype is all about? Check out the excellent F# series on Kevin Hazzard’s blog. Maybe a little out-dated when you’re using the September 2008 CTP of F# (there’s no add-in anymore, and the command mentioned in part 2 has a different name – just […]

Read More

WPF, NHibernate and the Model-View-ViewModel design pattern (MVVM)

WPF creates a whole new range of possibilities, but you can often run into trouble when trying to combine it with NHibernate. NHibernate can’t handle ObservableCollections*, which is a quite handy feature of WPF. Furthermore, what to do with the good databinding capabilities of WPF?Shawn Duggan provides a nice solution using the **Model-View-ViewModel **pattern here. […]

Read More

Creating applications with adsutil.vbs

There’s lots of information out there on how to create a virtual directory in IIS with adsutil.vbs. But when you need an application, like for an ASP.NET website, you need one more step which I had some trouble finding. Adsutil.vbs is a script to manage IIS from the commandline. If you’re using IIS6 you can […]

Read More