I recently had to do a hack on a site, and implement random link rolling. The used a third party CMS so all I could do (well considering the time parameter as well) was to change the ASP.NET master page to include some quick link selection code as well.
So therefore this code might look very [...]
This article is intended for .NET 1.1. In version 2.0 I advise you to use generics instead of inheriting from CollectionBase – an article on that will be available (later) as well.
Some of the main goals when creating a custom collection (instead of just using for example ArrayList ) are
type safety (you should only be able to insert objects of [...]
I am getting more and more used to generics and must say I just love the anonymous methods. Here we will use the RemoveAll function to remove objects not to be published (Publishdate > now)
public class MyObj
{
public MyObj(string sName, [...]
When developing ASPCodeHeaderManager I created a servercontrol for managing javascripts etc in an ASP.NET page.
Later I needed a specific servercontrol to be able to interact with the ASPCodeHeaderManager control. However – I wanted to keep the two controls totally unknown of each other – so the solution was to create an Interface. By putting the interface into it’s own dll I could create by second [...]
