Wiz.Dotnet.Template.API
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install Wiz.Dotnet.Template.API::1.0.0
This package contains a .NET Template Package you can call from the shell/command line.
Passos para execução do projeto:
Open your Command Prompt (CMD ou PowerShell);
Create the project folder;
Execute the following commands;
dotnet new -i Wiz.Dotnet.Template.API
dotnet new wizapi -n [ProjectName]
- Enable (HTTPS) support;
dotnet dev-certs https --trust
- Setup appsettings:
├── src (folder)
├── Wiz.[NomeProjeto].API (project)
├── appsettings.{ENVIRONMENT}.json
Inside file local.settings.json, there are the variable configurations:
{
"ApplicationInsights": {
"InstrumentationKey": "KEY_APPLICATION_INSIGHTS"
},
"ConnectionStrings": {
"CustomerDB": "CONNECTION_DATABASE"
},
"TokenValidationParameters": {
"ValidAudience": "URL_SSO"
},
"API": {
"ViaCEP": "https://viacep.com.br/ws/"
},
"HealthChecks-UI": {
"HealthChecks": [
{
"Name": "Customer DB Health",
"Uri": "https://localhost:5001/health"
}
],
"Webhooks": [],
"EvaluationTimeOnSeconds": 30,
"MinimumSecondsBetweenFailureNotifications": 60
}
}
}
- (Optional) Set the Application Insights key according to Azure configuration in the appsettings.{ENVIRONMENT}.json file.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.317703 | 51 | 11/21/2024 |
2.1.317429 | 71 | 11/19/2024 |
2.1.146917 | 1,388 | 10/6/2022 |
2.1.146863 | 350 | 10/6/2022 |
2.1.93119 | 1,348 | 8/2/2021 |
2.1.92424 | 478 | 7/27/2021 |
2.1.92346 | 350 | 7/26/2021 |
2.1.88324 | 1,383 | 6/11/2021 |
2.1.87251 | 365 | 6/1/2021 |
2.1.87250 | 349 | 6/1/2021 |
2.1.85966 | 332 | 5/20/2021 |
2.1.75589 | 401 | 2/26/2021 |
2.1.75455 | 333 | 2/26/2021 |
2.1.72246 | 349 | 2/10/2021 |
2.1.71835 | 334 | 2/8/2021 |
2.1.70045 | 341 | 1/29/2021 |
2.1.60568 | 493 | 12/14/2020 |
2.1.29523 | 557 | 6/5/2020 |
2.1.29454 | 457 | 6/5/2020 |
2.1.29451 | 450 | 6/5/2020 |
2.1.28263 | 452 | 5/26/2020 |
2.1.28260 | 473 | 5/26/2020 |
2.1.26840 | 468 | 5/12/2020 |
2.1.26020 | 503 | 4/29/2020 |
2.1.25014 | 483 | 4/16/2020 |
2.1.23533 | 509 | 3/31/2020 |
2.1.22965 | 483 | 3/25/2020 |
2.1.22961 | 489 | 3/25/2020 |
2.1.22898 | 466 | 3/25/2020 |
2.1.22897 | 458 | 3/25/2020 |
2.1.19831 | 492 | 2/10/2020 |
2.1.19830 | 460 | 2/10/2020 |
2.1.19765 | 493 | 2/10/2020 |
2.1.19526 | 499 | 2/5/2020 |
2.1.19506 | 537 | 2/5/2020 |
2.1.13118 | 557 | 10/9/2019 |
2.1.13113 | 515 | 10/9/2019 |
2.1.13075 | 507 | 10/8/2019 |
1.1.12293 | 557 | 9/19/2019 |
1.1.12001 | 533 | 9/12/2019 |
1.1.11446 | 531 | 9/2/2019 |
1.0.0 | 759 | 4/8/2019 |
First release