Digitally Signing Your Application

In some scenarios, you should sign your XAP file before deploying it to the users. Let's look at when you would want to do so, and how you do so.

Why Sign Your Application

Following are three key reasons why you might want to sign your application:

  • If you want your Silverlight application to be able to run inside the browser with elevated trust privileges, your application can only do so when the XAP file is signed.
  • When the user tries to install an unsigned Silverlight application to run outside the browser with elevated trust privileges, it will display a rather stern warning in the install dialog, as shown in Figure 17-9, stating that the publisher could not be verified. When you see this warning, it means ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.