I'm trying to write my first very own SiteMapProvider
subclass. It is meant to be populated dynamically using a bunch of different database lookups, much like all of the examples I've found on the web.
However, there are a whole bunch of things that are quite unclear to me. Here are my two first questions:
- Why is
StaticSiteMapProvider
used in virtually everyone's project instead ofSiteMapProvider
? Since the class contains the name "static", I'm getting the impression that it's not as...well, dynamic as I want it. - Can someone provide me with a super-minimalistic
SiteMapProvider
subclass which populates the map using only static data, i.e. no database access, etc.?