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 January, 2009

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 »

Monitoring website load

Tuesday, January 20th, 2009

Over the weekend I’ve been in charge of monitoring one of our bigger portals which consists a database server (running SQL Server 2005) and multiple web servers (running IIS 6.0 and ASP.NET) connecting to it. The architecture of the system is the following:

I’ve chosen a really simple - and at first glance efficient - way [...]

Read the rest of this entry »

Building an AJAX Tree control

Saturday, January 17th, 2009

Recently I’ve been in need to create use a tree control that is capable of doing the following:
- Displays tree items
- Branches can be opened to see children
- The tree is dynamically built to minimize server load
I was sure that there are plenty of solutions out there that I could use. After doing some search [...]

Read the rest of this entry »

TFS - deleting old workspaces

Monday, January 12th, 2009

I use Visual Studio 2008 on a daily basis however for some older projects I have to work with VS 2005. Recently our company has set a new Team Foundation Server in use and all active projects have been migrated there. In VS 2008 everything worked just fine.
However when trying to re-map a project to [...]

Read the rest of this entry »