70-486 Developing ASP.NET MVC 4 Web Applications

Loading demo links...

Showing 13–15 of 15 questions

Question 13 (Mixed Questions)

You are developing an ASP.NET Core MVC web application.

The application includes a C# type named InsuranceID that represents an insurance policy identifier for a customer. Each instance of InsuranceID is five alphanumeric characters followed by a dash and then four numbers (for example, ab12x2323).

You need to ensure that Controller actions can accept values of type InsuranceID.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Select an option, then click Submit answer.

  • Implement the IBinderTypeProviderMetadata interface.

  • Implement the IModeIBinder interface.

  • Use a TypeConverter object.

  • Implement the IBindingSourceMetadata interface.

  • Implement the ITypeComp interface.

Question 14 (Mixed Questions)

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You develop an ASP.NET Core MVC web application. You have a legacy business system that sends data to the web application by using Web API. The legacy business system uses proprietary data formats.

You need to handle the proprietary data format.

Solution: Add a custom formatter class to the Web API and implement the IInputFormatter interface.

Does the solution meet the goal?

Select an option, then click Submit answer.

  • Yes

  • No

Question 15 (Mixed Questions)

You are developing an ASP.NET MVC application that uses forms authentication against a third-party database.

You need to authenticate the users.

Which code segment should you use?

Select an option, then click Submit answer.

  • Option A

  • Option B

  • Option C

  • Option D