Which three actions should you perform?

You are creating an application named Certkiller App1. You use ClickOnce deployment to distribute Certkiller App1.exe and multiple Assemblies. Some users require only some of the functionality in Certkiller App1.
You need to limit the size of the initial download of the application. You also need to ensure that users can download the assemblies on demand. Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)

You are creating an application named Certkiller App1. You use ClickOnce deployment to distribute Certkiller App1.exe and multiple Assemblies. Some users require only some of the functionality in Certkiller App1.
You need to limit the size of the initial download of the application. You also need to ensure that users can download the assemblies on demand. Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)

A.
Mark each dependency in Certkiller App1.exe.manifest as optional.

B.
Mark each dependency in Certkiller App1.application as optional.

C.
Create an event handler for the AppDomain.ResourceResolve event named ResolveAssembly.

D.
Create an event handler for the AppDomain.AssemblyLoad event named ResolveAssembly.

E.
In the ResolveAssembly event handler, set the
ApplicationDeployment.CurrentDeployment.ActivationUri property to the location of your required assembly.

F.
In the ResolveAssembly event handler, call ApplicationDeployment.DownloadFiles and pass in the name of the assembly you want.



Leave a Reply 0

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