File tree 3 files changed +14
-1
lines changed
orders-service-dotnet/Functions 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public async Task<IActionResult> Run(
61
61
}
62
62
catch ( ServiceBusException sbx )
63
63
{
64
- // TODO: retry policy...
64
+ // TODO: think about retry policy (e.g. https://github.com/jeffhollan/functions-csharp-queue-exponential/blob/master/ExponentialRetry.cs)
65
65
log . LogError ( sbx , "Service Bus Error" ) ;
66
66
throw ;
67
67
}
Original file line number Diff line number Diff line change
1
+ local.settings.json
Original file line number Diff line number Diff line change
1
+ FROM microsoft/dotnet:2.2-sdk AS installer-env
2
+
3
+ COPY . /src/dotnet-function-app
4
+ RUN cd /src/dotnet-function-app && \
5
+ mkdir -p /home/site/wwwroot && \
6
+ dotnet publish *.csproj --output /home/site/wwwroot
7
+
8
+ FROM mcr.microsoft.com/azure-functions/dotnet:2.0
9
+ ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
10
+ AzureFunctionsJobHost__Logging__Console__IsEnabled=true
11
+
12
+ COPY --from=installer-env ["/home/site/wwwroot" , "/home/site/wwwroot" ]
You can’t perform that action at this time.
0 commit comments