多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are implementing an ASP. NET MVC 2 Web application. You add a controller named Company Controller. You need to modify the application to handle the URL path /company/info. Which two actions should you perform?()

  • A、Add the following method to the CompanyController class. Function Info() As ActionResult   Return View() End Function
  • B、Add the following method to the CompanyController class. Function Company_Info() As ActionResult  Return View() End Function
  • C、Right-click the Views folder, and select View from the Add submenu to create the view for the action.
  • D、Right-click inside the action method in the CompanyController class, and select Add View to create a view for the action
正确答案:A,D
答案解析:
进入题库查看解析

微信扫一扫手机做题