dotnet / dotnet/dotnet-api-docs

What about URIs with a port?

Open
#1,774 1 comment 0 reactions 0 assignees View on GitHub
area-System.Runtime dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The content has a table headed "The following examples show a URI and the results of calling GetLeftPart with Scheme, Authority, Path, or Query" in the remarks section. The table does not demonstrate what happens when a URI contains a port. It will presumably not be in "Scheme", but will be in "Path" or "Query", but one is ambivalent about what happens with "Authority" - The documentation needs to resolve that ambiguity.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 6cad454d-f7e9-765d-e124-a87de29f2237
* Version Independent ID: 46b336ee-06cf-2855-e98b-9b672946112e
* Content: [Uri.GetLeftPart(UriPartial) Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.uri.getleftpart?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.query%3FappId%3DDev15IDEF1%26l%3DEN-US%26k%3Dk(System.Uri.GetLeftPart);k(SolutionItemsProject);k(DevLang-csharp)%26rd%3Dtrue&view=netframework-4.7.2)
* Content Source: [xml/System/Uri.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/Uri.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.