aspnetcore/src/Tools
Javier Calvarro Nelson 8e1e81ae78
[HTTPS] Update certificate strategy for Mac OS (#20022)
* 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.
2020-04-16 13:52:10 -07:00
..
Extensions.ApiDescription.Client
Extensions.ApiDescription.Server
FirstRunCertGenerator [HTTPS] Update certificate strategy for Mac OS (#20022) 2020-04-16 13:52:10 -07:00
GetDocumentInsider
Microsoft.dotnet-openapi Quarantining tests (#20631) 2020-04-08 12:53:53 -07:00
Shared Enable detailed msbuild verbosity for user secrets (#19516) 2020-03-05 08:39:58 -08:00
dotnet-dev-certs [HTTPS] Update certificate strategy for Mac OS (#20022) 2020-04-16 13:52:10 -07:00
dotnet-getdocument
dotnet-sql-cache Merge branch 'master' into johluo/migrating-extensions 2020-02-20 16:44:06 -08:00
dotnet-user-secrets Preserve new lines and whitespace when adding secret (#19504) 2020-04-03 17:37:46 +00:00
dotnet-watch Quarantining tests (#20631) 2020-04-08 12:53:53 -07:00
.vsconfig Add .vsconfig files in root and beside slns 2020-03-31 14:25:44 -07:00
Directory.Build.props
Directory.Build.targets
README.md
Tools.sln [HTTPS] Update certificate strategy for Mac OS (#20022) 2020-04-16 13:52:10 -07:00
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:

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