Net Web 4.5.1 routing anything not authenticated
问题 Using Net Web 4.5.1 Started off trying to configure a rule on the default document (i.e. index.html): routes.MapPageRoute( "Default", "", "~/Statics/anybody.html" ); If during debug locally I want (without extensions) http://localhost:52065 to go to http://localhost:52065/Statics/anybody.html Down the road I want any request that isn't authorized to be directed to the splash page (i.e. /Statics/anybody.html). 回答1: I'm hesitant to post this, but, this is how you could do it: public class