For Azure Time trigger function. Is it compulsory to add Microsoft.Azure.WebJobs.Extensions or not. if yes...












0















I am new to azure functions. To Create azure function, Is it compulsory to add Microsoft.Azure.WebJobs.Extensions or not.



If yes, why ?










share|improve this question





























    0















    I am new to azure functions. To Create azure function, Is it compulsory to add Microsoft.Azure.WebJobs.Extensions or not.



    If yes, why ?










    share|improve this question



























      0












      0








      0


      1






      I am new to azure functions. To Create azure function, Is it compulsory to add Microsoft.Azure.WebJobs.Extensions or not.



      If yes, why ?










      share|improve this question
















      I am new to azure functions. To Create azure function, Is it compulsory to add Microsoft.Azure.WebJobs.Extensions or not.



      If yes, why ?







      c# azure azure-functions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 '18 at 7:12









      Maksym Labutin

      387313




      387313










      asked Nov 25 '18 at 6:13









      Praveen kumarPraveen kumar

      153




      153
























          2 Answers
          2






          active

          oldest

          votes


















          1














          Timer extension is in Microsoft.Azure.WebJobs.Extensions assembly so it's necessary for our project references.



          To be more accurate, Microsoft.Azure.WebJobs.Extensions is necessary to build and run Azure Function whatever language and trigger we want to use. This is all by design.



          But we don't need to worry either have control over these built-in parts at all. When we create a c# Azure Function locally, it references Microsoft.NET.Sdk.Functions by default, which includes Microsoft.Azure.WebJobs, Microsoft.Azure.WebJobs.Extensions and so on to make functions work perfectly.






          share|improve this answer































            1














            Yes it is. As taken from the docs:




            Binding types



            The following trigger and binding types are included in the Microsoft.Azure.WebJobs package:




            • Blob storage

            • Queue storage

            • Table storage


            To use other trigger and binding types, install the NuGet package that contains them and call a Use method on the JobHostConfiguration object. For example, if you want to use a Timer trigger, install Microsoft.Azure.WebJobs.Extensions and call UseTimers in the Main method, as in this example: …




            Now, for the why: I do not know why they decided to put this in a separate package. Fact is, for timer triggers the classes etc. needed are in that package.






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53465120%2ffor-azure-time-trigger-function-is-it-compulsory-to-add-microsoft-azure-webjobs%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              Timer extension is in Microsoft.Azure.WebJobs.Extensions assembly so it's necessary for our project references.



              To be more accurate, Microsoft.Azure.WebJobs.Extensions is necessary to build and run Azure Function whatever language and trigger we want to use. This is all by design.



              But we don't need to worry either have control over these built-in parts at all. When we create a c# Azure Function locally, it references Microsoft.NET.Sdk.Functions by default, which includes Microsoft.Azure.WebJobs, Microsoft.Azure.WebJobs.Extensions and so on to make functions work perfectly.






              share|improve this answer




























                1














                Timer extension is in Microsoft.Azure.WebJobs.Extensions assembly so it's necessary for our project references.



                To be more accurate, Microsoft.Azure.WebJobs.Extensions is necessary to build and run Azure Function whatever language and trigger we want to use. This is all by design.



                But we don't need to worry either have control over these built-in parts at all. When we create a c# Azure Function locally, it references Microsoft.NET.Sdk.Functions by default, which includes Microsoft.Azure.WebJobs, Microsoft.Azure.WebJobs.Extensions and so on to make functions work perfectly.






                share|improve this answer


























                  1












                  1








                  1







                  Timer extension is in Microsoft.Azure.WebJobs.Extensions assembly so it's necessary for our project references.



                  To be more accurate, Microsoft.Azure.WebJobs.Extensions is necessary to build and run Azure Function whatever language and trigger we want to use. This is all by design.



                  But we don't need to worry either have control over these built-in parts at all. When we create a c# Azure Function locally, it references Microsoft.NET.Sdk.Functions by default, which includes Microsoft.Azure.WebJobs, Microsoft.Azure.WebJobs.Extensions and so on to make functions work perfectly.






                  share|improve this answer













                  Timer extension is in Microsoft.Azure.WebJobs.Extensions assembly so it's necessary for our project references.



                  To be more accurate, Microsoft.Azure.WebJobs.Extensions is necessary to build and run Azure Function whatever language and trigger we want to use. This is all by design.



                  But we don't need to worry either have control over these built-in parts at all. When we create a c# Azure Function locally, it references Microsoft.NET.Sdk.Functions by default, which includes Microsoft.Azure.WebJobs, Microsoft.Azure.WebJobs.Extensions and so on to make functions work perfectly.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 26 '18 at 3:16









                  Jerry LiuJerry Liu

                  11.3k11233




                  11.3k11233

























                      1














                      Yes it is. As taken from the docs:




                      Binding types



                      The following trigger and binding types are included in the Microsoft.Azure.WebJobs package:




                      • Blob storage

                      • Queue storage

                      • Table storage


                      To use other trigger and binding types, install the NuGet package that contains them and call a Use method on the JobHostConfiguration object. For example, if you want to use a Timer trigger, install Microsoft.Azure.WebJobs.Extensions and call UseTimers in the Main method, as in this example: …




                      Now, for the why: I do not know why they decided to put this in a separate package. Fact is, for timer triggers the classes etc. needed are in that package.






                      share|improve this answer




























                        1














                        Yes it is. As taken from the docs:




                        Binding types



                        The following trigger and binding types are included in the Microsoft.Azure.WebJobs package:




                        • Blob storage

                        • Queue storage

                        • Table storage


                        To use other trigger and binding types, install the NuGet package that contains them and call a Use method on the JobHostConfiguration object. For example, if you want to use a Timer trigger, install Microsoft.Azure.WebJobs.Extensions and call UseTimers in the Main method, as in this example: …




                        Now, for the why: I do not know why they decided to put this in a separate package. Fact is, for timer triggers the classes etc. needed are in that package.






                        share|improve this answer


























                          1












                          1








                          1







                          Yes it is. As taken from the docs:




                          Binding types



                          The following trigger and binding types are included in the Microsoft.Azure.WebJobs package:




                          • Blob storage

                          • Queue storage

                          • Table storage


                          To use other trigger and binding types, install the NuGet package that contains them and call a Use method on the JobHostConfiguration object. For example, if you want to use a Timer trigger, install Microsoft.Azure.WebJobs.Extensions and call UseTimers in the Main method, as in this example: …




                          Now, for the why: I do not know why they decided to put this in a separate package. Fact is, for timer triggers the classes etc. needed are in that package.






                          share|improve this answer













                          Yes it is. As taken from the docs:




                          Binding types



                          The following trigger and binding types are included in the Microsoft.Azure.WebJobs package:




                          • Blob storage

                          • Queue storage

                          • Table storage


                          To use other trigger and binding types, install the NuGet package that contains them and call a Use method on the JobHostConfiguration object. For example, if you want to use a Timer trigger, install Microsoft.Azure.WebJobs.Extensions and call UseTimers in the Main method, as in this example: …




                          Now, for the why: I do not know why they decided to put this in a separate package. Fact is, for timer triggers the classes etc. needed are in that package.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 25 '18 at 9:19









                          Peter BonsPeter Bons

                          10.1k32244




                          10.1k32244






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53465120%2ffor-azure-time-trigger-function-is-it-compulsory-to-add-microsoft-azure-webjobs%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Ottavio Pratesi

                              Tricia Helfer

                              15 giugno