- Posted by Jakob Andersen on October 7, 2009
My friend Mark wrote a post last week about implementing a calculating compiler using SableCC. I have worked with SableCC on a project where we needed to parse C# code and I have to admit I don't recall SableCC as a friendly framework, and reading Mark's post proves my memory right.
F...
[More]
- Posted by Jakob Andersen on August 26, 2009
I have used nHibernate on linux for some time now without any major problems. The issues I have encountered have infact not been with Mono but with the MySql dialect in nHibernate. One of these where a nasty issue where nHibernate closed the connection to the database before retrieving the newly g...
[More]
- Posted by Jakob Andersen on April 8, 2009
Gendarme is a tool for analyzing and finding problems in code in ECMA CIL format (For MS only people out there that is the specification of which MSIL is an implementation). The tool itself comes with a boatload of useful rules to find problems in your code, one example of a rule is ProvideCorrectAr...
[More]
- Posted by Jakob Andersen on July 20, 2008
Currently I'm working with a system handling different operations when receiving business documents in object form. Its quite obvious that the code for handling this has evolved to have a lot more responsibilities than it was intended to. So already having an Inversion of Control container in our s...
[More]
- Posted by Jakob Andersen on June 13, 2008
A .NET User Group is starting up in Copenhagen for more information check http://cnug.dk/ (in Danish). I Hope to see many of the Danish developers on the 19th of June in Ballerup. Its gonna be a talk about expectations for the User Group and a presentation of some concepts from object relational map...
[More]
- Posted by Jakob Andersen on June 3, 2008
So if you need to generate passwords easy you don't have to reinvent the wheel, you can use functionality that the Mempership functionality from ASP.NET already has. On the Membership class in System.Web.Security namespace is a static method for generating passwords. You can specify a length and how...
[More]
- Posted by Jakob Andersen on May 13, 2008
I often get asked question about nHibernate issues the question discussed last in this post is often brought up. But lets start out with a few simple exceptions that can sometimes take up more of your time than you would like. "NHibernate.MappingException : Unknown entity class: MyNamespace.Wi...
[More]
- Posted by Jakob Andersen on April 25, 2008
Inspired by some talk I "overheard" on twitter I thought it would be interesting to post a small challenge. Is it possible to implement the missing parts of the following code so it compiles and runs without exceptions, if yes how would you do it? You are not allowed to modify the body of ...
[More]
- Posted by Jakob Andersen on April 24, 2008
So as I wrote a few days ago I have been looking at BlogEngine.NET and considered how I would have designed its lower layers. So lets kick off with the provider that's currently used in BlogEngine.NET for accessing the various storages (XML and RDBMS). The provider is responsible for accessing all d...
[More]
- Posted by Jakob Andersen on April 11, 2008
Last Friday I took a look at the source code from BlogEngine.NET I wrote a little log during my short look: 20:32 - Downloaded the latest source from BlogEngine.NET on codeplex 20:34 - Build the solution and starting the website after a single problem with the website expected in another place t...
[More]