FunctionalIT.AzureFunction
0.0.3
dotnet new install FunctionalIT.AzureFunction::0.0.3
This package contains a .NET Template Package you can call from the shell/command line.
FIT F# Azure Function Template
An opinionated F# Azure Function template.
Features
It comes with a HTTP-Trigger function ootb.
Configuration
- global.json pinned to .NET 8
- VS Code settings to hide inlay hints by default
- .gitignore with common F# settings
- src/FIT.AzureFunc folder structure
Pre-installed dotnet tools
- Fantomas v6 pre-configured with
.editorconfig
- Paket v8 with the following dependencies:
- FSharp.Core
- FSToolkit.ErrorHandling
To execute the template
dotnet new fit-azurefunction -o MyAzureFunc
will give you a folder structure as follows:
.config
dotnet-tools.json
.paket
Paket.Restore.targets
.vscode
settings.json
src
FIT.AzureFunc
FIT.AzureFunc.fsproj
paket.references
function.json
host.json
local.settings.json
Greet.fs
Program.fs
Readme.md
FIT.AzureFunction.sln
.editorconfig
.gitignore
global.json
paket.dependencies
paket.lock
You can then run the function from within the folder as follows:
# install and run azurite in separate folder and bash
azurite
dotnet tool restore
cd src/FIT.AzureFunc
func start
# or use visual studio, visual studio code or Rider
Adding a package
cd src/FIT.AzureFunc
dotnet paket add <package name>
Removing a package
cd src/FIT.AzureFunc
dotnet paket remove <package name>
Safely updating all dependencies
dotnet paket update --keep-major
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.3 | 1,424 | 2/6/2024 |
v.0.0.1
- Initial Release