dotnet / dotnet/dotnet-api-docs

more examples for PORT please

Open
#1,160 0 comments 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

would be nice to see more examples like
https://www.contoso.com/Customers/1
https://www.contoso.com:8080/Customers/2?etc=morestuff
ftp://www.contoso.com/Customers.csv
ftp://www.contoso.com:21/Customers.csv
file://c/d/e/f.txt

with the results in a nice commented-out block below the code (instead of current pre-code)
perhaps also refer readers to C:\Windows\System32\drivers\etc\services or the W3C/IETF/etc urls

---
#### Document Details

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

* ID: 8c4e7216-6657-6bde-38d6-cfae68120065
* Version Independent ID: ad21831f-7f00-5bc6-9358-b1448fd9a22f
* Content: [Uri.Port Property (System)](https://docs.microsoft.com/en-us/dotnet/api/system.uri.port?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.