NetChris.Core
13.0.0
Prefix Reserved
dotnet add package NetChris.Core --version 13.0.0
NuGet\Install-Package NetChris.Core -Version 13.0.0
<PackageReference Include="NetChris.Core" Version="13.0.0" />
<PackageVersion Include="NetChris.Core" Version="13.0.0" />
<PackageReference Include="NetChris.Core" />
paket add NetChris.Core --version 13.0.0
#r "nuget: NetChris.Core, 13.0.0"
#:package NetChris.Core@13.0.0
#addin nuget:?package=NetChris.Core&version=13.0.0
#tool nuget:?package=NetChris.Core&version=13.0.0
NetChris.Core
Base metadata and operational classes for .NET Core development.
CommandResult
Supports, in our own way, the Result pattern. Implementations of ICommandResult can be used to return the result of a command, successful or not.
These types can be used for simple success and failure results:
SuccessfulCommandResultand its generic counterpartSuccessfulCommandResult<T>UnsuccessfulCommandResultand its generic counterpartUnsuccessfulCommandResult<T>
You can find other examples of this pattern in something like Ardalis.Result.
CommandResult References
CanonicalApplicationName
Represents the application's Canonical Application Name: the application aggregate and application component, each with a long and short form. Values must adhere to the name part normalization rules:
- Long form (
applicationAggregate,applicationComponent): lower-case letters, numbers, and underscores only, beginning with a lower-case letter. - Short form (
applicationAggregateShort,applicationComponentShort): 1 to 4 lower-case letters and/or numbers only.
CanonicalApplicationName.FromConfiguration(IConfiguration) builds an instance from the following well-known configuration keys, failing fast with a clear error if any is missing or empty:
netchris:application:aggregatenetchris:application:aggregateShortnetchris:application:componentnetchris:application:componentShort
ApplicationMetadata
IApplicationMetadata/ApplicationMetadata capture basic metadata about the running application and its execution instance: ApplicationName, CanonicalApplicationName, ApplicationVersion, InformationalVersion, EnvironmentName, MachineName, OSPlatform, OSVersion, UserName, ClrVersion, and StartTimestamp.
ApplicationMetadata.GetApplicationMetadata(assembly, applicationAggregate, applicationAggregateShort, applicationComponent, applicationComponentShort, environmentName)builds an instance, discerningApplicationNamefrom the given assembly's name.ApplicationMetadata.GetApplicationMetadata(assembly, configuration, environmentName)does the same, but builds itsCanonicalApplicationNameviaCanonicalApplicationName.FromConfiguration(configuration)using the well-known configuration keys above.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Bcl.TimeProvider (>= 10.0.9)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on NetChris.Core:
| Package | Downloads |
|---|---|
|
NetChris.Logging
Tools for working with logging |
|
|
NetChris.Configuration
Tools for working with Configuration |
|
|
NetChris.AspNetCore.Diagnostics.Entities
Common entities used by NetChris.AspNetCore.Diagnostics and clients of NetChris.AspNetCore.Diagnostics. |
|
|
NetChris.CommandProcessing
Tools related to command processing |
|
|
NetChris.AspNetCore.Diagnostics
Provides diagnostics capabilities, including a well-known endpoint for a subscribing ASP.NET Core application which outputs diagnostic and health-related information. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 13.0.0 | 155 | 7/12/2026 |
| 13.0.0-prerelease-1 | 98 | 7/11/2026 |
| 12.0.13 | 157 | 3/1/2026 |
| 12.0.12 | 131 | 3/1/2026 |
| 12.0.0 | 893 | 1/25/2026 |
| 12.0.0-prelease-2 | 276 | 5/25/2025 |
| 12.0.0-prelease-1 | 213 | 5/25/2025 |
| 11.4.0 | 218 | 1/11/2026 |
| 11.3.0 | 223 | 1/11/2026 |
| 11.2.0 | 1,564 | 11/23/2025 |
| 11.1.0 | 755 | 5/11/2025 |
| 11.0.0 | 301 | 5/11/2025 |
| 10.1.0 | 390 | 5/7/2025 |
| 10.0.0 | 941 | 12/15/2024 |
| 9.5.0 | 267 | 12/15/2024 |
| 9.4.3 | 2,722 | 11/25/2024 |
| 9.4.2 | 268 | 11/25/2024 |
| 9.4.0 | 777 | 6/1/2024 |
| 9.3.0 | 772 | 5/18/2024 |
| 9.2.0 | 316 | 5/18/2024 |