azure

Botfront webchat widget not showing at Azure environment

点点圈 提交于 2021-02-10 19:54:30
问题 I'm running Rasa chatbot in container and apache2 in normal environment. When I open web page where chatbot is running there is no chatbot widget. When I run same configuration in my Virtual box environment, with Ubuntu 18.04 desktop , it works. it only shows this, no error messages // you can add a version tag if you need, e.g for version 0.11.5 https://cdn.jsdelivr.net/npm/rasa-webchat@0.11.5/lib/index.min.js Some information below: paulii@vetbot:~/rasaProd/rasaAsPa$ sudo netstat -plnt

Unable to load static file once it has been published to Azure, using ASP.NET Core 2.1

二次信任 提交于 2021-02-10 18:56:12
问题 Using ASP.NET Core 2.1 , I'm trying to load the same static file locally on my dev machine (through Visual Studio 2017) and after the website has been published to the hosting environment (Azure Web Apps). Consider the directory hierarchy in which the static file ( file.xml ) to be served resides inside the web root: wwwroot css images js xml file.xml Here's my controller to load the file: public class DevelopmentController : Controller { private readonly IHostingEnvironment _env; public

Is there a way to have an Azure Function App created from multiple .NET projects and have all of the Functions from all of them?

房东的猫 提交于 2021-02-10 18:55:58
问题 We have an Azure Function App that has multiple Functions, and was created using .NET project (Name: Project1). We want to add a new Azure function from a different .NET project (Name: Project2) to the existing Azure Function App without overwriting the existing functions that were deployed from Project1. Currently when we deploy Azure Function from Project2 the functions from Project1 gets removed, the Function App contains only the Project2 functions. We deploy the function using the Azure

Unable to load static file once it has been published to Azure, using ASP.NET Core 2.1

风格不统一 提交于 2021-02-10 18:55:55
问题 Using ASP.NET Core 2.1 , I'm trying to load the same static file locally on my dev machine (through Visual Studio 2017) and after the website has been published to the hosting environment (Azure Web Apps). Consider the directory hierarchy in which the static file ( file.xml ) to be served resides inside the web root: wwwroot css images js xml file.xml Here's my controller to load the file: public class DevelopmentController : Controller { private readonly IHostingEnvironment _env; public

Is there a way to have an Azure Function App created from multiple .NET projects and have all of the Functions from all of them?

▼魔方 西西 提交于 2021-02-10 18:54:30
问题 We have an Azure Function App that has multiple Functions, and was created using .NET project (Name: Project1). We want to add a new Azure function from a different .NET project (Name: Project2) to the existing Azure Function App without overwriting the existing functions that were deployed from Project1. Currently when we deploy Azure Function from Project2 the functions from Project1 gets removed, the Function App contains only the Project2 functions. We deploy the function using the Azure

Unable to load static file once it has been published to Azure, using ASP.NET Core 2.1

一个人想着一个人 提交于 2021-02-10 18:54:28
问题 Using ASP.NET Core 2.1 , I'm trying to load the same static file locally on my dev machine (through Visual Studio 2017) and after the website has been published to the hosting environment (Azure Web Apps). Consider the directory hierarchy in which the static file ( file.xml ) to be served resides inside the web root: wwwroot css images js xml file.xml Here's my controller to load the file: public class DevelopmentController : Controller { private readonly IHostingEnvironment _env; public

Use KeyVaultClient with MSAL Token “Unauthorized”

眉间皱痕 提交于 2021-02-10 18:50:50
问题 How can a desktop application use Azure AD to read KeyVault secrets? I am able to acquire a MSAL token but handing it to KeyVaultClient always results in: Microsoft.Azure.KeyVault.Models.KeyVaultErrorException: Operation returned an invalid status code 'Unauthorized' I'm not even sure KeyVault supports this kind of token but in my Googling I've seen examples of the older ADAL tokens being used. My KeyVault has access policies for both my Azure AD account and a group I'm a member of. The

Stream Analytics Job deployed as Azure Resource Manager (ARM) template

瘦欲@ 提交于 2021-02-10 18:49:29
问题 I am trying to setup an output EventHub for a Stream Analytics Job defined as a JSON template. Without the output bit the template is successfully deployed, however when adding the output definition it fails with: Deployment failed. Correlation ID: <SOME_UUID>. { "code": "BadRequest", "message": "The JSON provided in the request body is invalid. Property 'eventHubName' value 'parameters('eh_name')' is not acceptable.", "details": { "code": "400", "message": "The JSON provided in the request

How to generate access_token for grant_type password in Azure AD for MS graph api

自作多情 提交于 2021-02-10 18:27:55
问题 How to generate access_token for grant_type password in Azure AD for MS graph api I have use followed these two links to generate access_token password grant_type https://dzone.com/articles/getting-access-token-for-microsoft-graph-using-oau-2?preview=true https://docs.microsoft.com/en-us/azure/active-directory-b2c/configure-ropc?tabs=app-reg-ga used below curl request curl --location --request POST 'https://login.microsoftonline.com/910f-90d18b56a170/oauth2/token' --header 'Content-Type:

How to generate access_token for grant_type password in Azure AD for MS graph api

杀马特。学长 韩版系。学妹 提交于 2021-02-10 18:19:06
问题 How to generate access_token for grant_type password in Azure AD for MS graph api I have use followed these two links to generate access_token password grant_type https://dzone.com/articles/getting-access-token-for-microsoft-graph-using-oau-2?preview=true https://docs.microsoft.com/en-us/azure/active-directory-b2c/configure-ropc?tabs=app-reg-ga used below curl request curl --location --request POST 'https://login.microsoftonline.com/910f-90d18b56a170/oauth2/token' --header 'Content-Type: