Free Template: Earthy

Earthy Template Screenshot

Long-time users might notice that the design looks suspiciously familiar to one of the previous revisions of this blog. That's because — err — it had been used as the design for this blog at one point. However, I'm not using it any longer (no kidding). I didn't want to let it go for waste, however, and so I'm releasing it as a free template for anyone who wants to use it for personal or commercial site. Feel free to make any modifications whatever. However, please don't try to sell the design to anyone. :-)

While you don't need to include my name in the design anywhere, a mention and a link back is much appreciated. :-D

Look at the template

Download the files

Registering Server Controls in Web.Config

A useful addition to ASP .NET 2.0 is the ability to register web controls in web.config. In ASP .NET 1.1, if you wanted to use a custom server control on twenty different pages, you had to register it on all twenty of those pages:

  1. <%@ Register tagprefix="tagprefix" Namespace="Namespace" Assembly="Assembly" %>

In ASP .NET 2.0, you can register the server control in the controls section of web.config once and use it in whatever page you want of the web application.

  1. <pages>
  2. <controls>
  3. <add
  4. tagPrefix="MyTagPrefix"
  5. namespace="My.Namespace"
  6. assembly="MyAssembly"/>
  7. </controls>
  8.  
  9. <!-- Other elements go here -->
  10.  
  11. </pages>

Read more on MSDN

1 of 1 pages

On the Side