Say I want to remove any mapped routes for files with a certain file extension.
RouteTable.Routes.Ignore("{root}.hello");
Works for any file that has the extension .hello
in the root directory, however as soon as i go into any subfolders the 'ignore' rule isn't applied.
Ive tried lots of different combinations, but can't seem to get one that doesn't throw a compiler exception, or not work?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…