Skip to content

BaseAddress should be forwarded to http service with non-null value #2

Description

@ilonatommy

HttpClient has empty BaseAddress, even though we are setting it in the configuratio:

httpClient.BaseAddress = new Uri(builder.HostEnvironment.BaseAddress);

Setting a breakpoint or logging the builder.HostEnvironment.BaseAddress value does not work, so it's hard to define where the value is getting lost.

Temporary workaround for development:

private string baseAddress = "http://localhost:5130";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions