When we were adding WebForm routing to ASP.NET 4 Beta 1, we didn't have a chance to add in a couple of methods which make working with Routes and Web Forms a lot easier! Note: the code below is 'similar' to that which we're adding ASP.NET 4 Beta 2, *that* code will be of much higher quality however, this is a sample only! 1: using System;
2: using System.Collections.Generic;
3: using System.Linq;
...
UPDATE: I've put the entire CSS Manager source including this control on my Codeplex site, you can get it here. This has been a bit of an obsession for the past couple of days...I wrote previously about a little CSS combining control which I'm working on. As part of this I wanted to experiment with ways of optimizing our current controls. Well, I thought I'd throw this up (in both meanings of the term) here for some quick reference. Again, not fully implemented, just an experiment. You'll also quickly notice that there's some other gubbins missing; like...