Welcome to imar.spaanjaars.com

image
Welcome to the personal web site of Imar Spaanjaars where I write about software development with a focus on Microsoft web technologies
Image representing the Blogs category

Want to Be My Colleague?

Published 17 years ago

Do you want to be my colleague and get involved in the projects I am working for? Now is your chance, because we're hiring...

Read on ...
Image representing the Articles category

Building Smarter User Controls

Published 17 years ago

User Controls are very common in today's ASP.NET websites, both in version 1.x as in version 2.0. Many sites use them to reuse content, like a menu, a header or a footer or even for partial page content, like a shop's product catalog.

However, User Controls can be used for more than simply displaying static, repeating content. With a bit of knowledge about how User Controls work, you can teach them a few tricks. By adding public properties to a User Control, they become much more powerful and easier to reuse.

In this article I'll show you how to build a User Control that displays information about an article, like a news item, similar to the Details section that you find at the top of most pages in my site.

Although I am using Visual Studio 2005 and ASP.NET 2.0 in this article, the same principles and code work for Visual Studio .NET 2002 / 2003 and ASP.NET 1.x as well.

Read on ...
Image representing the Blogs category

I'm Back!!!

Published 17 years ago

Over the past four days, my server has been down due to some major hard- and software problems....

Read on ...
Image representing the Blogs category

Netherlands against Argentina: 0 - 0

Published 17 years ago

I just came home from a short trip to Frankfurt, Germany together with my brother where we watched the Dutch play against Argentina. Unfortunately, the game ended in a draw of 0 - 0.

Read on ...
Image representing the Articles category

Configuring an ASP.NET 2.0 Application to Work with Microsoft SQL Server 2000 or SQL Server 2005

Published 17 years ago

Over the past couple of weeks, I saw a number of posts on the Wrox Programmer to Programmer forum (p2p.wrox.com) asking how to configure an ASP.NET 2.0 application to work with SQL Server 2000 or 2005. Since this is not an easy undertaking, and requires knowledge about ASP.NET 2.0, IIS and SQL Server, this article might help to familiarize you with some of the important concepts that you need to be aware of

Read on ...
Image representing the Snippets category

Send Out XHTML to Browsers That Support It

Published 17 years ago

A while ago I saw this useful tip to instruct an ASP.NET 2.0 application to send the response as valid XHTML / XML.

Read on ...
Image representing the Articles category

Migrating to ASP.NET 2 - Part 5 - It's the Little Things - Or Why I Love ASP.NET 2.0

Published 17 years ago

This is the fifth and final part of a (long running) article series about migrating my ASP.NET 1.x Web site to ASP.NET 2. This installment focuses on the many little improvements in the .NET Framework in general and ASP.NET 2.0 and Visual Web Developer in particular.

Read on ...
Image representing the Blogs category

Some People Never Learn...

Published 17 years ago

A while ago I blogged about poor old Marieke from Michael Bailey Associates that tried to convince me to work for her by lying. Apparently, she's not the only one in this hard recruitment market that has to resort to spam or lies to get some business done...

Read on ...
Image representing the Articles category

Using Attributes to Improve the Quality and Usability of Your Code Part 2 - Improving Debugging

Published 17 years ago

I am a big fan of attributes in .NET. Ever since I discovered them in .NET 1, I have been digging in the MSDN documentation to find more useful attributes that I can use to improve the quality of the code I write and design. With the release of .NET 2, the number of attributes has increased quite a bit. During my search I discovered a number of useful attributes that have helped me write better code so I thought it was time for a short article series about attributes. This installment, Part 2 - Improving Debugging shows you a number of useful attributes that you can apply to elements like methods and classes to improve your debugging experience.

Read on ...
Image representing the Articles category

Using Attributes to Improve the Quality and Usability of Your Code Part 1 - Decorating Business Objects for Data Binding

Published 17 years ago

I am a big fan of attributes in .NET. Ever since I discovered them in .NET 1, I have been digging in the MSDN documentation to find more useful attributes that I can use to improve the quality of the code I write and design. With the release of .NET 2, the number of attributes has increased quite a bit. During my search I discovered a number of useful attributes that have helped me write better code so I thought it was time for a short article series about attributes. This installment, Part 1 - Decorating Business Objects for Data Binding talks about applying attributes to business objects to influence the way these objects are used and seen in data binding scenario's. In a future installment I'll discuss attributes that can be used to improve the debugging experience in the Visual Studio 2005 IDE.

Read on ...

Mobile: False

Crawler: True

I: False