https://github.com/anibulus/azure.function.net
Azure Function allows to trigger actions in many ways and this project is a sample in .Net 6/8
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Keywords
Repository
Azure Function allows to trigger actions in many ways and this project is a sample in .Net 6/8
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Sample Azure Function
Setup
The simple way
To create the solution you first need to install this template
bash
dotnet new install Microsoft.Azure.Functions.Templates
And now you can use create a new project with cli
bash
dotnet new func
The hard way
This way allows to create more complex functions with a kit of azure.
To excecute Azure Function Core Tools, for my case I had to download Azure function core tools
If you want to add it to path, use commands bellow:
bash
sudo mv azure-functions-cli /usr/azure/functions-cli
bash
sudo nano ~/.bashrc
Then type the path of your tool kit
bash
export PATH="$PATH:/usr/azure-functions-cli"
Then run the coniguration
bash
source ~/.bashrc
Check func is added to PATH
bash
which func
Create a project
Now you can use this commands to create your own Azure Function Project
Create a project with default config:
bash
func init MiNuevoProyecto --dotnet
Create a new project with target framework:
bash
func init LocalFunctionProj --worker-runtime dotnet-isolated --target-framework net8.0
Create functions
func new
bash
func new --name MyHttpFunction --template "HttpTrigger"
The types you can create are:
- HttpTrigger
- BlobTrigger
- QueueTrigger
- TimerTrigger
- EventGridTrigger
- EventHubTrigger
- CosmosDBTrigger
- ServiceBusQueueTrigger
- ServiceBusTopicTrigger
- DurableFunctionsActivity
- DurableFunctionsOrchestrator
- DurableFunctionsEntity
- IoTHubTrigger
- SignalRTrigger
Also you can use func new to have a console wizzard
Run Azure fucnton
To run locally, use:
bash
func start
Owner
- Name: Luis Preza
- Login: Anibulus
- Kind: user
- Location: Jal. México
- Website: https://anibulus.site?q=g
- Twitter: Anibulus
- Repositories: 4
- Profile: https://github.com/Anibulus
Backend developer / Game developer
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Microsoft.NET.Sdk.Functions 4.4.0