ルーティング用の URL スラッグを作成しています。スラッグ制約を空白のままにする必要がありますか?
これが私のコードです:
routes.MapRoute(
null,
"q/{slug}/{id}",
new { controller = "q", action = "Index" },
new { id = @"^(\{){0,1}[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}(\}){0,1}$" }
);
スラッグはこの形式になります
how_do_you_open_jar_file_on_computer