Registration of a protocol association is achieved using your app’s WMAppManifest.xml file. To edit the WMAppManifest.xml file, in the Visual Studio Solution Explorer, right-click the WMAppManifest.xml file and then select View Code.
A protocol association is declared using a Protocol element, as shown in the following excerpt:
<Extensions>
<Protocol Name="unleashed"
NavUriFragment="encodedLaunchUri=%s" TaskID="_default" />
</Extensions>
The Protocol
element includes the following three mandatory elements:
Name—The prefix in your custom URI scheme. The value of Name must be a string between 3 and 39 characters in length and may contains numbers, lowercase letters, or a hyphen (‘-’).
NavUriFragment—Must always be specified as encodedLaunchuri=%s
TaskID—Must always be specified as _default
Note
A maximum of 10 protocol associations can be registered in an app.
3.147.74.211