Which two attributes should you add to the AppDb connection string entry in the Web.staging.config file?

You are designing the deployment strategy for an ASP.NET Web application. The database
configuration string varies depending on the target environment. You have the following
requirements: • Deploy the application by using Web Deploy. • Replace the connection
string named AppDb with appropriate value for each environment You need to recommend
an approach for updating the AppDb connection string when deploying the application to the
staging environment. Which two attributes should you add to the AppDb connection string
entry in the Web.staging.config file? (Each correct answer presents part of the solution.
Choose two.)

You are designing the deployment strategy for an ASP.NET Web application. The database
configuration string varies depending on the target environment. You have the following
requirements: • Deploy the application by using Web Deploy. • Replace the connection
string named AppDb with appropriate value for each environment You need to recommend
an approach for updating the AppDb connection string when deploying the application to the
staging environment. Which two attributes should you add to the AppDb connection string
entry in the Web.staging.config file? (Each correct answer presents part of the solution.
Choose two.)

A.
xdt:Locator with the value “XPath(configuration/connectionStrings[@name=’AppDb’])”

B.
xdt:Locator with the value “Replace”

C.
xdt:Transform with the value “XPath(configuration/connectionStrings[@name=’AppDb1])”

D.
xdt:Transform with the value “Replace”



Leave a Reply 0

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