Using Durable Azure Functions in .NET 7 | .NET Conf 2022

  Переглядів 7,100

dotnet

dotnet

Рік тому

With .NET 7 durable functions will be available for Azure Functions running in isolated mode. I've found that many people I've chatted to aren't aware of durable functions. They can drastically simplify implementations by coordinating various distributed functions and queues.
I'd love to be able to show some realistic use cases for using these, specifically using isolated functions (which will be available from .NET 7).
www.dotnetconf.net
#DotNet #dotnetconf #dotnet7
🙋‍♀️🙋‍♂️ Get your questions answered on the Microsoft Q&A for .NET: aka.ms/dotnet-qa
🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: aka.ms/learndotnet

КОМЕНТАРІ: 14
@waltavista
@waltavista 9 місяців тому
Best video about Durable Functions so far. Great. Thanks.
@dandoescode
@dandoescode Рік тому
One of the best explanations I have seen for in-proc vs isolated. Great explanation of the different use cases for durable. It finally all makes sense! 🙂 Can you please share the source code?
@filteredCode
@filteredCode Рік тому
Hi Daniel, somehow my replies keep getting removed. I've dropped the link to the source code in another comment
@andeltoro
@andeltoro Рік тому
Excellent explanation Niels!
@filteredCode
@filteredCode Рік тому
Hi, for those that asked, the source code can be found on github - NielsFilter - DurableFunctions (sorry about the contrived link). My comment keeps getting removed if I put the actual link in the comments 🤦‍♂
@SM-pz9jo
@SM-pz9jo 6 днів тому
Great video on durable functions. However, when creating a durable function, it doesn't provide an option to choose a trigger. By default it is HTTP. You mentioned that the durable functions can be timer triggered. Is there any documentation or examples.
@Carristo
@Carristo 3 місяці тому
Very valuable content - thanks!
@hasbel_kader
@hasbel_kader Рік тому
I spent tons of time to understand durable functions, but this video just did the work for me in half an hour. Thanks a lot. One question, can we write the activity functions in other languages like JS or python while everything else (starter & orchestrator) is in C#?
@fabianramos496
@fabianramos496 Рік тому
Thanks Niels, excellent video! I'm wondering what happens if you change and redeploy your function before the 48 hour timeout and Paul still hasn't sent the response? What logic changes could a durable function support, or does each execution start and end with the same version of the function?
@filteredCode
@filteredCode Рік тому
Thanks Fabian and great question. Making changes while an orchestration hasn't completed can have side-effects and is rather important to reason with before making a change. Remember that state is stored (externally to the function). This means that making a change, doesn't affect the "orchestrator" waking up after 48 hours again, or still "waiting on an external event". In the case of changes that don't change the function's signature and the flow will still be "safe" on continuation, no need to worry at all. However, if you do change the signature or orchestrator logic in a way that it's a breaking change, you would need to deploy another version (different) signature side-by-side and all "new" invocations will flow to the new orchestrator. Once all "old" orchestrations are complete you can clean-up the code. Alternatively, you could also "terminate" your orchestrator and re-start them with the new code (not recommended in most cases,, but in some cases this is perfectly fine)
@yogeswarank
@yogeswarank Рік тому
Can you show how to return a List of DTO from activity function. I managed to return a DTO from activity function, turns out it's not easy as you have to put the DTO inside a specific namespace. But List is not working. Can you show a demo for that
@ArwindYadav
@ArwindYadav 11 місяців тому
Very detailed explanation. Could you please share this code
@mohanaprasathg7481
@mohanaprasathg7481 Рік тому
Thanks! It's really a great video , Can you please share the source code?
@filteredCode
@filteredCode Рік тому
Thanks Mohanaprasath, I've posted the link in another comment
The Different Patterns of Azure Durable Functions with Jonah Andersson
25:18
Microsoft Developer
Переглядів 12 тис.
Getting Started with OpenTelemetry in .NET
19:56
Nick Chapsas
Переглядів 41 тис.
когда одна дома // EVA mash
00:51
EVA mash
Переглядів 1,4 млн
Блоховирус !🦠 #симба #тигра #булли
00:57
Симбочка Пимпочка
Переглядів 9 млн
Китайка и Хеликоптер😂😆
00:18
KITAYKA
Переглядів 1,2 млн
Building a Serverless REST API With Azure Functions From Scratch
28:27
Codewrinkles
Переглядів 27 тис.
.NET 7 Overview - What's New, Should You Use It, and More
16:13
IAmTimCorey
Переглядів 103 тис.
Azure Functions for .NET Developers - Everything You Need To Know
1:12:49
Microsoft Azure Developers
Переглядів 4,5 тис.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Переглядів 244 тис.
Lists Are 3 Times SLOWER in .NET 9!
7:17
Nick Chapsas
Переглядів 22 тис.
Serverless but Stateful! - Azure Durable Functions Are AWESOME!
13:55
Intro to Azure Functions - What they are and how to create and deploy them
1:10:30
Что если бы Apple делала зубные щётки?
0:59
Я Создал Новый Айфон!
0:59
FLV
Переглядів 131 тис.
Нужен ли робот пылесос?
0:54
Катя и Лайфхаки
Переглядів 706 тис.
ИГРОВОЙ ПК c WILDBERRIES за 40 тысяч рублей
30:17
Ремонтяш
Переглядів 468 тис.
МОЙ ПЕРВЫЙ ТЕЛЕФОН - Sony Erricson T280i
18:02
ЗЕ МАККЕРС
Переглядів 44 тис.