How should you implement the route handler?
DRAG DROP You are developing an ASP.NET MVC application that takes customer orders. Orders are restricted to customers with IP addresses based in the United States. You need to implement a custom route handler. How should you implement the route handler? (To answer, drag the appropriate line of code to...
Which code segment should you use as the body of the SendAsync method in the DeleteHandler class?
You need to ensure that all customers can delete videos regardless of their browser capability. Which code segment should you use as the body of the SendAsync method in the DeleteHandler class? A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: B
Which command-line tool should you use?
You are developing an ASP.NET MVC application that will be deployed on a web farm. Passwords must be stored in the web.config file and must not be readable or in a format that is easily decodable. You need to encrypt the passwords that are stored in the web.config file. Which...
Which code segment should you add to the action at line 03?
You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures. The application contains three resource files in the Resources directory: Each file contains a public resource named Currency with the localized currency symbol. The application is configured to set the culture based on the...
Which unit test should you use?
You are developing an ASP.NET MVC web application that includes the following method. You need to test the AccountBalance method. Which unit test should you use? A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: C Explanation: All unit tests require the [TestMethod] attribute. The...
Which five actions should you perform in sequence?
DRAG DROP You are developing an ASP.NET MVC application that allows users to log on by using a third-party authenticator. You need to configure Microsoft Azure Access Control Services and the application. Which five actions should you perform in sequence? (To answer, move the appropriate actions from the list of...
How should you secure the queries?
You are developing an ASP.NET MVC application that uses forms authentication. The application uses SQL queries that display customer order data. Logs show there have been several malicious attacks against the servers. You need to prevent all SQL injection attacks from malicious users against the application. How should you secure...
Which code segment should you use?
You are implementing a website redesign of an existing website that provides historical weather condition maps. The current layout resembles the following graphic. Year selection is implemented as a set of links, which causes the page to reload when the user changes the year. The year selection HTML is contained...
Which isolation method should you use?
You are authoring unit tests. The unit tests must test code that consumes sealed classes. You need to create, maintain, and inject dependencies in the unit tests. Which isolation method should you use?A . T4 text templates and code generationB . Stub typesC . Shim typesD . Hard-coded implementationView AnswerAnswer:...
Which five actions should you perform in sequence?
DRAG DROP You are developing an ASP.NET MVC application that allows users to log on by using a third-party authenticator. You need to configure Microsoft Azure Access Control Services and the application. Which five actions should you perform in sequence? (To answer, move the appropriate actions from the list of...