Friday, 15 August 2008

What I Want in ASP.NET 4.0

Well, a thing rather than the thing...

We're looking at redoing the menu ystem for our application which means we're getting into all the yummy provider goodness that shipped with ASP.NET 2.0.

Except there's a provider missing and it's one we could really do with. Although we can use the XmlSiteMapProvider to generate a menu, it doesn't stop a user typing a URL directly into the address bar. We can stop this by setting up each URL with a element in web.config, but this isn't manageable. What we really want is a LocationProvider, though we'd settle quite happily for an add-on to the SiteMapProvider that does the same thing. The frustrating thing is there's already a ConfigurationLocation class that wraps the element but I can't see any way to get at it to generate a collection that is used across the site.

1 comment:

Anonymous said...

this is very helpful and attractive biog.
visit for help help