AzureFunctionsIntroduction
This is Sample project for Azure Functions. May this repository help you understand Azure Functions better.
Recommend Azure Functions settings for stability
Description | Screenshot |
---|---|
Concider to select Dynamic Service Plan if possible. This will bring you best cost efficiency and scalability |
|
Keep your Azure Functions Runtime version up-to-date. Expecially higher than 0.5 is neccesary. You can apply just in a seconds. Release note will be here. |
|
Keep Function App Platform 32bit (don't change to 64bit) | |
Add Dynamic Memory from default 128MB to 256MB or higher as your app needed. Do not run out memory! | |
Make sure your functions in AppService will be less than 1536MB. This is limiation of Dynamic Service Plan. In case you exceed 1536MB, use App Service Plan. |
|
Stop nesting multiple Azure Functions, use #load "<YourCoolLogic.csx>" to load shared code. This is efficient and speedier way to call functions. |
What you can know
This sample include following.
FunctionName | Language | Description |
---|---|---|
AppSettingsWebhookCSharp | C# | Reference Application Settings > App Setting of Web Apps Sample code. |
CSharpCompilerSlackOuthookCSharp | C# | Slack Interactive C# Code Roslyn Evaluation Sample. (@C#: Enumerable.Range(10, 20).Aggregate((x, y) => x + y) ) |
CSharpCompilerWebhookCSharp | C# | Generic Webhook C# Code Roslyn Evaluation Sample. |
DotNetFrameworkVersionResponseCSharp | C# | Retrurn .NET Framework Friendly Name by passing .NET Framework Release Registry Value. |
ExternalCsxWebhookCSharp | C# | Reference external .csx usage Sample code. |
GenericWebhookCSharpExtensionMethod | C# | Extension Method usage Sample code. |
GithubWebhookCSharp | C# | Github Webhook Sample code. |
LineBotWebhookCSharp | C# | Line Bot Webhook Sample code with Emergency Evacuation info with sent info. |
SSLCertificateExpireCheck | C# | SSL Certificate Checker. Often introduce in AWS Lambda but you can do with C# + AzureFucntions, too! |
VSTSWebhookCSharp | C# | Visual Studio Team Service (VSTS) Webhook Sample code. |
WebhookCSharpGithubOctokit | C# | NuGet package reference sample for Octokit. |
WebhookCSharpSendToChatWork | C# | Chatwork Notification Sample code. |
WebhookCSharpSendToSlack | C# | Slack Notification Sample code. |
GitHub Integration Sample
You may find this repository structure is fit with Azure Functions CI by Github.
This repogitory Sync with Azure Functions by GitHub Integration.
Reference
http://tech.guitarrapc.com/archive/category/AzureFunctions