You create an ASP.NET MVC 2 Web application that contains the following controller class. In the Views folder of your application, you add a view page named Index.aspx that includes the following @ Page directive. You test the application with a browser.You receive the following error message when the Index method is invoked: "The view 'Index' or its master was not found." You need to resolve the error so that the new view is displayed when the Index method is invoked.What should you do?()
A. Change the name of the Index.aspx file to Product.aspx.
B. Create a folder named Product inside the Views folder. Move Index.aspx to the Product folder.
C. Replace the @ Page directive in Index.aspx with the following value.
D. Modify the Index method by changing its signature to the following:public ActionResult Index(Product p)
查看答案
You have a server that runs Windows Server 2008.You need to configure the server as a VPN server. What should you install on the server? ()
A. Windows Deployment Services server role and Deployment Server role service.
B. Windows Deployment Services server role and Transport role Service.
C. Network Policy and Access Services server role and Routing and Remote Access Services role service.
D. Network Policy and Access Services server role and Host Credential Authorization Protocol role.
You work as an application developer at Certkiller .com. You have recently created a Windows service application and need to define a Windows service class. What should you do?()
A
B
C
D
Company has a Catalyst 6500 and you need to configure redundancy between the supervisormodules. With route processor redundancy (RPR+), the redundant supervisor engine is fullyinitialized and configured, which shortens the switchover time if the active supervisor engine fails.Which three statements are true about the RPR + operations when the redundant supervisorengine switched over the failed primary supervisor engine?()
A. Static IP routes are maintained across a switchover because they are configured from entries inthe configuration file
B. Information about dynamic routing states, maintained on the active supervisor engine, issynchronized to the redundant supervisor engine and is transferred during the switchover
C. Information about dynamic routing states, maintained on the active supervisor engine, is notsynchronized to the redundant supervisor engine and is lost on switchover
D. The Forwarding Information Base (FIB) tables are cleared on a switchover. As a result, routedtraffic is interrupted until route tables reconverge
E. Static IP routes are cleared across a switchover and recreated from entries in the configurationfile on the redundant supervisor engine
F. The Forwarding Information Base (FIB) tables are maintained during the switchover. As aresult, routed traffic continues without any interruption when the failover occurs
You are implementing an ASP.NET MVC 2 Web application that contains the following class. You create a strongly typed view that displays details for a Department instance. You want the view to also include a listing of department employees. You need to write a code segment that will call the ListEmployees action method and output the results in place. Which code segment should you use?()
A. <%= Html.Action("ListEmployees", Model) %>
B. <%= Html.ActionLink("ListEmployees", "Department", "DepartmentController") %>
C. <% Html.RenderPartial("ListEmployees", Model); %>
D. <%= Html.DisplayForModel("ListEmployees") %>