Skip to content

Commit

Permalink
Update F# project and package versions (#1445)
Browse files Browse the repository at this point in the history
* Update fsharp packages

* Add link

* Update template.json
  • Loading branch information
liliankasem authored Sep 5, 2023
1 parent aa21e49 commit 2088c3e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
open Microsoft.Extensions.Hosting
open Microsoft.Azure.Functions.Worker

[<EntryPoint>]
let main args =
Expand All @@ -7,5 +8,13 @@ let main args =
.ConfigureFunctionsWorkerDefaults()
.Build()

// If using the Cosmos, Blob or Tables extension, you will need configure the extensions manually using the extension methods below.
// Learn more about this here: https://go.microsoft.com/fwlink/?linkid=2245587
// ConfigureFunctionsWorkerDefaults(fun (context: HostBuilderContext) (appBuilder: IFunctionsWorkerApplicationBuilder) ->
// appBuilder.ConfigureCosmosDBExtension() |> ignore
// appBuilder.ConfigureBlobStorageExtension() |> ignore
// appBuilder.ConfigureTablesExtension() |> ignore
// ) |> ignore

host.Run()
0
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"args": {
"referenceType": "package",
"reference": "Microsoft.Azure.Functions.Worker.Extensions.Storage.Blobs",
"version": "6.0.0",
"version": "6.2.0",
"projectFileExtensions": ".fsproj"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"type": "parameter",
"defaultValue": "collectionName",
"replaces": "CollectionValue"
}
}
},
"primaryOutputs": [
{
Expand All @@ -51,7 +51,8 @@
"ManualInstructions": [],
"args": {
"referenceType": "package",
"reference": "Microsoft.Azure.Functions.Worker.Extensions.CosmosDB", "version": "4.3.0",
"reference": "Microsoft.Azure.Functions.Worker.Extensions.CosmosDB",
"version": "4.4.2",
"projectFileExtensions": ".fsproj"
}
},
Expand All @@ -72,4 +73,4 @@
"continueOnError": true
}
]
}
}

0 comments on commit 2088c3e

Please sign in to comment.