For Azure Time trigger function. Is it compulsory to add Microsoft.Azure.WebJobs.Extensions or not. if yes...
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#
add a comment |
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#
add a comment |
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#
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#
c#
edited Nov 25 '18 at 7:12
Maksym Labutin
387313
387313
asked Nov 25 '18 at 6:13
Praveen kumarPraveen kumar
153
153
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Nov 26 '18 at 3:16
Jerry LiuJerry Liu
11.3k11233
11.3k11233
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Nov 25 '18 at 9:19
Peter BonsPeter Bons
10.1k32244
10.1k32244
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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