Skip to content

Modify Azure Function App and Service Bus sample#71

Merged
paolosalvatori merged 1 commit intomainfrom
update-sb-sample
Apr 3, 2026
Merged

Modify Azure Function App and Service Bus sample#71
paolosalvatori merged 1 commit intomainfrom
update-sb-sample

Conversation

@paolosalvatori
Copy link
Copy Markdown
Contributor

Motivation

This pull request contains some improvements I made to the Azure Function App and Service Bus sample sample while troubleshooting issues with messaging in the Service Bus emulator.

Changes

This pull request introduces the following changes:

  • .gitignore: Added publish/ folder to the list of folders to ignore.
  • samples/function-app-service-bus/dotnet/README.md: Added sample output for the call-http-trigger.sh script.
  • samples/function-app-service-bus/dotnet/scripts/deploy.sh: Added commands to check whether the application-insights az extension is installed. If not, the extension is installed.
  • samples/function-app-service-bus/dotnet/src/GreetingFunctions.cs: Modified the code to collect the messages sent and received by all the functions in circular buffer.
{
  "requester": {
    "sent": [
      "Paolo",
      "Max"
    ]
  },
  "handler": {
    "received": [
      "Paolo",
      "Max"
    ],
    "sent": [
      "Welcome Paolo, glad you're here!",
      "Salutations Max, how's everything going?"
    ]
  },
  "consumer": {
    "received": [
      "Welcome Paolo, glad you're here!",
      "Salutations Max, how's everything going?"
    ]
  }
}

Tests

The new version was tested locally.

@paolosalvatori paolosalvatori merged commit d3a8eae into main Apr 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants