Greg Does IT

Do it to get it

About

The blog of Gergely Orosz on IT related topics: web, software design, .NET, PHP and the rest. Follow me @gergelyorosz on Twitter.

Archive for the '.NET' Category

Behaviour Driven Development for .NET developers

Wednesday, November 11th, 2009

On the Scot ALT.NET meeting held on 4th November Robert Lewis gave a talk on BDD explaining the basics, motivations and demonstrating the .NET tools available to support this methodology. I found the talk to be really interesting, mostly because Robert was focusing on the practical side of BDD – that is how .NET developers [...]

Read the rest of this entry »

Recently I wanted to implement a very simple file upload component in Silverlight that uploads a single file and if possible shows upload progress. Having done some search I’ve found numerous examples but all of them seemed too complex for the simple task of uploading a file so I implemented a really lightweight solution. The [...]

Read the rest of this entry »

As part of my thesis I measured the performance of some .NET ORM frameworks including NHibernate and Entity Framework. Measuring was done by implementing two simple applications using the same table structure and doing the same operations on the same data.
Note: before reading this article please see my views on comparing ORM tools. Also see [...]

Read the rest of this entry »

NHibernate LINQ 1.0 is here

Monday, July 27th, 2009

One of my biggest concerns with NHibernate is that to use it one must become familiar with Criteria and Expression quieries which is a timely process.
However LINQ support has been released for NHibernate meaning you can create complex queries without the need of learning its querying language. You can download and try it from [...]

Read the rest of this entry »

First trip to Silicon Valley

Monday, April 13th, 2009

In summer 2008 me and three friends representing Hungary as team DigitalMania took part in the Microsoft Imagine Cup competiton in the software design category - one of the largest student technology competitons in the world. The task was to design an implement a solution regarding an environmental issue. We focused on the water problem [...]

Read the rest of this entry »

I’ve ran into a querying scenario with NHibernate that was much less obvious to solve with the NHibernate query API than it would have been with SQL - for me at least.
In my model I’ve had a simple many-to-many relation: Entries that had multiple Categories each and Categories that belonged to multiple Entries as well.
In [...]

Read the rest of this entry »

When working with images I sooner or later usually run into the problem of creating thumbnails. Resampling images is not really difficult in the major programming languages however I have not found built-in support for caclulating thumbnail dimensions neither in .NET nor in PHP. And it seems that this made me re-invent the wheel over [...]

Read the rest of this entry »

I have had some trouble deleting the child in a one-to-many relationship in NHibernate. My schema described a simple parent-child relationship: a parent can have multiple children and every child has exactly one parent.
In the database schema I had two tables parentTable and childTable. ParentTable had an ID column and some other columns. The childTable [...]

Read the rest of this entry »