题目内容

You are implementing an ASP.NET MVC 2 Web application. The URL with path /Home/Details/{country} will return a page that provides information about the named country. You need to ensure that requests for this URL that contain an unrecognized country value will not be processed by the Details action of HomeController. What should you do?()

Add the ValidateAntiForgeryToken attribute to the Details action method.
B. Add the Bind attribute to the country parameter of the Details action method. Set the attribute’s Prefix property to Country.
Create a class that implements the IRouteConstraint interface. Configure the default route to use this class.
D. Create a class that implements the IRouteHandler interface. Configure the default route to use this class.

查看答案
更多问题

气割时应用的设备、工具等均与气焊相同。

A. 正确
B. 错误

上部软地层下钻遇阻划眼,应注意哪些问题?

氨水呈()性,氯化钠的水溶液呈()性。

种子发芽需要的外部条件有()、()、()。

答案查题题库