This morning I completely wasted 2 hours of my life, here is the history. I’m rewriting some nant script for a series of articles in italian language, this morning I did some modification to the base script, and I applied this new base script to a solution with 6 projects. Everything went fine, except for [...]

Continue reading about Occam’s Razor, probably is the better principle to keep in mind

I’m restructuring a portion of a site, it is well structured, and all logic is inside business classes in another assembly, and they are accessed with ObjectDataSources. My problem is that with the new structure I cannot refer to the concrete classes anymore, but I need to resolve them with an IoC container, like Castle [...]

Continue reading about Asp.Net, ObjectDataSource and Castle Windsor

In a old post I explained how to save an object in XML format in database with a UserType. Since this technique worked well I decided to use it in another situation. Now I have an object that have a property of type Object, and I want to be able to save xml serialiation of [...]

Continue reading about Saving a generic Object property with nhibernate

I have a project that uses both nhibernate and StoredProcedures, based on a legacy project written without nhibernate. Today I need to load a lot of data from five tables. The problem is that all these tables are managed with nhibernate, but I have no relation between them. Moreover these tables have a lot of [...]

Continue reading about Using ISQlQuery to load data with nhibernate

Some time ago I had a discussion with a younger friend that goes to university. The argument of the discussion is “what university misses to taught”, this question arise because a lot of persons that comes out of university are not immediately productive in a company.  Except people that had previously experiences while studying, quite [...]

Continue reading about What university misses to taught