Bart Koelman

Results 122 comments of Bart Koelman

After the merge of #1280, this can be accomplished by adding a custom handler (which adds your header) to the Eureka `HttpClientFactory` pipeline. For example, to send an extra header...

> I want to be able to use any health contributor and obtain the state via the health actuator This is already available. The Steeltoe health actuator uses ASP.NET `IHealthCheck`...

@osmedd Supporting automatic port assignment greatly complicates the internals of Steeltoe discovery. We can't know the actual port until the app is fully started. Because the Instance ID depends on...

Automatic port assignment is supported in #1280 and works in the following way: - When binding to zero port number(s), the local Instance ID is suffixed with a random number...

This PR has test failures in Connectors, which doesn't show up in the checks because Steeltoe.All has not run. This proves having only component builds is fundamentally unreliable, as the...

> Or we could add the dependencies to the component builds... but Steeltoe.All does run a lot faster than it did a year or two ago, so I'm open to...

The most-official and most-up-to-date information I could find is at https://github.com/VSadov/runtime/blob/main/docs/design/specs/Memory-model.md, originating from https://github.com/dotnet/runtime/issues/63474. Also good info at: http://igoro.com/archive/volatile-keyword-in-c-memory-model-explained/. My conclusions from that are: - `volatile` fields are always atomically...

We've had some internal discussion and believe it's best to follow ASP.NET conventions here, which is implementing [IValidateOptions](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-8.0#ivalidateoptionstoptions-and-ivalidatableobject), which throws `OptionsValidationException` when the configuration is invalid. This helps to catch...

@thompson-tomo Is there an official recommendation for changing this that we're not aware of? Can you provide some background on the consequences of such a change? What are the risks...