Skip to content
#

aspnetcore

Here are 2,183 public repositories matching this topic...

ambrosmiroslav
ambrosmiroslav commented Jun 2, 2021

The HttpClient created "manually" is able to follow HTTP status code 303 (See other) and jump to redirected page:

        _client = new HttpClient();

But the HttpClient retrieved from WebApplicationFactory isn't:

        public ClientContext(WebApplicationFactory<MyProject.Startup> Factory)
        {
                    _client = Factory.CreateClient();
        }

Improve this page

Add a description, image, and links to the aspnetcore topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the aspnetcore topic, visit your repo's landing page and select "manage topics."

Learn more