Тёмный

.NET Framework Custom Code for Logic Apps - General Availability 

Kent Weare
Подписаться 4,1 тыс.
Просмотров 873
50% 1

Наука

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@stephanebouillon2538
@stephanebouillon2538 10 месяцев назад
Hi Kent, super interesting to be able to combine logic apps low code with custom code for specific logic that is not available as an action. My question is if it is possible to add the visual studio code workspace and projects to an already existing logic app that was created using the designer in the browser, and how to go about that ? I would like to add a function call to an existing logic app using the new features you demonstrated.
@KentWeare
@KentWeare 10 месяцев назад
it will be easier to copy workflows from existing project into the new workspace structure than the other way around. I talk about it in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-DjvZKtl7oeM.html
@stephanebouillon2538
@stephanebouillon2538 10 месяцев назад
@@KentWeare Just a small follow-up question. How do I get the existing project into visual studio code ?
@KentWeare
@KentWeare 10 месяцев назад
@@stephanebouillon2538 if you have an existing project in Azure Portal, you can export it.
@stephanebouillon2538
@stephanebouillon2538 10 месяцев назад
@@KentWeare Very sorry to bother you Kent, but I'm stuck. I generated the weatherforecast app using VerifyHash as the function name. After deployment of the workflow, In the run history, I get an error on the function call action saying: GetFunctionFailed The function 'VerifyHash' does not exist in the function app. What could be causing this ? Is there a community for this type of questions ? Stephane
@stephanebouillon2538
@stephanebouillon2538 10 месяцев назад
@@KentWeare I give up for today. After numerous tries to deploy and redeploy, I can't get the boilerplate logic app to run successfully. The logic app runs, but the call to the local function fails with message: "GetFunctionFailed. The function 'VerifyHash' does not exist in the function app.
@Xprtentertainment
@Xprtentertainment 11 месяцев назад
Nice walkthru, but what is really the different from using azure function instead? Its even easier? Or am I missing something here
@KentWeare
@KentWeare 11 месяцев назад
Under the hood, we are provisioning a function so the programming model is largely the same. What is different is that you don't have to pay for another hosting plan to run your code. You also don't have another deployment to manage, secure and monitor. So the benefits, in my mind, are largely related to the operational overhead of managing another service when you have "integration code" that your workflow(s) are dependent upon.
@Xprtentertainment
@Xprtentertainment 11 месяцев назад
@@KentWeare ok thx kent
@XuWanping
@XuWanping 7 месяцев назад
Thank you very much, Kent! while creating workspace, I don't get same options as yours. After workspace created, I have 3 .vscode folders, one under base folder with all launch,settings and tasks json files, one under Function folder with 4 json files including one extra as externsions.json files, one under LogicApp, but only extensions.json file. When I do dotnet build under Function folder, I don't get dll under bin folder of LogicApp. Also I cannot open workflow in design mode, some kind of error related root folder, etc.'
@KentWeare
@KentWeare 7 месяцев назад
Can you create a Logic App without custom code and load the designer? I would validat that first. It sounds like a pre-req issue.
@rezcan
@rezcan 11 месяцев назад
Hey Kent, are you using a different A extension? We dont get the option to choose "Logic Apps with Custom Code" vs "workflow" option when creating a new workspace. We are not even given the option to select with or without code, it always creates the workspace with code. Also, everything works locally , but when we deploy Logic Apps directly from VS code, and when we try to run the Logic App in Azure Portal we get the following error in the Local Function action. Do we need to deploy the function separately? I see the DLL in the Assemblies folder!!! GetFunctionFailed The function 'customcodefun' does not exist in the function app.
@KentWeare
@KentWeare 11 месяцев назад
Sounds like you have an older extension. In VS code you should be using the latest 2.72.2. As for runtime error, we do support App Insights logging so you can add some additional logging. Otherwise you may see some additional info in the exceptions table for that execution. Check out this video for more details: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YK_RpacEOJ8.htmlsi=2ShBgqp4JYja0PvB
@carlabarintos2854
@carlabarintos2854 7 месяцев назад
@kentWeare, tried locally and it is working. But problem is when deploying Logic App it is erroring out getting this error when running GetFunctionFailed The function 'logicapptest' does not exist in the function app.
@carlabarintos2854
@carlabarintos2854 7 месяцев назад
resolved using the appsettings the App Type
@mikeholdorf
@mikeholdorf 2 месяца назад
Kent, can we have multiple Functions within a project and call these from Logic Apps? I could not find a way to create a new Function and it looks like the metadata created only has one entry point. Any examples out there on how to create multiple Functions to call from Logic Apps? Any help is appreciated.
@KentWeare
@KentWeare 2 месяца назад
Yes, you can have multiple functions. I will email you
@andrewlahikainen4627
@andrewlahikainen4627 Месяц назад
@@KentWeare Can you make a video on this please? Been trying to figure this out for quite a while. Cheers
@KentWeare
@KentWeare Месяц назад
@@andrewlahikainen4627 sure..can do that. Has come up a bit recently from other places. What would you prefer .NET 8 or .NET FX?
Далее
БЫСТРАЯ сборка ПК - от А до Я!
00:22
The Logging Everyone Should Be Using in .NET
15:34
Просмотров 72 тыс.
Azure Logic Apps Tutorial
26:14
Просмотров 326 тыс.
The New Option and Result Types of C#
15:05
Просмотров 71 тыс.
Brutally honest advice for new .NET Web Developers
7:19
.NET in 300 seconds
5:48
Просмотров 76 тыс.
.NET and C# are in trouble. Here is what I'd do.
10:57