-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge main to release/5.0 for preview 6 (#590)
- Loading branch information
Showing
231 changed files
with
9,205 additions
and
2,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Default Process | ||
|
||
When using APIs to capture diagnostic artifacts, typically a `pid`, `uid`, or `name` is provided to perform the operation on a specific process. However, these parameters may be omitted if dotnet-monitor is able to resolve a default process. | ||
When using APIs to capture diagnostic artifacts, typically a `pid`, `uid`, or `name` is provided to perform the operation on a specific process. However, these parameters may be omitted if `dotnet monitor` is able to resolve a default process. | ||
|
||
The tool is able to resolve a default process if there is one and only one observable process. If there are no processes or there are more that one process, any API that allows operating on the default process will fail when invoked. | ||
The tool is able to resolve a default process if there is one and only one observable process. If there are no processes or there are more that one process, any API that allows operating on the default process will fail when invoked. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Info - Get | ||
|
||
Gets information about the `dotnet monitor` version, the runtime version, and the diagnostic port settings. | ||
|
||
## HTTP Route | ||
|
||
```http | ||
GET /info HTTP/1.1 | ||
``` | ||
|
||
## Host Address | ||
|
||
The default host address for these routes is `https://localhost:52323`. | ||
|
||
## Authentication | ||
|
||
Authentication is enforced for this route. See [Authentication](./../authentication.md) for further information. | ||
|
||
## Responses | ||
|
||
| Name | Type | Description | Content Type | | ||
|---|---|---|---| | ||
| 200 OK | | Information about `dotnet monitor` formatted as JSON. | `application/json` | | ||
| 400 Bad Request | [ValidationProblemDetails](definitions.md#ValidationProblemDetails) | An error occurred due to invalid input. The response body describes the specific problem(s). | `application/problem+json` | | ||
| 401 Unauthorized | | Authentication is required to complete the request. See [Authentication](./../authentication.md) for further information. | | | ||
|
||
## Examples | ||
|
||
### Sample Request | ||
|
||
```http | ||
GET /info HTTP/1.1 | ||
Host: localhost:52323 | ||
``` | ||
|
||
### Sample Response | ||
|
||
```http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
{ | ||
"version": "5.0.0", | ||
"runtimeVersion": "3.1.16", | ||
"diagnosticPortMode": "Connect", | ||
"diagnosticPortName": null | ||
} | ||
``` | ||
|
||
## Supported Runtimes | ||
|
||
| Operating System | Runtime Version | | ||
|---|---| | ||
| Windows | .NET Core 3.1, .NET 5+ | | ||
| Linux | .NET Core 3.1, .NET 5+ | | ||
| MacOS | .NET Core 3.1, .NET 5+ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.