azure

Compiling Azure Function v1 (.NET Framework) gives FileNotFoundException for Microsoft.Azure.WebJobs

情到浓时终转凉″ 提交于 2021-02-11 09:40:01
问题 I have an Azure Functions v1 project (ala .NET Framework) in Visual Studio 2017. It would build / compile just fine for a long time, now it's giving the following FileNotFoundException complaining it can't find 'Microsoft.Azure.WebJobs' v2.2. The thing it this project was building just fine, then all of a sudden this error is occurring. In the past I would close Visual Studio, then reopen it and the build would work. Or even if you Clean the solution, the build would then work. The problem is

Using Azure B2C with MVC, .NET Core 3.1

馋奶兔 提交于 2021-02-11 09:10:19
问题 Could anyone provide some insight or new links on using Azure B2C with MVC, .NET Core 3.1. Most examples are based on Core 2.2 https://docs.microsoft.com/en-us/samples/azure-samples/active-directory-b2c-dotnetcore-webapp/an-aspnet-core-web-app-with-azure-ad-b2c/ However, it seems more than a few things are done differently with 3.1. The error I encounter in 2.2 is: System.ArgumentNullException: Value cannot be null. (Parameter 'uriString') at System.Uri..ctor(String uriString) at Microsoft

Using Azure B2C with MVC, .NET Core 3.1

岁酱吖の 提交于 2021-02-11 09:07:42
问题 Could anyone provide some insight or new links on using Azure B2C with MVC, .NET Core 3.1. Most examples are based on Core 2.2 https://docs.microsoft.com/en-us/samples/azure-samples/active-directory-b2c-dotnetcore-webapp/an-aspnet-core-web-app-with-azure-ad-b2c/ However, it seems more than a few things are done differently with 3.1. The error I encounter in 2.2 is: System.ArgumentNullException: Value cannot be null. (Parameter 'uriString') at System.Uri..ctor(String uriString) at Microsoft

Using Azure B2C with MVC, .NET Core 3.1

試著忘記壹切 提交于 2021-02-11 09:06:28
问题 Could anyone provide some insight or new links on using Azure B2C with MVC, .NET Core 3.1. Most examples are based on Core 2.2 https://docs.microsoft.com/en-us/samples/azure-samples/active-directory-b2c-dotnetcore-webapp/an-aspnet-core-web-app-with-azure-ad-b2c/ However, it seems more than a few things are done differently with 3.1. The error I encounter in 2.2 is: System.ArgumentNullException: Value cannot be null. (Parameter 'uriString') at System.Uri..ctor(String uriString) at Microsoft

How can I share a directory between Azure App Service slots?

我是研究僧i 提交于 2021-02-11 08:51:41
问题 I have an Azure App Service with two slots. Is it possible to have these slots share a directory via Path Mappings or something along those lines? 回答1: As far as I know it's not possible. You should use Azure Storage for it. 来源: https://stackoverflow.com/questions/59583863/how-can-i-share-a-directory-between-azure-app-service-slots

Is it possible to see the restart history of an Azure App Service?

倾然丶 夕夏残阳落幕 提交于 2021-02-11 08:48:26
问题 Is it possible to see the restart history of an Azure App Service? I mean to see it in the GUI, not an API. 回答1: Yes, you can see it from Activity log in azure portal. Screenshot as below: 来源: https://stackoverflow.com/questions/59678953/is-it-possible-to-see-the-restart-history-of-an-azure-app-service

Can one use Docker Trusted Registry with Azure Kubernetes Service?

我只是一个虾纸丫 提交于 2021-02-11 08:08:10
问题 Does anyone know if you can use Docker Trusted Registry (DTR) with Azure Kubernetes Service (AKS)? Or is one required to use Azure Container Registry (ACR)? Thank you! Michael 回答1: It has always been possible to use registries beyond ACR with an AKS cluster if access and credentials are provided. You can read more details from here 来源: https://stackoverflow.com/questions/63267596/can-one-use-docker-trusted-registry-with-azure-kubernetes-service

How to pass an Azure pipeline variable to an ARM template used by AzureResourceManagerTemplateDeployment@3 task?

旧城冷巷雨未停 提交于 2021-02-11 08:08:03
问题 I am trying to perform the following 2 steps in my Azure pipeline scheduled for every night: Put a self-signed cert into a keyvault Deploy Service Fabric cluster via ARM template and use the cert thumbprint and secret id as params. The first step of creating the certificate in the keyvault works well for me: # import the self-signed certificate ccg-self-signed-cert into the Keyvault - task: AzurePowerShell@5 inputs: azureSubscription: '${{ parameters.ArmConnection }}' ScriptType:

Can one use Docker Trusted Registry with Azure Kubernetes Service?

只愿长相守 提交于 2021-02-11 08:07:56
问题 Does anyone know if you can use Docker Trusted Registry (DTR) with Azure Kubernetes Service (AKS)? Or is one required to use Azure Container Registry (ACR)? Thank you! Michael 回答1: It has always been possible to use registries beyond ACR with an AKS cluster if access and credentials are provided. You can read more details from here 来源: https://stackoverflow.com/questions/63267596/can-one-use-docker-trusted-registry-with-azure-kubernetes-service

Angular app running on azure app service not receive .AspNetCore.Antiforgery cookie sent by .net core web api app on azure

荒凉一梦 提交于 2021-02-11 08:00:36
问题 I have angular 5 app and .net core 2.0 web api app hosted on azure as app services. Apps have two urls as below. angularclient.azurewebsites.net serviceapi.azurewebsites.net The issue I am facing is angular app not receiving .AspNetCore.Antiforgery cookie that is sent by serviceapi. Http post request generated by angular app has "withCredentials: true" header. I have defined cors policy in service API as below. app.UseCors(builder => builder.WithOrigins("angularclient.azurewebsites.net")