To call an Azure Machine Learning (AML) endpoint with Python, you can use the requests library. Here’s an example of how to do this: Replace https://your-scoring-uri.azurewebsites.net/score with the actual scoring URI of your AML endpoint and your_api_key with the API key if your endpoint requires authentication Make sure to format the input data according toContinue reading “How do you call an AML endpoint in Python”
Tag Archives: Azure feature
Reasons to avoid ARR affinity in Azure Web apps
Application Request Routing (ARR) affinity in Azure Web Apps and why it might not be the best choice for certain scenarios. ARR affinity is a feature that enables “sticky sessions” by ensuring that subsequent requests from a client are routed to the same instance of a web app. While this can be useful in someContinue reading “Reasons to avoid ARR affinity in Azure Web apps”
Configuring Autoscale in Azure
Here’s an example of how to configure autoscaling for an Azure App Service using the Azure portal:
How to enable stdout logging for a .Net core app using run from package
To enable stdout logging for an Azure .NET Core app running from a package, follow these steps: Next, modify your Program.cs file in your .NET Core app to configure the logger: This configuration will enable stdout logging for your Azure .NET Core app running from a package.
Using Auto-Heal to Capture Memory Dumps for Slow Requests
Azure auto heal is a powerful tool that can be used to capture vital information for any issues that may occur with your web applications. Every web app will eventually encounter some kind of issue, slowness, downtimes and the dreaded “intermittent issue”. With auto-heal you can mitigate the problem and even gather additional information toContinue reading “Using Auto-Heal to Capture Memory Dumps for Slow Requests”
Modifying Azure Web.config to capture failed requests
How FREB ( Failed Request Tracing) works: When you enable FREB it will monitor every request and store the information in memory. If the trigger is not hit, it will drop the information stored in memory. When the trigger you have configured is hit (ie 500, .aspx page, ect) it will write the info out toContinue reading “Modifying Azure Web.config to capture failed requests”
Azure Auto-heal
Azure auto heal is a powerful tool that can be used to mitigate and capture vital information for any issues that may occur with your web applications. Every web app will eventually encounter some kind of issue, slowness, downtimes and the dreaded “intermittent issue”. With auto-heal you can mitigate the problem and even gather additionalContinue reading “Azure Auto-heal”