{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-service-bus/pulls/comments/130434941","pull_request_review_id":53310400,"id":130434941,"diff_hunk":"@@ -0,0 +1,105 @@\n+﻿// Copyright (c) Microsoft. All rights reserved.\n+// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n+\n+namespace BasicSendReceiveUsingQueueClient\n+{\n+    using Microsoft.Azure.ServiceBus;\n+    using Microsoft.Azure.ServiceBus.Primitives;\n+    using System;\n+    using System.Text;\n+    using System.Threading;\n+    using System.Threading.Tasks;\n+\n+    class Program\n+    {\n+        const string ServiceBusConnectionString = \"{ServiceBus connection string}\";\n+        const string QueueName = \"{Queue Name}\";","path":"samples/DotNet/Microsoft.Azure.ServiceBus/BasicSendReceiveUsingQueueClient/Program.cs","position":16,"original_position":16,"commit_id":"dff311e22b72af923e4628d0fa499b9a809885ed","original_commit_id":"dff311e22b72af923e4628d0fa499b9a809885ed","user":{"login":"vinaysurya","id":20955970,"avatar_url":"https://avatars1.githubusercontent.com/u/20955970?v=4","gravatar_id":"","url":"https://api.github.com/users/vinaysurya","html_url":"https://github.com/vinaysurya","followers_url":"https://api.github.com/users/vinaysurya/followers","following_url":"https://api.github.com/users/vinaysurya/following{/other_user}","gists_url":"https://api.github.com/users/vinaysurya/gists{/gist_id}","starred_url":"https://api.github.com/users/vinaysurya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinaysurya/subscriptions","organizations_url":"https://api.github.com/users/vinaysurya/orgs","repos_url":"https://api.github.com/users/vinaysurya/repos","events_url":"https://api.github.com/users/vinaysurya/events{/privacy}","received_events_url":"https://api.github.com/users/vinaysurya/received_events","type":"User","site_admin":false},"body":"No I did not want them to have to create a queue that I have hardcoded.. I just want them to be able to use whatever queues they had if they had one already","created_at":"2017-07-31T19:10:20Z","updated_at":"2017-07-31T19:10:20Z","html_url":"https://github.com/Azure/azure-service-bus/pull/53#discussion_r130434941","pull_request_url":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-service-bus/pulls/comments/130434941"},"html":{"href":"https://github.com/Azure/azure-service-bus/pull/53#discussion_r130434941"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53","id":133024489,"html_url":"https://github.com/Azure/azure-service-bus/pull/53","diff_url":"https://github.com/Azure/azure-service-bus/pull/53.diff","patch_url":"https://github.com/Azure/azure-service-bus/pull/53.patch","issue_url":"https://api.github.com/repos/Azure/azure-service-bus/issues/53","number":53,"state":"open","locked":false,"title":"Update samples for the new DotNet Core library","user":{"login":"vinaysurya","id":20955970,"avatar_url":"https://avatars1.githubusercontent.com/u/20955970?v=4","gravatar_id":"","url":"https://api.github.com/users/vinaysurya","html_url":"https://github.com/vinaysurya","followers_url":"https://api.github.com/users/vinaysurya/followers","following_url":"https://api.github.com/users/vinaysurya/following{/other_user}","gists_url":"https://api.github.com/users/vinaysurya/gists{/gist_id}","starred_url":"https://api.github.com/users/vinaysurya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinaysurya/subscriptions","organizations_url":"https://api.github.com/users/vinaysurya/orgs","repos_url":"https://api.github.com/users/vinaysurya/repos","events_url":"https://api.github.com/users/vinaysurya/events{/privacy}","received_events_url":"https://api.github.com/users/vinaysurya/received_events","type":"User","site_admin":false},"body":"## Description\r\nThis PR updates the existing sample and introduces new samples for the Microsoft.Azure.Servicebus library.\r\nSamples have been added for the following basic scenarios.\r\n1) Basic Send Receive using QueueClient using MessagePump\r\n2) Send Receive using MessageSender and MessageReceiver\r\n3) Basic Session Send Receive using QueueClient and SessionPump\r\n4) Basic Session Send Receive using SessionClient\r\n5) Basic Topic Subscription Send Receive using Topic and Subscription Client.\r\n\r\nThere are more samples to be added for AddRules/GetRules etc but we will add them once the new library version carrying those updates are released.\r\n\r\nThis checklist is used to make sure that common guidelines for a pull request are followed.\r\n\r\n- [x] **I have read the [contribution guidelines](./CONTRIBUTING.md).**\r\n- [x] Title of the pull request is clear and informative.\r\n- [x] If applicable, the code is properly documented.\r\n- [x] The code builds without any errors.","created_at":"2017-07-28T18:18:48Z","updated_at":"2017-07-31T19:10:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16fc3d1526a9bc112cc89045ff52f2326c62cea0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-service-bus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-service-bus/issues/53/comments","statuses_url":"https://api.github.com/repos/Azure/azure-service-bus/statuses/dff311e22b72af923e4628d0fa499b9a809885ed","head":{"label":"Azure:updateSamples","ref":"updateSamples","sha":"dff311e22b72af923e4628d0fa499b9a809885ed","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":82957634,"name":"azure-service-bus","full_name":"Azure/azure-service-bus","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-service-bus","description":"☁️ Azure Service Bus service issue tracking and samples","fork":false,"url":"https://api.github.com/repos/Azure/azure-service-bus","forks_url":"https://api.github.com/repos/Azure/azure-service-bus/forks","keys_url":"https://api.github.com/repos/Azure/azure-service-bus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-service-bus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-service-bus/teams","hooks_url":"https://api.github.com/repos/Azure/azure-service-bus/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-service-bus/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-service-bus/events","assignees_url":"https://api.github.com/repos/Azure/azure-service-bus/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-service-bus/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-service-bus/tags","blobs_url":"https://api.github.com/repos/Azure/azure-service-bus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-service-bus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-service-bus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-service-bus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-service-bus/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-service-bus/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-service-bus/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-service-bus/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-service-bus/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-service-bus/subscription","commits_url":"https://api.github.com/repos/Azure/azure-service-bus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-service-bus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-service-bus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-service-bus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-service-bus/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-service-bus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-service-bus/merges","archive_url":"https://api.github.com/repos/Azure/azure-service-bus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-service-bus/downloads","issues_url":"https://api.github.com/repos/Azure/azure-service-bus/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-service-bus/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-service-bus/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-service-bus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-service-bus/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-service-bus/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-service-bus/deployments","created_at":"2017-02-23T18:19:58Z","updated_at":"2017-07-30T04:03:42Z","pushed_at":"2017-07-28T18:18:49Z","git_url":"git://github.com/Azure/azure-service-bus.git","ssh_url":"git@github.com:Azure/azure-service-bus.git","clone_url":"https://github.com/Azure/azure-service-bus.git","svn_url":"https://github.com/Azure/azure-service-bus","homepage":"https://azure.microsoft.com/services/service-bus","size":910,"stargazers_count":25,"watchers_count":25,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":34,"forks":21,"open_issues":34,"watchers":25,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"126f1362313b1f2f24fd922ca710c1c2bef89aed","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":82957634,"name":"azure-service-bus","full_name":"Azure/azure-service-bus","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-service-bus","description":"☁️ Azure Service Bus service issue tracking and samples","fork":false,"url":"https://api.github.com/repos/Azure/azure-service-bus","forks_url":"https://api.github.com/repos/Azure/azure-service-bus/forks","keys_url":"https://api.github.com/repos/Azure/azure-service-bus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-service-bus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-service-bus/teams","hooks_url":"https://api.github.com/repos/Azure/azure-service-bus/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-service-bus/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-service-bus/events","assignees_url":"https://api.github.com/repos/Azure/azure-service-bus/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-service-bus/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-service-bus/tags","blobs_url":"https://api.github.com/repos/Azure/azure-service-bus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-service-bus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-service-bus/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-service-bus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-service-bus/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-service-bus/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-service-bus/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-service-bus/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-service-bus/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-service-bus/subscription","commits_url":"https://api.github.com/repos/Azure/azure-service-bus/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-service-bus/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-service-bus/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-service-bus/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-service-bus/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-service-bus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-service-bus/merges","archive_url":"https://api.github.com/repos/Azure/azure-service-bus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-service-bus/downloads","issues_url":"https://api.github.com/repos/Azure/azure-service-bus/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-service-bus/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-service-bus/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-service-bus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-service-bus/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-service-bus/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-service-bus/deployments","created_at":"2017-02-23T18:19:58Z","updated_at":"2017-07-30T04:03:42Z","pushed_at":"2017-07-28T18:18:49Z","git_url":"git://github.com/Azure/azure-service-bus.git","ssh_url":"git@github.com:Azure/azure-service-bus.git","clone_url":"https://github.com/Azure/azure-service-bus.git","svn_url":"https://github.com/Azure/azure-service-bus","homepage":"https://azure.microsoft.com/services/service-bus","size":910,"stargazers_count":25,"watchers_count":25,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":34,"forks":21,"open_issues":34,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53"},"html":{"href":"https://github.com/Azure/azure-service-bus/pull/53"},"issue":{"href":"https://api.github.com/repos/Azure/azure-service-bus/issues/53"},"comments":{"href":"https://api.github.com/repos/Azure/azure-service-bus/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-service-bus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-service-bus/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-service-bus/statuses/dff311e22b72af923e4628d0fa499b9a809885ed"}}}}
{"actor":{"display_login":"vinaysurya"}}