C
C#10mo ago
Bailey

✅ Running in the microsoft cloud

Hello, I have to create a service which can run on the cloud (specs are not everything). So I thought, cot net 8 is compatible and using mediatr pattern for aa service is also OK. However there are possible things I didnt think of like (I do not know the real name) serive on demand which starts a program only when there is a request. Has someone any advice ? Like some short manual or something
6 Replies
Mayor McCheese
Mayor McCheese10mo ago
That sounds like an azure function, aws lambda, whatever gcp calls them. They basically all do the same thing, respond to a trigger with code. https://learn.microsoft.com/en-us/azure/azure-functions/functions-get-started https://docs.aws.amazon.com/lambda/latest/dg/lambda-csharp.html https://codelabs.developers.google.com/codelabs/cloud-functions-csharp
Bailey
BaileyOP10mo ago
Many thanks
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Bailey
BaileyOP10mo ago
I'll try to rewrite the question. I'm writing a asp.net c# service with the mediatr pattern. If I'm correct this should be compatible with a cloud deployment like azure. Because of the answer earlier I found that there are 2 global options running like a service on a Virtual machine iis server(called app if I'm correct) machine and running like a function. So that solved a lot. Now still looking for when to use function and when to use the app. With the mediatr pattern it's easy to switch. The service is'nt used frequently but to access the program, oauth2 is manditory. The questions are: - Is dotnet6 compatible or do I have to do something extra to run asp.net in azure - what to use (app or function and when to use one or the other).
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Bailey
BaileyOP10mo ago
Ok, thanks
Want results from more Discord servers?
Add your server