Developing Microsoft Azure and Web Services — Question 74
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?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer is A because creating a custom web deploy target allows you to specify the steps needed to include the installation of the SSL certificate during deployment. Options B and C do not specifically address SSL certificate installation, and option D involves a pre-build step that doesn't guarantee inclusion in the deployment package itself.