Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uri] Consider adding query string manipulation #26234

Closed
paulomorgado opened this issue May 21, 2018 · 3 comments
Closed

[Uri] Consider adding query string manipulation #26234

paulomorgado opened this issue May 21, 2018 · 3 comments
Labels
api-suggestion Early API idea and discussion, it is NOT ready for implementation area-System.Net
Milestone

Comments

@paulomorgado
Copy link
Contributor

Web APIs are everywhere these days and there's still no way to manipulate them in the framework.

System.Web has one. System.ServiceModel has another. And pretty much every library that needs it has one.

It would be nice to have something that:

  • Parses a query string into a NameValueCollection.
  • Allows manipulating the values
  • Renders que query string
@karelz karelz changed the title Consider adding query string manipulation [Uri] Consider adding query string manipulation May 21, 2018
@karelz
Copy link
Member

karelz commented Oct 1, 2019

Triage:
@paulomorgado which types exist in System.Web and System.ServiceModel?
We should consider extending UriBuilder.

@paulomorgado what kind of value manipulation do you need and why?

@paulomorgado
Copy link
Contributor Author

In System.Web you can find System.Web.HttpValueCollection.

If HttpValueCollection was public and all it's issues were fixed, it could be used besides UrlBuilder like it is on System.Web.

Or maybe it's a set of parsing and rendering extension methods on NameValueCollection would be enough.

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@MihaZupan
Copy link
Member

Closing in favour of #32606

@karelz karelz modified the milestones: Future, 5.0.0 Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-suggestion Early API idea and discussion, it is NOT ready for implementation area-System.Net
Projects
None yet
Development

No branches or pull requests

4 participants