Add Uri StringSyntaxAttribute syntaxes#44570
Conversation
|
Thanks for your PR, @blouflashdb. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
…flashdb/aspnetcore into addUriStringSyntaxAttribute
|
Well somehow I can't use it in HubConnectionBuilderHttpExtensions.cs for some reason. Azure Pipelines |
|
The SignalR client also targets .NET Framework, which doesn't have that attribute. To work around this:
It doesn't matter that the attribute is internal and in a different assembly. As long as the type name and namespace match, tooling and other apps can use it. |
|
Thanks, I think I got it. |
JamesNK
left a comment
There was a problem hiding this comment.
RelativeOrAbsolute would be the default assumption so there is no need to explicitly specify it.
Otherwise, LGTM
Add Uri StringSyntaxAttribute syntaxes
Description
Adds uri StringSyntaxAttribute syntaxes to all public APIs where an uri is expected.
Closes Uri Task in #44535