James Newton-King

Results 646 comments of James Newton-King

There is documentation [here](https://learn.microsoft.com/en-us/aspnet/core/log-mon/metrics/metrics?view=aspnetcore-8.0#test-metrics-in-aspnet-core-apps) for how to test ASP.NET Core metrics in a correct, stable and efficent manner.

Here is another example of testing with TestServer and MetricCollector: https://github.com/dotnet/aspnetcore/blob/334676042dd1b78bad80bf73b5ad2b6133a9519d/src/Middleware/Diagnostics/test/UnitTests/ExceptionHandlerTest.cs#L915-L967

@davidfowl Providing a more friendly error message when ports are in use is a good improvement and I think we should do it. What do you think about a small...

I agree on not restarting if there is an error during startup. But what about: ```cs for (var i = 0; i < 5; i++) { if (PortsAvailable()) { return;...

This issue is caused by adding a new method overload that's only present in 13.0.4. A way to work around this problem is to force specify the existing `ToString(Formatting, params...

I don't know of anything that could have caused this in 13.0.4. Is changing 13.0.4 the only thing that's different? There is another library here involved which complicates things. Do...

Yes, I'm looking for a reproduction. I need a way to test the problem to be able to effectively fix it and write unit tests to ensure it stays fixed....

@IEvangelist Where would this content go? Something to keep in mind that people could want to gather browser telemetry from an app that is integrated into an Aspire solution, in...

Ideally: * A tutorial under the [standalone mode TOC item](https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/standalone?tabs=bash) would be good if we have one. * Dashboard configuration at [dashboard configuration](https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/configuration?tabs=bash) * App host configuration somewhere. I don't...

I don't feel this is done. How do I as an Aspire user know that I can configure Aspire to receive browser telemetry? Low level configuration is good to link...