Dvelop.Sdk.Logging.Abstractions
0.2.0.111-prerelease
See the version list below for details.
dotnet add package Dvelop.Sdk.Logging.Abstractions --version 0.2.0.111-prerelease
NuGet\Install-Package Dvelop.Sdk.Logging.Abstractions -Version 0.2.0.111-prerelease
<PackageReference Include="Dvelop.Sdk.Logging.Abstractions" Version="0.2.0.111-prerelease" />
<PackageVersion Include="Dvelop.Sdk.Logging.Abstractions" Version="0.2.0.111-prerelease" />
<PackageReference Include="Dvelop.Sdk.Logging.Abstractions" />
paket add Dvelop.Sdk.Logging.Abstractions --version 0.2.0.111-prerelease
#r "nuget: Dvelop.Sdk.Logging.Abstractions, 0.2.0.111-prerelease"
#:package Dvelop.Sdk.Logging.Abstractions@0.2.0.111-prerelease
#addin nuget:?package=Dvelop.Sdk.Logging.Abstractions&version=0.2.0.111-prerelease&prerelease
#tool nuget:?package=Dvelop.Sdk.Logging.Abstractions&version=0.2.0.111-prerelease&prerelease
d.velop cloud SDK for .NET
This is the official SDK to build Apps for d.velop cloud using the C# programming language.
Deprecation of the Home-App: The d.velop Home-App is deprecated and will be replaced by the Dashboard-App.
The DTOs in Dvelop.Sdk.Home.Dto (FeatureDto, FeatureDescriptionDto, FeatureBadgeDto) are marked as [Obsolete]
and will be removed in a future release. The Dashboard-App has a different structure, so there is no one-to-one replacement for these types.
The project has alpha status. So for now expect things to change.
Packages
| Package | Purpose |
|---|---|
Dvelop.Sdk |
All-in-one package that references the packages below |
Dvelop.Sdk.TenantMiddleware |
Tenant identification and validation of the x-dv-sig-1 signature |
Dvelop.Sdk.IdentityProvider.* |
Auth session validation, user/group DTOs, IdentityProvider middleware and client |
Dvelop.Sdk.SigningAlgorithms |
HMAC-SHA256 and DV1-HMAC-SHA256 signing primitives |
Dvelop.Sdk.WebApiExtensions |
Request/tenant/W3C-tracing logging middleware, request signing |
Dvelop.Sdk.Logging.* |
OTEL JSON console logging |
Dvelop.Sdk.HttpClientExtensions |
HttpClient helpers |
| DTO packages | Base, CloudCenter, Config, Dashboard and (deprecated) Home DTOs |
Dvelop.Sdk.ApplicationInformation |
IVersionProvider and SemVer (see below) |
Usage
Include the d.velop sdk packages as dependencies in your .NET 10 project file (myproject.csproj) and restore them with dotnet restore via commandline or from within your IDE.
Example:
<ItemGroup>
<PackageReference Include="Dvelop.Sdk.TenantMiddleware" Version="0.2.0.*" />
<PackageReference Include="Dvelop.Sdk.IdentityProvider.Middleware" Version="0.2.0.*" />
</ItemGroup>
or the all-in-one dependency:
<ItemGroup>
<PackageReference Include="Dvelop.Sdk" Version="0.2.0.*" />
</ItemGroup>
The most recent version can be installed from nuget.org
A running Application, which uses this SDK can be found at github.com/d-velop/dvelop-app-template-cs
Reading the application version with IVersionProvider
IVersionProvider exposes the version of the running application as a SemVer (Major, Minor, Patch, Qualifier).
VersionProvider is the default implementation. It reads the AssemblyInformationalVersion of the assembly you pass to it
and parses it, e.g. 1.2.3-beta or 1.2.3+build.5. If the version has no qualifier, Qualifier is an empty string.
Because the provider lives in the SDK library, you have to tell it which assembly to read, otherwise it would report the SDK's own version. Register it in your dependency injection container with the assembly of your application:
using Dvelop.Sdk.ApplicationInformation;
builder.Services.AddSingleton<IVersionProvider>(new VersionProvider(typeof(Program).Assembly));
and inject it where you need the version:
app.MapGet("/version", (IVersionProvider versionProvider) =>
{
SemVer version = versionProvider.Version;
return Results.Ok(new { version = version.ToString("s"), qualifier = version.Qualifier });
});
SemVer can also be created from a string and compared (the qualifier is ignored when comparing):
var current = SemVer.FromString("1.4.0-beta");
if (current >= SemVer.FromString("1.2.0"))
{
// feature is available
}
Use ToString("s") for Major.Minor.Patch; the default format additionally appends the qualifier.
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the releases on this repository.
License
Please read LICENSE for licensing information.
Acknowledgments
Thanks to the following projects for inspiration
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Dvelop.Sdk.Logging.Abstractions:
| Package | Downloads |
|---|---|
|
Dvelop.Sdk.WebApiExtensions
Package Description |
|
|
Dvelop.Sdk.HttpClientExtensions
Package Description |
|
|
Dvelop.Sdk
Package Description |
|
|
Dvelop.Sdk.Logging.OtelJsonConsole
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.0.113 | 55 | 10/8/2026 |
| 0.2.0.112-prerelease | 57 | 10/8/2026 |
| 0.2.0.111-prerelease | 43 | 10/8/2026 |
| 0.2.0.110-prerelease | 57 | 10/8/2026 |
| 0.2.0.109-prerelease | 46 | 10/8/2026 |
| 0.2.0.108-prerelease | 39 | 10/8/2026 |
| 0.2.0.107-prerelease | 49 | 10/8/2026 |
| 0.2.0.106-prerelease | 46 | 10/8/2026 |
| 0.2.0.105-prerelease | 42 | 10/8/2026 |
| 0.2.0.104-prerelease | 45 | 10/8/2026 |
| 0.2.0.103-prerelease | 50 | 10/8/2026 |
| 0.2.0.102-prerelease | 42 | 10/8/2026 |
| 0.2.0.101-prerelease | 51 | 10/8/2026 |
| 0.2.0.100-prerelease | 41 | 10/8/2026 |
| 0.2.0.99-prerelease | 44 | 10/8/2026 |
| 0.2.0.98-prerelease | 42 | 10/8/2026 |
| 0.2.0.97-prerelease | 42 | 10/8/2026 |
| 0.2.0.96-prerelease | 42 | 10/8/2026 |
| 0.2.0.95-prerelease | 46 | 10/8/2026 |
| 0.2.0.94-prerelease | 48 | 10/8/2026 |