This documentation contains information on how to run the sample Windows Client application to demonstrate the Azure Tradable Digital Assets Solution Accelerator.
- Access to an Azure subscription
- Fundamental knowledge of and access to Visual Studio
- Completed Application Deployment
Once the Azure resources have been deployed it's time to configure the Windows Client Application.
-
Open appsettings.json file under Contoso.DigitalGoods.ClientApp project
-
Update following properties:
- SubscriptionId : The Subscription ID for where you want to manage your resources
- ResourceGroupName : Resource group name where the resources are deployed
- DatabaseAccountName : Azure Cosmos DB account name
- ManagedIdentityId : User Assigned Identity Client ID
- ApplicationServiceEndPoint : Contoso Application API URL generated at the end of deployment
- TokenServiceEndPoint : Contoso Token Service API URL generated at the end of deployment
- ContosoProductManager_NFTId : ContosoProductManager ID generated from the Contoso.DigitalGoods.SetUp applicaiton
- Contoso_NFTId : Contoso ID generated from the Contoso.DigitalGoods.SetUp applicaiton
- TokenID : TokenID generated from the Contoso.DigitalGoods.SetUp applicaiton
-
All set!
Set the Application.WindowsClient as your start up project in Visual Studio and run the solution by presssing F5.
1. The client app will first open to the 'Configuration tab' and display the values set by the application
1. Select the Digital Good Inventory item to be gifted
2. Select the User to whom the gift will be sent
3. Click on "Create Gift" botton
1. Select the created gift
2. Click on the Generate URL for sharing Digital Goods
3. Click on Create Gift for the digital good