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”
Category Archives: Uncategorized
Reasons to avoid ARR affinity in Azure Web apps
ARR (Application Request Routing) affinity is a feature within Azure App Service that enables “sticky sessions” by ensuring that subsequent requests from a client are consistently routed to the same instance of a web application. While this can be advantageous in certain scenarios where session consistency is critical, it’s important to carefully weigh the potentialContinue 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”
Optimizing Cost and Performance with Azure App Service Plans
When you create an app in App Service, it is put into an App Service plan. When the app When you deploy an app within an Azure App Service Plan, it runs across all the Virtual Machine (VM) instances configured in that plan. If you have multiple apps within the same App Service Plan, theyContinue reading “Optimizing Cost and Performance with Azure App Service Plans”
Azure Diagnostic Logging
Eventually, all web applications will encounter issues and need to be debugged. Azure provides a set of powerful tools and logs that can provide invaluable information. Enable application logging (Windows) Select On for either Application Logging (Filesystem) or Application Logging (Blob), or both. The Filesystem option is for temporary debugging purposes, and turns itself off in 12 hours. The Blob option is for long-termContinue reading “Azure Diagnostic Logging”
Configure Proactive CPU Monitoring for High CPU Mitigation in Azure
Pro-Active CPU monitoring is a powerful tool that can mitigate high CPU issues with your cloud applications without any involvement from administrators. You can configure CPU rules to temporarily mitigate a high CPU issue until the real cause for the unexpected issue is found. Additionally, Pro-Active CPU monitoring can also capture a dump file toContinue reading “Configure Proactive CPU Monitoring for High CPU Mitigation in Azure”
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”