You need to use different databases during the development phase and the testing phase by using conditional compilation techniques

You are creating an application that reads from a database.
You need to use different databases during the development phase and the testing phase by
using conditional compilation techniques.
What should you do?

You are creating an application that reads from a database.
You need to use different databases during the development phase and the testing phase by
using conditional compilation techniques.
What should you do?

A.
Configure the assembly metadata to use the pre-existing public key for the assembly
identity by using the AssemblySignatureKeyAttribute attribute.

B.
Disable the strong-name bypass feature of Microsoft .NET Framework in the registry.

C.
Configure the Define DEBUG constant setting in Microsoft Visual Studio.

D.
Decorate the code by using the [assembly:AssemblyDelaySignAttribute(true)] attribute.

Explanation:
Use one debug version to connect to the development database, and a standard version to
connect to the live database.



Leave a Reply 1

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