CUSTOM ROUTE CONSTRAINTS

routes.MapRoute(“name”, “{controller}”, null
, new {httpMethod = new HttpMethodConstraint(“GET”)} );
原文地址:https://www.cnblogs.com/yk00/p/2955575.html