O'Reilly logo

Azure Serverless Computing Cookbook - Second Edition by Praveen Kumar Sreeram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Application setting – binding expressions 

In the previous section, we learned how to access the configuration settings from the code. Sometimes, you might want to configure some of the declarative items too. You could achieve that using binding expression. You will understand what I mean in a moment when we look at the code:

  1. Open the Visual Studio and make changes to the Run method to add a new parameter for configuring the QueueTrigger:

  1. The hardcodedqueuename parameter is the name of the queue to which messages will be created. It's obvious that hardcoding the name of the queue is not a good practice. In order to make it configurable, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required