about-azure.com
391 FOLLOWERS
Follow to get updates on Azure development and deployment
about-azure.com
2y ago
If you try to create an Azure Web App using the Azure CLI and specify a runtime using the --runtime argument, you might receive an error message like below:
‘6.0’ is not recognized as an internal or external command,
operable program or batch file.
Your error message might differ slightly depending on which runtime version you specified. You can list all available values using the az webapp list-runtimes command:
[
"aspnet|V4.8",
"aspnet|V3.5",
"DOTNETCORE|2.1",
"DOTNETCORE|3.1",
"DOTNET|5.0",
"DOTNET|6.0",
"node|10.6",
"node|10.10",
"node|10.14",
"node|12-lts",
"node|1 ..read more
about-azure.com
2y ago
There are already many articles about deploying an Angular application to Azure Web App out there. However, many of them are outdated, no longer work or refer to a single runtime environment. Therefore, I decided to write an article that covers several environments and provides an easy-to-understand example.
In this article we will:
Create an Angular 12 demo application
Provision an Azure Web App using the Azure CLI
Use Visual Studio Code to deploy the web app to Azure
Prerequisites
Visual Studio Code
Azure App Service Visual Studio Code Extension
Azure CLI
Angular CLI
Scaffold an Angular ..read more
about-azure.com
2y ago
From a security perspective, organizations want to minimize the number of people who have access to secure information or resources. With Privileged Identity Management (PIM), you can give users just-in-time privileged access to Azure and Azure AD resources. Furthermore, you can assign time-bound access to resources using start and end dates and enforce an approval to activate privileged roles.
At the time of writing, PIM works very well with the Azure Portal. Unfortunately, there is no documentation / complete sample on how to approve or deny PIM requests programmatically.
This article will s ..read more
about-azure.com
3y ago
Azure Functions allows you to inject an instance of the DocumentClient class to perform, read or write operations on your CosmosDB. This concept is known as input binding and there are multiple bindings available for various Azure resources (See Azure Functions triggers and bindings concepts). Unfortunately, there is no input binding for the new CosmosClient class that is part of the .NET SDK v3.
In this article, you will learn how you can use the new CosmosClient within your Azure Functions to leverage the Azure Cosmos DB .NET SDK v3.
Prerequisites
Azure Subscription
Azure ComosDB account
Az ..read more
about-azure.com
3y ago
Azure API Management (APIM) is a service that allows you to create modern API gateways for existing back-end services. In addition, it also comes with a Developer portal that serves as the main web presence for developers working with your APIs where they can invoke your endpoints and read your API documentation.
This article shows how to programmatically invite developers to your Azure API Management instance using PowerShell and the APIM REST API.
Note: If you want to create new users with a predefined password, you can use the New-AzApiManagementUser cmdlet instead of dealing with REST call ..read more
about-azure.com
4y ago
In my previous post, I showed you how to connect a GitHub Action workflow to your Azure Subscription using the Azure login (azure/login) action. This article will show you how to deploy Azure Resource Manager (ARM) templates using GitHub Actions.
Our demo will implement the Azure infrastructure deployment of the whiteducksoftware/sample-mvc application using a GitHub Action workflow. The demo application is based on .NET Core 3.1 and runs on an Azure Web App. Here is how the website looks like:
Adding the ARM Template
The whiteducksoftware/sample-mvc application requires the following two Azur ..read more
about-azure.com
4y ago
The Azure Functions Runtime exposes a management API that enables users to programmatically add, delete, or update function keys. In this article, I will show you how to use this API to manage Azure Functions Keys using PowerShell.
Authorization keys
With Azure Functions, you can use keys to prevent anonymous users to access your HTTP endpoints. The Requests then must include an API key (either a function or host key) which can be included in two ways:
Providing the key
Using an URL query string named code
https://<FUNCTION_APP_NAME>.azurewebsites.net/api/<FUNCTION_ ..read more
about-azure.com
4y ago
A few days ago I talked about the most important Azure 2019 (GA) announcement from a developer perspective. My main resource to gather all important Azure product updates, roadmap and announcements from the last year was the official Azure updates page.
Unfortunately, the page doesn't reveal the count of the announcements in 2019 so I wrote a little PowerShell script to figure that out:
$announcements = for($i=1; $i -le 12; $i++) {
$month = "{0:d2}" -f $i
for($n=1; $n -le 100; $n++) {
$result = Invoke-RestMethod -Method Get -Uri ('https://azure.microsoft.com/en-us/u ..read more
about-azure.com
4y ago
Microsoft announced the general availability (GA) of GitHub Action on November 13, 2019. GitHub Actions enables you to create Software Development Life Cycle (SDLC) workflows like continuous integration (CI) or continuous delivery (CD) . A workflow is defined by a YAML (.yml) file that is located inside the.github/workflows directory in your repository.
This article shows you how to connect a GitHub Action workflow to your Azure subscription using the Azure login (azure/login) action in order to manage your Azure resources using the Azure CLI or other GitHub Actions for Azure.
Depending on whi ..read more
about-azure.com
4y ago
Reason to use Azure Functions 3.0
The Azure Functions 3.0 go-live release is available since December 09, 2019. A major benefit of this release is that you can write Azure Functions targeting .NET Core 3.1. Why is this important?
Every Microsoft product has a lifecycle which begins when a product is released and ends when it’s no longer supported. The same is true for .NET Core. Right now, there are only two .NET Core versions with Long Term Support (LTS) available:
Version
Original Release Date
End of Support
Support Level
.NET Core 3.1
December 3, 2019
TBD
LTS
.NET Core 3.0
September 23, 201 ..read more