Bug - there is a piece of C# code in F# template
kumkee opened this issue · 0 comments
kumkee commented
In the F# project template, there is a C# lambda function in this F# code, making it fail to compile.
let host =
HostBuilder()
.ConfigureFunctionsWorkerDefaults()
.ConfigureServices(services => {
services.AddApplicationInsightsTelemetryWorkerService();
services.ConfigureFunctionsApplicationInsights();
})
.Build()
In addition, this dot-method calling is not an F# style at all.
Could someone familiar with both languages please fix these?