The Meziantou.Framework.Uri NuGet package brings the WHATWG URL Pattern API specification to .NET, enabling standardized URL pattern matching with named parameters, wildcards, optional segments, case-insensitive options, and pattern collections. The UrlPattern class supports both object-based and string-based pattern creation, making it useful for routing, security policies, and content filtering without resorting to custom regex.

2m read timeFrom meziantou.net
Post cover image
Table of contents
# Installation# Basic URL Pattern Matching# Features# Additional resources
4 Comments

Sort: