PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

You need to configure the Web API

You are developing an ASP.NET Web API application that will be consumed by a web browser
via 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.)
Select and Place:

You need to return an anonymous object that is serializ…

You are developing an ASP.NET Web API action method.
The action method must return the following JSON in the message body.
{” Name “:” Fabrikam”, “Vendor Id”: 9823, “Items”: [“Apples”, “Oranges”] }
You need to return an anonymous object that is serialized to JSON.
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.
Select and Place:

Which code segment should you use?

You are developing a library management application that uses the ADO.NET Entity Framework against a SQL
Server database. The application has a method that returns check outs filtered by date.
The Book class is shown below.

You must filter the data on the SQL server before it is returned to the application server.
You need to return books checked out more recently than the entered date.
Which code segment should you use?

Which code segment should you use?

You are developing an ASP.NET MVC application. The application is a loan processing system that uses the
ADO.NET Entity Framework against a SQL Server database. It has a controller that loads a page that displays
all loans along with rate information. Lazy loading has been disabled.
The Loan class is shown below.

You need to return the loans and rate information in a single round trip to the database.
Which code segment should you use?

Which code segment should you use?

You are developing an ASP.NET MVC application. The application is an order processing system that uses the
ADO.NET Entity Framework against a SQL Server database. It has a controller that loads a page that displays
customers. Customers are filtered on Country and, if provided, on CompanyName.
You have an Entity Framework context named db.
The Customer class is shown below.

You need to execute a single deferred query to return the filtered list of customers.
Which code segment should you use?

You need to create a remote NuGet feed that exposes the…

You are preparing to develop a set of libraries that uses large data sets.
The libraries must be shared across an organization and distributed to several servers.
You need to create a remote NuGet feed that exposes the libraries for developer use.
What should you do? (Each answer presents part of the solution. Choose all that apply.)


Page 790 of 6,830« First...102030...788789790791792...800810820...Last »