Tag: Azure

  • Using Azure.Storage.Queues NuGet package

    Using Azure.Storage.Queues NuGet package

    Summary This post contains the results of my trial of Azure.Storage.Queue v12. It’s just a note. NuGet Gallery | Azure.Storage.Queues 12.9.0 Prerequisites Windows 10 v21H2 Visual Studio 2022 v17.1.1 .NET 6 Azure.Storage.Queues v12.9.0 Usage Install NuGet package Source code Result References Quickstart: Azure Queue Storage client library v12 – .NET | Microsoft Docs NuGet Gallery…

  • Scheduled shutdown of Azure Virtual Machine

    Scheduled shutdown of Azure Virtual Machine

    Summary I want to shutdown a virtual machine at a certain time. Steps Click Auto-shutdown. Click On in Enabled field. Enter time and time zone. References I couldn’t find Auto-shutdown in MS docs.

  • Using HttpClient on Azure Functions

    Summary HttpClient use a socket-line resource of your server. So, you don’t make many HttpClient instance. If you can share instance for HttpClient. It’s the same also Azure Functions. Prerequisites .NET Core v3.1 Azure Functions v3 Microsoft.NET.Sdk.Functions v3.0.3 Microsoft.Azure.Functions.Extensions v1.1.0 Microsoft.Extension.Http v3.1.20 Visual Studio for Mac v8.10 Azure Functions Core Tools v3.0.3873 C# v8 macOS…

  • Process ID of Azure Functions

    Process ID of Azure Functions

    Summary The log of Application Insights contains information that seems to like a process ID of an Azure Functions instance, but that’s an Azure Functions process ID, isn’t it? Prerequisites Azure Functions v3 Steps Click Advanced Tools in Azure Portal. Click Process Explorer in Kudu page. A w3mp.exe is your hosting Azure Functions’s process id.…

  • No longer supported Azure Functions Proxies on Azure Functions v4.x

    Summary Currently, the mainstream of Azure Functions is v3. The next major version is v4 and its status is public preview. Related news is as follows: Azure Functions runtime 4.0 is now in public preview | Azure updates | Microsoft Azure Announcing Azure Functions 4.0 public preview with .NET 6 support – Microsoft Tech Community…

  • Override an application settings within host.json of Azure Functions on your local computer

    Override an application settings within host.json of Azure Functions on your local computer

    How to override application settings of Azure Functions on my local computer?

  • Set a secret within Azure KeyVault to App settings of Azure Functions

    Set a secret within Azure KeyVault to App settings of Azure Functions

    Summary How to set Azure KeyVault’s secret to application setting of Azure Functions? Steps In first, turn on managed id. So, click Identityin your Azure Functions instance. Toggle Status. Next, open your Azure KeyVault instance. Click Access policies menu. Click Add Access Policy link. Select Secret Management in Configure from template (optional)field. Control permissions in…

  • Adding a secret value to Azure KeyVault

    Adding a secret value to Azure KeyVault

    Summary How to manage secrets on Azure?Azure provides a secret store feature called Azure KeyVault. Steps If you don’t have an Azure KeyVault instance, create a it before you begin.Tutorial is here: Quickstart – Create an Azure Key Vault with the Azure portal | Microsoft Docs Click Secretsin your Azure KeyVault instance at Azure Portal.…

  • Using the FunctionsStartup with Azure Functions

    Using the FunctionsStartup with Azure Functions

    How to use the App startup on Azure Functions? The FunctionsStartup is App startup on Azure Functions.

  • Using the System.Text.Json.JsonSerializer with Azure Functions

    Summary What is System.Text.Json.JsonSerializerclass? I’ve been using JSON.NET by Newtonsoft in .NET Framework v4, but I’m not familiar with the above class.So, I try to use System.Text.Json.JsonSerializer class. Prerequisites Azure Functions v3 Microsoft.NET.Sdk.Functions v3.0.13 netcoreapp3.1 C# 8 .NET Core v3.1 Visual Studio 2019 Windows 10 v21H1 Steps A simply usage of System.Text.Json is as follows:…