The System.ServiceModel.PrimitivesNuGet package gives us Microsoft’s version of UriTemplate with its very useful BindByPosition() method. Now, we can install this package in a .NET Core project but (from my experience) UriTemplate is unavailable. A robust (and standards-based) alternative is Tavis.UriTemplates[GitHub]. This works fine on .NET Core.
However, that useful BindByPosition() method is not there and as of this writing the repo activity is kind of low. Since I am too lazy (busy) to formally fork this repo, I suggest that a separate NuGet package be built (Songhay.UriTemplates) based on Tavis.UriTemplates. I can then throw in my extension methods for BindByPosition().
The
System.ServiceModel.Primitives
NuGet package gives us Microsoft’s version ofUriTemplate
with its very usefulBindByPosition()
method. Now, we can install this package in a .NET Core project but (from my experience)UriTemplate
is unavailable. A robust (and standards-based) alternative isTavis.UriTemplates
[GitHub]. This works fine on .NET Core.However, that useful
BindByPosition()
method is not there and as of this writing the repo activity is kind of low. Since I am too lazy (busy) to formally fork this repo, I suggest that a separate NuGet package be built (Songhay.UriTemplates
) based onTavis.UriTemplates
. I can then throw in my extension methods forBindByPosition()
.