March 2007

12 articles published in March 2007

  1. Adding search capabilities to the new blog engine

    · 2 min read

    The in-site search feature has been under development for a few days by Claus Christensen . Claus has been developing his own search engine for the last couple of years, so he knows a lot about search algorithms and...

  2. More info on the new blog engine

    · 1 min read

    The new blog engine is well on its way and almost ready for its beta test. We’ve added extra features that weren’t on our original feature list . The features include: Pingback and trackback support - Almost done Pings...

  3. Implement Gravatar icons in ASP.NET

    · 1 min read

    Gravatar icons can be used on all websites that lets users write comments. It could be in a forum or on a blog. The image is retrieved from the Gravatar website and is based on the e-mail address of the person that makes...

  4. New blog engine in town

    · 2 min read

    For more than a year, I've been blogging on the excellent dasBlog engine and it has been good. I really like the fact that it runs on XML instead of a database. However, it is written in ASP.NET 1.1 and is quite...

  5. A shorter and URL friendly GUID

    · 1 min read

    As a follow-up on my post from yesterday about generating shorter GUIDs , I’ve created a small helper class in C#. The class encodes a GUID into a 22 character long string and decodes the string back to the original GUID...

  6. Generate unique strings and numbers in C#

    · 2 min read

    The System.Guid is used whenever we need to generate a unique key, but it is very long. That’s in many cases not an issue, but in a web scenario where it is part of the URL we need to use its string representation which...

  7. Psychological variables and properties

    · 2 min read

    I’ve noticed that there are two different ways developers locate private variables used by properties. One way is to locate the private variable next to the property that returns them and all other private variable...

  8. Asynchronous GridView in 5 simple steps

    · 3 min read

    A web page with a data bound GridView control can take a long time to load. The page is not rendered until all the controls are, and the GridView cannot render before data has been retrieved from the database. So, let’s...

  9. Compress and decompress strings in C#

    · 1 min read

    A couple of days ago, I had to store some very big strings in an XML file. To keep the file size down I wanted to compress the strings using a GZipStream and then decompress them later when needed. I modified the methods...

  10. A dynamic blogroll for ASP.NET

    · 2 min read

    The blogroll has become a standard element on most blogs today. If it is an ASP.NET blog, the blogroll probably contains links to other ASP.NET blogs and that gives the visitor an opportunity to surf to other related...

  11. Is security harmful for innovation?

    · 3 min read

    Some of my friends have been considering moving to Vista and have therefore asked me if it’s worth the money. My answer is an unconditionally yes, but then they ask why that is and what features are worth the upgrade?...

  12. Count clicks on external links in ASP.NET

    · 2 min read

    On a small test website I’m building in my spare time, I wanted a way to count the number of clicks to the outgoing links from that site. Imaging hosting banners or other affiliate links where you get paid per click, it...