First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

nhibernate

There are 12 entries for the tag nhibernate

7 books for a .NET Summer reading list (2011 version)

In the previous years “n books for a .NET Summer reading list” used to be the title of the book list post. Now, in the last of my 4 posts with books suggestions I am back to the original title. In my introductory post I said I would have listed only a few web development on .NET books. In fact there are only 2. Web Development on .NET Professional ASP.NET MVC 3 While Professional ASP.NET MVC v2 was mainly an update of the original professional MVC1 book, the third remake, due to the nature of the new...

All NHibernate Day materials and videos are online

Almost one month passed since the NHDay in Bologna and but we didn’t forget about the promise we made about streaming and having the videos online for people that couldn’t attend. And now, after all the processing required to get the vidoes out of the cameras, processing and uploading them fighting with the “digital divide” that affects some areas of Italy, all the vidoes, presentations and samples (when available) are online. Keynote by Simone Chiaretta: video and slide What’s new in NH3 by Ayende: video and slide From relational...

Debreefing the NHDay

Less than 10 days ago the First European NHibernate Day took place in Bologna: here are some comments on the day and in a future post, being among the organizers, the process that lead to event. The Attendance Let’s start from the event day: even if the biggest part of the attendance was Italian, it was amazing to see so many people coming from various countries, and travelling even from Sweden and Norway to attend this event. This made the European NHDay a really international event. The sessions Unfortunately I was not able...

Announcing NHDay final Agenda

During the month of July we ran the public voting for the agenda of the second track of the NHDay that will happen in October in Bologna. So, without further ado, here is the agenda of the second track as selected by the attendees: From relational data to ObjectSpaces – Andrea Saltarello Loosely Coupled Complexity - Unleash the power of your domain model, using Event Sourcing and CQRS - Alberto Brandolini Real World Application Development with NHibernate, FluentNHibernate and Castle Windsor - Chris Canal...

Sessions’ voting for NHibernate Day is open

In October the First European NHibernate Day will be held in Bologna and there will be two tracks: Advanced NH with Ayende and Steve Strong Generic ORM, for which we had an open call for speakers Nine sessions have been proposed, but we have room only for 5 of them: today we are opening the votes to decided which of 9 sessions will be presented at the NHDay. To vote please rank the sessions in order of preference (1 is the one you definitely want to see, and...

Registration to NHibernate Day opens at 3:15pm CET

Today the registration to the first European NHibernate Day opens, at 3:15pm CET (2:15pm in London). We setup a countdown on the NHDay.eu website that will redirect you to the registration page at the precise moment the registration opens. But remember that there are only 220 seats available, and last time we finished them all in less than one day. If you are not decided yet, here are some facts that can help you decide: the event is donation based, so no fixed entry fee. Ayende and Steve Strong will talk...

The First European NHibernate Day is next fall in Italy: announcement and call for speakers

UgiAlt.NET together with DotNetMarche organizes the First European NHibernate Day: it will be held in Bologna (Italy) next 9th October. The event is open to everyone (not only from Italy) as most of the sessions will be delivered in English. We just setup the site for the NHDay, but at the moment it’s only in Italian: an English version will be published in a few weeks. The topics It will be a full day free two tracks conference on everything about NHibernate: the main track will be on medium/advanced topics on NHibernate itself, and will be presented by...

11 books for a .NET Summer reading list

Now that my book is on shelves, I’m out of things to do when I come back from work. Furthermore during this year I bought or I was given quite a few interesting programming book, so I think I’ll start using my spare time to improve my skills. Here is the list of books I’m going to read, some of which I think are a must read for all .NET developers. Frontend development and JavaScript I’m a web developer at heart, and I truly believe that a web developer must know everything about Javascript, CSS and HTML....

ORM vs HandCoded DAL: Adding a new field to a table

In a World of constantly changing requirements adding a new field to a table is pretty common task: a new user profile field, a new flag to control the display of something, some other customization parameter. Let's see the steps involved in this easy task, both using an ORM (I'm using NHibernate) and using an hand made DAL. Task NH ...

Rhino Mocking NHibernate Expressions

A few days ago I wrote a post about how to test your business layer using Rhino Mocks. Last time I set an expectation on an method that accepts a normal int. Today I'll show how to work on something more complicated: a NHibernate Expression. How to Mock the FindOne(ICriterion[]) I've to test a method that returns a user given its username. 1: public User GetByUsername(string username) 2: { 3: User returnUser = 4: _repository.FindOne(Expression.Eq("EmailAddress", username)); ...

How to mock a NHibernate Repository

 In my current project I'm trying to apply the best practices for building "great software" (cit.). One of the best practices is using a (kind of) TDD approach, using Inversion of Control and Dependency Injection to test only the relevant parts of your code without testing all the layers of your applications, DB included, during each test. Which are the benefits of this approach? First of all your tests run quicker because they are not hitting the database all the times. Second, you don't need to restore the initial state for the database. Third, if you are...

NHibernate 1.2 is stable

Sergey Koshcheyev, project leader of NHibernate, just announced the release to the world of NHibernate 1.2. NHibernate 1.2 has been in beta testing for the last half year. Today it is officially marked stable, production-ready, and supported. What are the most compelling new features and why should you upgrade? Just a brief overview of the new features: there is a commercial support: I guess that the lack of that is one of the things that scares "traditional" IT managers the most Native support of generics Support for Stored Procedures SysCache2: a second level cache provider based on the...