DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   
Stats
Total Count : 25
Resources Publish New Article  
 
Rename Azure App Service Plan(ASP) in Azure Portal
Ashok Nalam
By: Ashok Nalam | 20 Aug 2020 | Microsoft Azure | Views: 11015 | Comments: 0 | Tags:azure  azure app service  azure functions  azure portal  rename 
Azure functions move or change to new resource group using Azure portal
Ashok Nalam
By: Ashok Nalam | 24 Aug 2020 | Microsoft Azure | Views: 4422 | Comments: 0 | Tags:azure  azure app service  azure functions  azure portal 
What is the default return value of HTTP triggered Azure function
Ashok Nalam

In Azure functions, HTTP triggers lets you invoke a function with an HTTP request and default HTTP response code Azure HTTP triggered functions are
  1. HTTP 204 No Content with empty body from version 2.x and higher
  2. HTTP 200 OK with an empty body from version 1.x
By: Ashok Nalam | 27 Aug 2020 | Microsoft Azure | Views: 3647 | Comments: 0 | Tags:azure functions 
Find app service hosting plan of your existing azure function app
Ashok Nalam
By: Ashok Nalam | 29 Aug 2020 | Microsoft Azure | Views: 8009 | Comments: 0 | Tags:azure  azure cli  azure functions  azure portal  azure shell 
How to change subscription for your Azure Function App
Ashok Nalam
By: Ashok Nalam | 01 Sep 2020 | Microsoft Azure | Views: 6982 | Comments: 0 | Tags:azure  azure functions  azure portal 
What is Azure functions template
Ashok Nalam
While creating Azure Functions with Visual Studio and visual studio code, IDE provides different project templates which are used to create function triggers which can be deployed to Azure Function App. Below are the different function templates available in Visual Studio
  1. Blob Trigger - Creates a function trigger when a blob is added to a container
  2. Cosmos DB  Trigger - Creates a function trigger when a document change in document collection
  3. Event Grid Trigger - Creates a function trigger when an event grid receives a new event
  4. Event Hub Trigger -  Creates a function trigger when an event hub receive a new event
  5. HTTP Trigger -  Creates function triggered by HTTP Request
  6. IoT Hub Trigger -  Creates a function trigger when an IoT hub receives a new event on the event hub endpoint
  7. Queue Trigger - Creates a function trigger when a message is added to specified azure storage
  8. Service Bus Queue Trigger - Creates a function trigger when a message is added to specified service bus queue
  9. Service Bus Topic Trigger - Creates a function trigger  when a message is added to specified service bus topic
  10. Timer Trigger - Creates a function trigger on a specified schedule
By: Ashok Nalam | 02 Sep 2020 | Microsoft Azure | Views: 8795 | Comments: 0 | Tags:azure  azure functions 
Add Application Insights to existing Azure Function App from Azure Portal
Ashok Nalam
By: Ashok Nalam | 07 Sep 2020 | Microsoft Azure | Views: 4866 | Comments: 0 | Tags:App settings  azure  azure functions  azure portal 
Create Azure Function App using Visual Studio - step by step guide
Ashok Nalam
In this post we will see step by step guide on how to create azure function using Visual Studio, How to Run the function app locally in visual studio and How to deploy the function app to azure from visual studio IDE.
By: Ashok Nalam | 08 Sep 2020 | Microsoft Azure | Views: 5965 | Comments: 0 | Tags:azure  azure functions 
Create Azure Function App using Azure CLI command(az functionapp create)
Ashok Nalam
We can create Azure function apps using code, Azure Portal or Azure CLI. In this post, we will see how to create an Azure function App using Azure CLI commands(az functionapp create).
By: Ashok Nalam | 10 Sep 2020 | Microsoft Azure | Views: 9682 | Comments: 0 | Tags:azure  azure cli  azure functions 
What is Azure Functions Runtime?
Ashok Nalam
Azure Function Runtime is a specific version runtime where your Function App runs on top of it. Currently Azure function supports 3 versions of runtime host
  • 1.x - Supports .NET Framework
  • 2.x - Supports .NET Core2.1
  • 3.x - supports .NET Core3.1
All 3 versions are supported for your production workloads. By default, Function Apps are created in 3.x version runtime. If you are using C# language to develop Azure functions and visual studio gives below options as function runtime while creating Function App
  1. Azure Functions V3(.NET Core) 
  2. Azure Functions V2(.NET Core) 
  3. Azure Functions V1(.NET Framework)
In order to find the function version number in your project, refer .csproj file.

1.x version setting in .csproj file

<TargetFramework>net461</TargetFramework>
<AzureFunctionsVersion>v1</AzureFunctionsVersion>

2.x version setting in .csproj file

<TargetFramework>netcoreapp2.1</TargetFramework>
<AzureFunctionsVersion>v2</AzureFunctionsVersion>

3.x version setting in .csproj file

<TargetFramework>netcoreapp2.1</TargetFramework>
<AzureFunctionsVersion>v2</AzureFunctionsVersion>
We are just referring C# as language, for other languages refer Azure Functions documentation.
By: Ashok Nalam | 11 Sep 2020 | Microsoft Azure | Views: 4514 | Comments: 0 | Tags:azure  azure functions 
What is Azure Functions Premium plan?
Ashok Nalam
Once the Azure functions are developed and deployed to azure, then you pay per use pricing model. Azure function has below hosting plans
  1. Dedicated app service plan
  2. Consumption plan
  3. Premium plan (called as elastic premium plan)
Azure functions Premium plan is a higher plan compared to other 2 plans. It contains following features
  • VNET Integration- To add more security to your app, you can configure a VNET and add your function app. With this, your function app is secured with service endpoints. VNET integration is not available in other plans.
  • Pre-warmed instances to avoid cold start - In consumption plan, if there are no execution/calls to your function app it scales in to Zero instances. Once it goes to zero instances, if we make any function call, it takes some time(called as cold start time) to respond to the first call (from zero to one). This latency can be avoided in Premium plan with pre-warmed instances.
  • Unlimited execution duration - Consumption plan has a 10 minutes limit whereas Premium plan defaults to 30 minutes but you can modify it to unlimited(60 minutes guaranteed). Use functiontTimeout property in host.json file to change the configuration.
  • Premium hardware - Provides best cores(1, 2 and 4), memory and storage.
  • Multiple function apps can be deployed to the same plan and all function apps in premium plan shares pre-warmed active instances.
  • Automatic Scaling - Like consumption plan, your app will scale in or scale out based on the need.
Note: Premium plan is charged based on the number of  core seconds, memory used and configured pre-warmed instances.
By: Ashok Nalam | 12 Sep 2020 | Microsoft Azure | Views: 9189 | Comments: 0 | Tags:azure  azure app service  azure functions 
How do I deploy a function app in Azure?
Ashok Nalam
Once the Azure functions are developed and there are different ways you can deploy your app to Azure. The different deployment methods are
  1. Tool based deployments - deployments are managed locally. Useful when you are doing local development and requires multiple ad-hoc deployments manually.
    • Visual Studio Code publish
    • Visual Studio publish
    • Core tools deployments (using Zip deploy or docker container)
  2. App Service Deployment - deployments are managed from the Azure App Service under Deployment section. Useful when you want to deploy as part of source control commits or from a container registry.
    • Deployment center - Continuous deployment using Azure Repos, GitHub, Bitbucket and Local Git or Manual deployment using One drive, Dropbox, External Git and FTP.
    • Container deployments
  3. External Pipelines - deployment are managed by pipelines. Useful for Production scenarios where you want to do some additional validations as part CI/CD.
By: Ashok Nalam | 13 Sep 2020 | Microsoft Azure | Views: 4294 | Comments: 0 | Tags:azure  azure app service  azure functions 
Create Azure Function App in Premium plan using Azure CLI
Ashok Nalam
In this post, we will see how to create an Azure function App using Azure CLI commands(az functionapp create) in elastic premium plan EP1, EP2 and EP3.
By: Ashok Nalam | 14 Sep 2020 | Microsoft Azure | Views: 5292 | Comments: 0 | Tags:azure  azure cli  azure functions 
Read application settings in Azure Functions (.NET Core)
Ashok Nalam
We define configuration based key values in application settings files. In Azure functions, you can define your settings in local.settings.json file. In this snippet, we will see how to read the settings.
By: Ashok Nalam | 16 Sep 2020 | Microsoft Azure | Views: 9178 | Comments: 0 | Tags:azure  azure app settings  azure functions 
How to disable Azure Functions App home page
Ashok Nalam
By: Ashok Nalam | 17 Sep 2020 | Microsoft Azure | Views: 6162 | Comments: 2 | Tags:azure  azure app settings  azure functions 
How to add or update App settings in Azure functions from portal
Ashok Nalam
In this article, we will see how to add/edit/delete/filter application settings in Function App from Azure portal. Also we will look at bulk editing of application settings using Advanced edit option.
By: Ashok Nalam | 18 Sep 2020 | Microsoft Azure | Views: 6291 | Comments: 0 | Tags:azure  azure app service  azure app settings  azure functions 
Configure Azure Active Directory(AAD) login on your Function App with App Service Authentication
Ashok Nalam
In this article we will see how to configure Azure Active directory authentication provider on your Azure Function app.
By: Ashok Nalam | 19 Sep 2020 | Microsoft Azure | Views: 5087 | Comments: 0 | Tags:azure  azure active directory  azure app service  azure functions 
Configure Twitter login on your Azure Function App with App Service Authentication
Ashok Nalam
In this article we will see how to configure Twitter authentication provider on your Azure Function app.
By: Ashok Nalam | 20 Sep 2020 | Microsoft Azure | Views: 5372 | Comments: 2 | Tags:azure  azure app service  azure functions  twitter 
What is Azure Functions runtime version settings and daily usage quota(GB-Sec)
Ashok Nalam
By: Ashok Nalam | 23 Sep 2020 | Microsoft Azure | Views: 6697 | Comments: 2 | Tags:azure  azure functions  azure portal 
What are the features of Azure functions?
Ashok Nalam

Below are few features of Azure functions
  1. Serverless -  Focus more on building your apps faster to add business value without managing infrastructure.
  2. Language of your choice - Develop your function code using C#, Java, JavaScript, Powershell and Python languages of your choice
  3. Custom development  - Bring your own dependencies using  Nuget and NPM to extend your application logic.
  4. Continuous Integration and Deployment - Set up your function code with continuous integration and deployment using GitHub, Azure DevOps, bitbucket and other CI/CD processes.
  5. Built-in Security - Protect your functions with SSL Bindings, VNet integration and OAuth providers. You can authenticate users with the OAuth standard from providers such as Active Directory, Facebook, Twitter, Google, and Microsoft Account
  6. Scale on demand - Automatically scale out whenever there is a need  by adding compute power and scale in when the code is stopped running
  7. Optimized Pricing - Pay only when your app runs.
  8. Performance and Monitoring - Easily configure Azure App Insight to your App for monitoring and analyzing the app performance
  9. Connect to Other Services - Use triggers and bindings that enable your serverless applications to respond to events and connect to other services seamlessly
  10. Choice of hosting plan - Based on your need, you can opt for Consumption, Premium or App Service Plan
By: Ashok Nalam | 24 Sep 2020 | Microsoft Azure | Views: 4615 | Comments: 2 | Tags:azure  azure functions 
12