PrepAway - Latest Free Exam Questions & Answers

You need to configure the deployment package to meet th…

You develop an ASP.NET MVC application that is secured by using SSL. You are ready to deploy the
application to production.
The deployment package must include the installation of the SSL certificate.
You need to configure the deployment package to meet the requirement.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a web publish pipeline target file with a custom web deploy target.

B.
In the Package/Publish settings of the project, select the All Files in this project option.

C.
Extend the CopyAllFilesToSingleFolder target in the project file.

D.
In the Build Events settings of the project, configure a pre-build event to include the SSL certificate.

Explanation:
Extending the Web Publishing Pipeline
The Web Publishing Pipeline (WPP) is the process that Visual Studio uses when you create a deployment
package or use one-click publish.
Some aspects of the WPP can be extended by modifying the XML files that control MSBuild behavior. For
example, tasks that that you can handle by modifying XML files include the following:
* Installing SSL certificates on the destination server.
* Excluding specific Web application files or folders from the package.
* Precompiling the Web application before the package is created.
* Installing application assemblies in the GAC on the destination server.
* Updating registry keys on the destination server.
https://msdn.microsoft.com/en-us/library/dd394698(v=vs.100)


Leave a Reply