Calling Azure Function from Code

Jim Culverwell

I'm using the Azure Function Tools for Visual Studio 2017 15.3.

I am trying to move my application to ASP.Net Core 2.0 and have some code which uses system.drawing which will not port. My intention is to move some of the code which will not port into Azure Functions (running on .Net 4.6) and then call these functions from my ASP.Net Core 2.0 application.

I was hoping to get some advice on the best way to call Azure functions from my ASP.Net Core 2.0 code. The first thing that springs to mind is using something like RestSharp but I was wondering if there is any other tooling I should consider using?

Alexey Rodionov

You do not need to use third party libs. Easiest way just use http call: HttpTrigger + HttpOutput https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook

Probably you want to use other outputs types depending of your app logic, for example: HttpTrigger trigger + Service Bus Queue

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Calling a native function from managed code

分類Dev

Calling a function from within a function

分類Dev

Cannot connect to CosmosDB from VS Code Azure Function

分類Dev

Calling global function from constructor

分類Dev

R: Exit from the calling function

分類Dev

Calling a function from another in ReactJs

分類Dev

Calling function from setTimeout() method

分類Dev

Calling function from dll with QT

分類Dev

Calling the BlogEntries function from another function [SilverStripe]

分類Dev

Calling Java code snippet from JRuby?

分類Dev

Calling angular service from outside angular code

分類Dev

Phalcon - Calling function from other controller

分類Dev

Calling Java function from Qt C++

分類Dev

Calling parent View Controller function from a subview

分類Dev

Calling a single function from the YouTube Player API?

分類Dev

Calling a function from a helper in Vue Template

分類Dev

Calling function that yields from a pytest fixture

分類Dev

Calling C function with pointers from F#

分類Dev

Scope of variables when calling function from find

分類Dev

calling a function from within a class "collate"

分類Dev

Calling PHP function from within a string

分類Dev

Calling Power shell function from .bat file

分類Dev

Sequentially calling a function with elements from a vector

分類Dev

PHP calling function from another file not working

分類Dev

Calling directive function from controller angularjs

分類Dev

Calling Azure Function 150 times by HTTP results in exception

分類Dev

Accessing Azure File Storage from Azure Function

分類Dev

Python - Calling function from main() function returns zero

分類Dev

Explanation for calling the outer function within its own code block

Related 関連記事

ホットタグ

アーカイブ