- 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 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 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]
- Posted by Jakob Andersen on March 31, 2008
A fluent interface is a way to make what we could call an "inline" domain specific language using the power of the tools you already have at hand. Often when speaking statically typed object-oriented languages its a way to build an object graph or manipulate the state of an object in a mor...
[More]
- Posted by Jakob Andersen on March 24, 2008
I have had some discussions with a few people about why i would use MonoRail as it (for these people) seem like a step back from WebForms. First of all its important to understand that WebForms provide a statefull abstraction over something that is in fact stateless. In my opinion this makes somethi...
[More]
- Posted by Jakob Andersen on March 23, 2008
Introduction Lately I have been writing some posts(in Danish) introducing ActiveRecord and MonoRail. I have gotten some requests for providing a translation of these in English. This is the fist one and its heavily based on the getting started guide found on castle website. This first post will in...
[More]