PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an ASP.NET Web application that uses the Entity Framework.

The build configuration is set to Release. The application must be published by using Microsoft Visual Studio 2010, with the following requirements:
* The database schema must be created on the destination database server.
* The Entity Framework connection string must be updated so that it refers to the destination database server.

You need to configure the application to meet the requirements. Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Generate the DDL from the Entity Framework Designer and include it in the project. Set the action for the DDL to ApplicationDefinition.

B.
Set Items to deploy in the Package/Publish Web tab to All files in this Project Folder for the release configuration.

C.
Use the web.config transform file to modify the connection string for the release configuration.

D.
Include the source database entry in the Package/Publish SQL tab and update the connection string for the destination database.


Leave a Reply