How to ignore some route while using ASP.NET Friendly URLs?
问题 I am using ASP.NET Friendly URLs with success, but I need to ignore route for a particular Foo.aspx page (because this page needs POST data and once re-routed the POST data is not available anymore in Page_Load() !). It looks like using ASP.NET Friendly URLs discard any attempt to ignore a route. Even the MSDN example for ignoring route doesn't work once ASP.NET Friendly URLs routing is used: routes.Ignore("{*allaspx}", new {allaspx=@".*\.aspx(/.*)?"}); And to ignore route to Foo.aspx the