azure

Unable to change upload_max_filesize to Azure

风流意气都作罢 提交于 2021-02-08 01:50:24
问题 I have a Laravel Azure website. I have a .user.ini file where I have some settings like upload_max_filesize=120M post_max_size=121M output_buffering=Off max_execution_time=3000 max_input_time=3000 memory_limit=140M But, strangely enough, only max_execution_time and memory_limit changed . I also tried ini_set() but with the same result. Is there a solution for this? 回答1: Basically I added in the settings PHP_INI_SCAN_DIR with the value of the folder path to the .user.ini 回答2: As PHP

Unable to change upload_max_filesize to Azure

女生的网名这么多〃 提交于 2021-02-08 01:49:51
问题 I have a Laravel Azure website. I have a .user.ini file where I have some settings like upload_max_filesize=120M post_max_size=121M output_buffering=Off max_execution_time=3000 max_input_time=3000 memory_limit=140M But, strangely enough, only max_execution_time and memory_limit changed . I also tried ini_set() but with the same result. Is there a solution for this? 回答1: Basically I added in the settings PHP_INI_SCAN_DIR with the value of the folder path to the .user.ini 回答2: As PHP

Singleton Azure function running as separate instances

谁说胖子不能爱 提交于 2021-02-07 23:01:45
问题 We have an Azure function that is supposed to be handling several service bus triggers at the same time and what I assume is happening is that it is being split across several instances which is causing some concurrency problems on our end. We need our function to act as a singleton so we can process requests one at a time without any collisions. From what we looked into in this article (https://docs.microsoft.com/en-us/azure/app-service/webjobs-sdk-how-to#singleton-attribute) we should be

CosmosDB Change Feed Scaling

喜夏-厌秋 提交于 2021-02-07 21:53:39
问题 I have my Azure function with CosmosDB trigger, that listens to a collection using lease collection mechanism. This function is hosted on consumption plan. I have noticed that under heavy load I tend to get updates to my function with a greater and greater delay. After reading documentation I did not find a way how to improve scaling of my setup. Is there a way to? 回答1: Consumption Plan instances should grow based on how far behind your Function is lagging. If you are using Consumption Plan,

How to assign a reserved IP to a classic cloud service through Portal

五迷三道 提交于 2021-02-07 21:49:19
问题 This is an easy task with PowerShell. But since we can now create reserved IP's through the Azure Portal, is it also possible to assign it to a classic cloud service through the portal? I can't find any documentation about it. 回答1: You can't using azure portal. You can using azure powershell cmdlets. For existing cloud service- New-AzureReservedIP –ReservedIPName "MyReservedIP" –Location "YourLocation" New-AzureReservedIP –ReservedIPName "MyReservedIP" –Location "YourLocation" -ServiceName

How to assign a reserved IP to a classic cloud service through Portal

做~自己de王妃 提交于 2021-02-07 21:48:31
问题 This is an easy task with PowerShell. But since we can now create reserved IP's through the Azure Portal, is it also possible to assign it to a classic cloud service through the portal? I can't find any documentation about it. 回答1: You can't using azure portal. You can using azure powershell cmdlets. For existing cloud service- New-AzureReservedIP –ReservedIPName "MyReservedIP" –Location "YourLocation" New-AzureReservedIP –ReservedIPName "MyReservedIP" –Location "YourLocation" -ServiceName

How to get FFProbe to run using dotnet core as an Azure Function in Docker?

送分小仙女□ 提交于 2021-02-07 21:14:05
问题 I am trying to get video details (length, height, width, and content type) from a video based on a URL. By using the nuget package https://www.nuget.org/packages/NReco.VideoInfo.LT I was able to create an Azure Function running locally pointing to my local install of FFProbe rather easily. However, the trick is now making it compatible with an Azure Function and, to the best of my knowledge, the easiest way to do that is by providing a Docker image that contains everything needed (this would

How to get FFProbe to run using dotnet core as an Azure Function in Docker?

萝らか妹 提交于 2021-02-07 21:02:12
问题 I am trying to get video details (length, height, width, and content type) from a video based on a URL. By using the nuget package https://www.nuget.org/packages/NReco.VideoInfo.LT I was able to create an Azure Function running locally pointing to my local install of FFProbe rather easily. However, the trick is now making it compatible with an Azure Function and, to the best of my knowledge, the easiest way to do that is by providing a Docker image that contains everything needed (this would

Can Azure AD (work) accounts be used with Azure B2C? Is that a bad idea? [closed]

霸气de小男生 提交于 2021-02-07 20:56:45
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . Improve this question I need to support work accounts (or school accounts) with AzureAD B2C. I already have an existing base of Facebook clients and Google. However, when I configure the Microsoft endpoint, I only get the liveID option. Is there a way to use a custom B2C signup

Can Azure AD (work) accounts be used with Azure B2C? Is that a bad idea? [closed]

这一生的挚爱 提交于 2021-02-07 20:50:30
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . Improve this question I need to support work accounts (or school accounts) with AzureAD B2C. I already have an existing base of Facebook clients and Google. However, when I configure the Microsoft endpoint, I only get the liveID option. Is there a way to use a custom B2C signup