Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Azure Function proxies when using c# class library and deployment form vsts?

Proxies just appear as read-only in azure portal when using deployment automation from VSTS. Is it possible to add proxy definitions to the c# class library (https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-class-library) then or what is the recommended workflow for this scenario? Separate function app for the proxies?

like image 871
Oddleif Avatar asked Oct 15 '25 04:10

Oddleif


1 Answers

Put your proxies configurations into proxies.json file next to your host.json file and deploy it from CI pipeline.

The proxies that you configure are stored in a proxies.json file, which is located in the root of a function app directory. You can manually edit this file and deploy it as part of your app when you use any of the deployment methods that Functions supports.

Source

like image 143
Mikhail Shilkov Avatar answered Oct 17 '25 19:10

Mikhail Shilkov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!