DotNetCoreBaseAPI 1.0.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DotNetCoreBaseAPI --version 1.0.7
NuGet\Install-Package DotNetCoreBaseAPI -Version 1.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DotNetCoreBaseAPI" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotNetCoreBaseAPI" Version="1.0.7" />
<PackageReference Include="DotNetCoreBaseAPI" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DotNetCoreBaseAPI --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetCoreBaseAPI, 1.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DotNetCoreBaseAPI@1.0.7
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DotNetCoreBaseAPI&version=1.0.7
#tool nuget:?package=DotNetCoreBaseAPI&version=1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DotNetCoreBaseAPI
This class library can be used as base api to import various basic configuration for consumer api. It also contains a test consumer api to execute library locally. Dot Net Version: 8.0
This library provides below features.
- Registers different configuration files (appSettings.json) per environement. (Development, Production)
- Provided with specific logger provider (Serilog, NLog, Log4n etc), register logger configuration. (Update in progress...)
- Provides different authentication services based on provided auth provider from consumer apis. (None, Basic, JWT, Token, OAuth)
- Provides SwaggerGen and Swagger UI for consumer api testing
- Provides APiVersioning support if needed.
- Provides Polly retry policies for HttpClient calls from consumer APIs.
- Provides multiple HttpClient registration.
- Provides different types of health checks for consumer apis. Default health check endpoint is "api/health". More details about health check is in instruction below.
Instructions for consumer APIs
Healthchecks
Provide heath check configurations in consumer's appSettings.json in below format. "HealthChecks":{ "UriGroup":"<Custome uri group url for URi heal check>", "RemoteUris":[ "List of remote uris for remote endpoints health checks" ] }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Asp.Versioning.Http (>= 8.1.0)
- Asp.Versioning.Mvc (>= 8.1.0)
- Asp.Versioning.Mvc.ApiExplorer (>= 8.1.0)
- AspNetCore.HealthChecks.SqlServer (>= 9.0.0)
- AspNetCore.HealthChecks.UI (>= 9.0.0)
- AspNetCore.HealthChecks.UI.Client (>= 9.0.0)
- AspNetCore.HealthChecks.UI.InMemory.Storage (>= 9.0.0)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- EntityFrameworkCore.SqlServerCompact40 (>= 2.2.0.7)
- Microsoft.AspNetCore.Authentication.Facebook (>= 8.0.5)
- Microsoft.AspNetCore.Authentication.Google (>= 8.0.5)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.6)
- Microsoft.AspNetCore.Authentication.MicrosoftAccount (>= 8.0.5)
- Microsoft.AspNetCore.Authentication.OAuth (>= 2.2.0)
- Microsoft.AspNetCore.Diagnostics (>= 2.3.0)
- Microsoft.AspNetCore.Diagnostics.Abstractions (>= 2.3.0)
- Microsoft.AspNetCore.Diagnostics.HealthChecks (>= 2.2.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.6)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.4)
- Polly (>= 8.6.1)
- Serilog (>= 3.1.1)
- Serilog.AspNetCore (>= 8.0.1)
- Serilog.Sinks.Console (>= 5.0.1)
- Serilog.Sinks.File (>= 5.0.0)
- Swashbuckle.AspNetCore (>= 6.6.1)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.6.1)
- Swashbuckle.AspNetCore.SwaggerUI (>= 6.6.1)
- System.IdentityModel.Tokens.Jwt (>= 7.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.