How to add multitenancy to Azure Function using Orchard Core Framework #10139
Unanswered
xperiandri
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Maybe in a few months I will be interested on moving some logic of my orchard modules to azure functions. So, the easiest move seems sth like that. Did you managed to do it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
May be you can create an regular single tenant application as you would normally do for azure functions and have x-tenant-id header in your request. Based on header you can create tenant scope using orchard framework and run your functions within that scope #9943 (comment) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use out of process Azure Function on .NET 5 and I need to add multitenancy to it.
There is an extension mechanism of middleware similar to ASP.NET Core https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.functions.worker.middleware.ifunctionsworkermiddleware?view=azure-dotnet
How can I reuse Orchard Core Framework for that?
Beta Was this translation helpful? Give feedback.
All reactions