February 2007
19 articles published in February 2007
-
Installing Vista on my work PC
Finally I had the chance to install Vista on my work PC - something I've wanted to do since November when it became available on MSDN. Now the installation is over and it went incredibly smooth. It installed all my...
-
Generic plug-in application in C#
At work, we are about to build a new internal tool for administration of different systems. We developers need certain applications and the sales department needs some other ones. All the different people need to be able...
-
Serialize files to base64 strings
Today, I needed to store images in XML files so I had to serialize an image file into text so it could be written in the XML file. Of course, it should also be deserialized back to an image again by reading from the XML...
-
Create reusable user controls in ASP.NET
In almost every web project of any size, you would probably use a lot of user controls to separate the content and UI logic. Many of the user controls are used only at one place in the solution while others are used by...
-
A simpler AJAX implementation in ASP.NET
A week ago I wrote about the native client callback feature of ASP.NET 2.0 and why it isn’t always the smart choice. That post got me some good feedback that inspired me to build a custom callback implementation so you...
-
The true selling point of XHTML
Some years ago there was a lot of fuzz about the importance of the W3C XHTML standard. I’ve always been a firm believer of the standards and built every website to comply with them. But why? Very brief history The...
-
HttpModule to block external referrers in ASP.NET
I was ones faced with the issue of enforcing copyright on different files on a website. That meant that images and dynamically created XML files had to be blocked if accessed from outside the website. So, I had to find a...
-
Turn on true tabbed browsing in IE7
Finally Internet Explorer caught up with the rest of the browsers and introduced tabs. For some reason I don’t know, the tabs feature doesn’t work the way you would expect from your experience with Firefox, Opera etc...
-
Screen scraping in C#
Some say that screen scraping is a lost art because it is no longer an advanced discipline. That may be right, but there are different ways of doing it. Here are some different ways that all are perfectly acceptable, but...
-
Is ASP.NET too easy?
Some time ago, I wrote a post called “ Is ASP.NET too difficult? ” and I strongly believe that it is. Yet at the same time it cause problems by making it too easy to do relative advanced programming. It doesn’t seem to...
-
Beware of Client Callbacks in ASP.NET
The built-in AJAX feature of ASP.NET 2.0, also known as Client Callback, is simple to utilize but a beauty in disguise. I’m not talking about the “Atlas” toolkit for ASP.NET but the ICallbackEventHandler interface that...
-
Simple RSS reader class in C#
Update February 11th . The class now updates every feed in the cache asynchronously and automatically. On the login screen of Headlight , we are soon adding news updates so that our customers can see what is going on...
-
When to assembly
Over the years, I’ve used a lot of third-party components and self built control libraries. It an easy way to add functionality to your code projects – just reference the dll file and that’s it. This encapsulated...
-
Follow-up
Yesterday, I received a lot of mails and comments on how to improve this blog. Thank you. Most of the comments and mails I received asked me to make it easier to navigate to the different code samples on this site. To...
-
Download tools and C# source code
Here is a list of the different tools I've developed and posted to this website. Source code in C# is included for all tools. The links points to the blog post, so you can get explanations and examples on how to use...
-
One year anniversary
Exactly one year ago this website saw the light of day and in that time the archive has grown to 201 posts about C#, ASP.NET and a little bit of other related stuff. This will continue in the year to come. Because I’m in...
-
Remove the www subdomain from your website
Many websites have two points of entry for each individual page – one with www and one without. It means that if other websites link to yours, they might link to the same page using two different addresses. If you make...
-
Search Engine Positioner
After I wrote about how to check a website's position at the Google search result page, I thought it would be fun to write a little application that uses that method, but extend it to work with Yahoo and AltaVista as...
-
A state aware generic collection in C#
One of the biggest problems with the different types of collections in the .NET Framework, is that they don’t tell you if the collection as been changed or not. If you have a Collection<int> that has to be persisted to a...