当前位置:MCTS(70-515)题库

问题:

[多选] 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 actio

You are developing an ASP.NET MVC 2 Web application. A page makes an AJAX request and expects a list of company names in the following format. ["Adventure Works","Contoso"] You need to write an action method that returns the response in the correct format. Which type should you return from the action method?() AjaxHelper。 XDocument。 JsonResult。 DataContractJsonSerializer。 如何克服改革的阻力 You are developing an ASP.NET MVC 2 Web application. The application contains a controller named Home Controller, which has an action named Index. The application also contains a separate area named Blog. A view within the Blog area must contain an Action Link that will link to the Index action of the Home Controller. You need to ensure that the Action Link in the Blog area links to the Index action of the HomeController. Which Action Link should you use?() Html.ActionLink("Home", "Index", "Home")。 Html.ActionLink("Home", "Index", "Home",  New With {.area = ""}, Nothing)。 Html.ActionLink("Home", "Index", "Home",  New With {.area = "Blog"}, Nothing)。 Html.ActionLink("Home", "Index", "Home",  New With {.area = "Home"}, Nothing)。 You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?() Configure the SqlMembershipProvider in the web.config file.。 Configure the SqlProfileProvider in the web.config file.。 Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.。 Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.。 阶级 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?()
参考答案:

  参考解析

本题暂无解析

相关题目:

在线 客服