exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 6 question 9 discussion

Actual exam question from Microsoft's AZ-203
Question #: 9
Topic #: 6
[All AZ-203 Questions]

HOTSPOT -
You develop a news and blog content delivery app for Windows devices.
A notification must arrive on a user's device when there is a new article available for them to view.
You need to implement push notifications.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer: Explanation
Box 1: NotificationHubClient -

Box 2: NotificationHubClient -
Box 3: CreateClientFromConnectionString
// Initialize the Notification Hub
NotificationHubClient hub = NotificationHubClient.CreateClientFromConnectionString(listenConnString, hubName);
Box 4: SendWindowsNativeNotificationAsync
Send the push notification.
var result = await hub.SendWindowsNativeNotificationAsync(windowsToastPayload);
References:
https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-registration-management https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/app-service-mobile/app-service-mobile-windows-store-dotnet-get-started-push.md

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bulve
Highly Voted 5 years, 2 months ago
Options: https://www.certshared.com/images/AZ-203.files/image043.jpg
upvoted 21 times
casaga76
4 years, 4 months ago
this link is no longer available
upvoted 6 times
...
...
ahmen9
Highly Voted 4 years, 5 months ago
options: https://cdn.shortpixel.ai/client/q_glossy,ret_img/https://freedumps.certqueen.com/wp-content/uploads/2020/06/image059-2.jpg
upvoted 9 times
...
chaudh
Most Recent 4 years, 11 months ago
correct. https://social.msdn.microsoft.com/Forums/azure/en-US/b28daf1c-990c-434e-80d9-ad3cccbd1238/how-to-send-push-notifications-cross-platform-with-azure-notification-hubs?forum=notificationhubs
upvoted 3 times
...
Rishi_22
5 years, 2 months ago
options please.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...