You need to configure the deployment package to meet the requirement

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?

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?

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.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


rubenm

rubenm

I dont know why is A the answer.
I have read that WPP file is used to configure settings that apply to all profiles.

I think the answer is B because the content of the deployment packages is configured in Package/Publish tab.

Could somebody confirm this?

Rockfly

Rockfly

As stated in: https://msdn.microsoft.com/en-us/library/dd394698(v=vs.100).aspx#Anchor_6
(Extending the Web Publishing Pipeline) one of the points of what is possible:
Installing SSL certificates on the destination server.

Installing an SSL certificate is more that just putting the right certificate in place, you need to install in properly in the certificate store.

For that I thing the answer should be A.

(just for the record, i haven’t seen a single blog that explains how to do it)