question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove flurl dependency

See original GitHub issue

Before v4 we discussed removing all external dependencies for making web requests. I don’t remember my reasoning but I decided to use Flurl instead of relying on the base HttpClient. I’m now coming to regret that 😉. Flurl has made some recent changes where they remove the Clone methods on requests, a method that we rely on in ShopifySharp when repeating requests with some Execution Policies. I’ve also been getting a bunch of reports of broken dependencies, and have personally run into that problem as well.

I’m working on a few changes that will completely remove Flurl and instead use the base HttpClient.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
clement911commented, Mar 5, 2018

It looks like the HttpClient is being reworked for asp.net core 2.1 so this may have to change again, although hopefully it will be a much smaller change. https://blogs.msdn.microsoft.com/webdev/2018/02/28/asp-net-core-2-1-preview1-introducing-httpclient-factory/

1reaction
clement911commented, Jan 16, 2018

20 minutes turnaround. You’re a machine!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove Flurl dependence in Flurl.Http · Issue #84
When I migrated all code to cross platform build, I want to remove Flurl dependency in the Flurl.Http project and compile Flurl cs...
Read more >
Configuration
If you just need to enable/disable auto-redirect for a single call, you can do it inline: await url.WithAutoRedirect(false).GetAsync();. Testable HTTP · Error ...
Read more >
HttpClient Lifetime
FlurlClient is a lightweight wrapper around HttpClient and is tightly bound to ... Http is well suited for use with IoC containers and...
Read more >
c# - Flurl Proxy after construction?
The short answer is you would need to create a new client every time the proxy is set or changed. This is due...
Read more >
Consuming GitHub API (REST) With Flurl
In this article, we are going to learn how to consume a RESTful API (GitHub) in C# using Flurl library. We will add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found