You need to configure the Web API
DRAG DROP
You are developing an ASP.NET Web API application for currency conversion that will be
consumed by a web browser by using a composite application that is served from another
web domain.
You need to configure the Web API.
What should you do? (To answer, drag the appropriate XML elements to the correct location
or locations in the answer area. Each XML element may be used once, more than once, or
not at all. You may need to drag the split bar between panes or scroll to view content.)
You need to complete the code to meet the requirements
DRAG DROP
You are developing an ASP.NET MVC Web API image management application.
The application must meet the following requirements:
• It must send or receive image data without the use of a buffer.
• It must allow up to 4 MB of image data to be received.
• It must allow up to 3 MB of image data to be sent.
You need to complete the code to meet the requirements.
What should you do? (To answer, drag the appropriate code segments to the correct
location or locations in the answer area. Each code segment may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view
content.)
Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the
DRAG DROP
You are developing an ASP.NET MVC Web API application.
The methods of the Web API must return details about the result of the operation.
You need to create methods to update and delete products.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and
Target 5 to complete the code? (To answer, drag the appropriate code segments to the
correct targets in the answer area. Each code segment may be used once, more than once,
or not at all. You may need to drag the split bar between panes or scroll to view content.)
Which unit test should you use?
Which settings should you use?
HOTSPOT
You are developing an ASP.NET MVC application. It is ready for deployment to the
production web server. A local SQL Express .MDF file was used by the application during
development, but the application will use are existing SQL server database in production.
There are files required by the application that are not part of the project. You must publish
the program database (PDB) files. The application was developed using IIS Express without
any special settings to be migrated.
You need to configure the web package settings for deployment.
Which settings should you use? (To answer, select the appropriate setting or settings in the
answer area.)
Where should you store the credentials?
You are developing an ASP.NET MVC application that uses forms authentication to verify
that the user is logged in.
Authentication credentials must be encrypted and secure so no user identity is exposed.
You need to ensure that user credentials are persisted after users log on.
Where should you store the credentials? (Each correct answer presents a complete solution.
Choose all that apply.)
How should you build the class constructor?
DRAG DROP
You are developing an ASP.NET MVC application that authenticates a user by using claimsbased authentication.
The application must:
• Use Windows Identity Foundation 4.5.
• Support the Windows Azure Access Control Service.
You need to implement authentication.
How should you build the class constructor? (To answer, drag the appropriate code segment
to the correct location or locations in the answer area. Each code segment may be used
once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)
You need to configure the service to meet the requirements
HOTSPOT
You are developing a WCF service.
The service must be interoperable with ASP.NET web service clients. In addition, it must
have a time-out of three hours.
You need to configure the service to meet the requirements.
What should you do? (To answer, select the appropriate code segment from each dropdown list in the answer area.)
Which code segment should you use?
Which authentication method should you implement?
You are developing an ASP.NET MVC application.
You need to authenticate clients by using an ASP.NET membership database.
Which authentication method should you implement?