* Fixes and improvements for dotnet-dev-certs: * Revamps the HTTPS developer certificate tool implementation. * It accumulated a lot of cruft during the past few years and that has made making changes harder. * Separated the CertificateManager implementation into different classes per platform. * This centralizes the decision point of choosing a platform in a single place. * Makes clear what the flow is for a given platform. * Isolates changes needed for a given platform in the future. * Moved CertificateManager to a singleton * No more statics! * Updates logging to use EventSource * We didn't have a good way of performing logging as the code is shared and must run in multiple contexts and the set of dependencies need to be kept to a minimum. * Adding ETW allow us to log/monitor the the tool execution and capture the logs with `dotnet trace` without having to invent our own logging. * We can decide to write an EventListener in `dotnet-dev-certs` to write the results to the console output. * Updates the way we handle the dev-cert in Mac OS to use the security tool to import the certificate into the store instead of using the certificate store. |
||
|---|---|---|
| .. | ||
| Extensions.ApiDescription.Client | ||
| Extensions.ApiDescription.Server | ||
| FirstRunCertGenerator | ||
| GetDocumentInsider | ||
| Microsoft.dotnet-openapi | ||
| Shared | ||
| dotnet-dev-certs | ||
| dotnet-getdocument | ||
| dotnet-sql-cache | ||
| dotnet-user-secrets | ||
| dotnet-watch | ||
| .vsconfig | ||
| Directory.Build.props | ||
| Directory.Build.targets | ||
| README.md | ||
| Tools.sln | ||
| build.cmd | ||
| build.sh | ||
| startvs.cmd | ||
README.md
DotNetTools
Bundled tools
The folder contains command-line tools for ASP.NET Core. The following tools are bundled* in the .NET Core CLI. Follow the links below for more details on each tool.
*This applies to .NET Core CLI 2.1.300-preview2 and up. For earlier versions of the CLI, these tools must be installed separately.
For 2.0 CLI and earlier, see https://github.com/aspnet/DotNetTools/tree/rel/2.0.0/README.md for details.
Non-bundled tools
The following tools are produced by us but not bundled in the .NET Core CLI. They must be aquired independently.
This folder also contains the infrastructure for our partners' service reference features:
- Extensions.ApiDescription.Client MSBuild glue for OpenAPI code generation.
- Extensions.ApiDescription.Server MSBuild glue for OpenAPI document generation.
- dotnet-getdocument the outside man of OpenAPI document generation tool.
- GetDocument.Insider the inside man of OpenAPI document generation tool.
Usage
The command line tools can be invoked as a subcommand of dotnet.
dotnet watch
dotnet user-secrets
dotnet sql-cache
dotnet dev-certs
dotnet openapi
Add --help to see more details. For example,
dotnet watch --help