Stand Alone Service Fabric Error=EndpointProviderPortRangeExhausted

I ran into an issue with a customer wherein they had set up an on-premise, or stand-alone, Service Fabric cluster. They had deployed several services to the cluster and some of the services would seem to randomly fail to start. The only way to see some information about the errors was to take a look…

0

Where Did Application Insights Put my Performance Counter Data?

I ran into an issue finding performance counter values I had pushed to Application Insights and wanted to note it to save others some time. You can configure Azure Diagnostics (WAD) to push diagnostic and performance data to Application Insights: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/azure-diagnostics-configure-application-insights Once you configure WAD to sink data to Application Insights, you can go into…

0

Controlling the Number of Outgoing Connections From HttpClient (.Net Core or Full Framework)

Although there are references to this all over the web for full framework, I had trouble finding it for .Net Core, so I thought I’d note it for others that may be searching. On .Net Full framework, you can control the number of outgoing client connections by setting ServicePointManager.DefaultConnectionLimit to the desired number. It is…

0

Add Azure Antimalware Extension to a VM Scale Set

If you’re running a Windows Server 2016 base image, ignore this post because we’ve built Windows Defender in. However, if you’re running Server 2012R2, for example, and wish to apply the Microsoft Antimalware Extension to an existing VM Scale Set, here is a PowerShell script to do it: # Add the Microsoft Antimalware Extension to…

0

How to Trap Uncaught Exceptions and Avoid 5xx Errors in ASP.Net WebAPI

I was recently writing a WebAPI 2.x project for a customer that involved file IO, decompression, and database IO. Though the things the API does are not complex, there are many things that can go wrong in any of those types of operations that can cause exceptions to be thrown (SQL parsing errors, IO errors,…

0