DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   
Stats
Total Count : 64
Snippets Submit Snippet  
 
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: 3537 | Comments: 0 | Tags:azure  azure app settings  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: 3359 | Comments: 0 | Tags:azure  azure cli  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: 7891 | Comments: 0 | Tags:azure  azure cli  azure functions 
List Azure physical locations, display names and regional names in the current subscription
Ashok Nalam
In order to see the list of supported Azure regions for your current subscription you can use “az account list-locations” command from https://shell.azure.com. The command shows displayName, geographyGroup, pairedRegion, physicalLocation, name, regionalDisplayName and subscriptionId.
By: Ashok Nalam | 18 Aug 2020 | Microsoft Azure | Views: 3529 | Comments: 0 | Tags:azure  azure cli  azure shell 
Reverse array without using in-built function in C#.NET
Ashok Nalam
In this snippet we will write a program which reverses an array with out using any in-built C#.NET function. Basically it shifts all elements from an array from left side to right side.
By: Ashok Nalam | 20 Dec 2019 | C# | Views: 3845 | Comments: 0 | Tags:array  C#  reverse  sorting 
Resolve "Redundant Hostnames" issue using ASP.NET
Ashok Nalam
This snippet show how to resolve "Redundant Hostnames" issue using ASP.NET.
By: Ashok Nalam | 19 Sep 2015 | ASP.NET | Views: 6246 | Comments: 0 | Tags:ASP.NET  error  global.asax 
C#.NET Program to read a 4-digit integer and output the sum of its digits
Ashok Nalam
In this snippet we will write C#.NET program to read a four digit integer and output the sum of its digits. Example: If user enters number as 1234 then the output will be 1+2+3+4=9.
By: Ashok Nalam | 16 Mar 2015 | C# | Views: 19925 | Comments: 0 | Tags:.NET  number 
C#.NET string palindrome program without using string functions
Ashok Nalam
In this snippet we will write a program to check whether the given string is palindrome string or not with out using any built-in string function.
By: Ashok Nalam | 15 Mar 2015 | C# | Views: 13158 | Comments: 0 | Tags:.NET  palindrome  string 
Programatically save an image/resource from a Web URL using C# and VB.NET
Ashok Nalam
The snippet shows how to copy image from web URL to local machine using WebClient.DownloadFile method with C# and VB.NET examples.
By: Ashok Nalam | 17 Apr 2014 | C# | Views: 65670 | Comments: 0 | Tags:.NET  ASP.NET  C#  VB.NET 
Program to remove duplicate values from a generic list using C# and VB.NET
Ashok Nalam
This snippet shows how to remove duplicate values from a generic list.
By: Ashok Nalam | 14 Apr 2014 | LINQ | Views: 9441 | Comments: 0 | Tags:C#  enumerable  generics  linq  list  VB.NET 
1234567