Install
dotnet add package Meziantou.Framework.Uri --version 1.0.2
| Product | Versions |
|---|---|
| .NET |
README
Meziantou.Framework.Uri
Meziantou.Framework.Uri provides methods to manipulate URIs.
Parse and edit query strings
var uri = "https://www.meziantou.net";
var query = QueryStringUtilities.ParseQueryString(uri);
var author = query["author"];
_ = QueryStringUtilities.AddQueryString(uri, "name", "value");
_ = QueryStringUtilities.AddOrReplaceQueryString(uri, "name", "value");
_ = QueryStringUtilities.SetQueryString(uri, "name", "value");
// Remove a query string parameter
_ = QueryStringUtilities.AddQueryString(uri, "name", null);
Changes from Previous Version
No structural changes between v1.0.1 and v1.0.2.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.