假如在Gloable.ascx文件中定義瞭如下的Route,
如果輸入的參數不能轉化整形的話,就會出錯,
The route defined in Listing 1 will match any of the following URLs:
- /Product/23
- /Product/7
Unfortunately, the route will also match the following URLs:
- /Product/blah
- /Product/apple
如果是第二個的話就會出錯,
使用正則表達式