Fusonic.Extensions.Common 8.1.3

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Fusonic.Extensions.Common --version 8.1.3
NuGet\Install-Package Fusonic.Extensions.Common -Version 8.1.3
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="Fusonic.Extensions.Common" Version="8.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fusonic.Extensions.Common --version 8.1.3
#r "nuget: Fusonic.Extensions.Common, 8.1.3"
#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.
// Install Fusonic.Extensions.Common as a Cake Addin
#addin nuget:?package=Fusonic.Extensions.Common&version=8.1.3

// Install Fusonic.Extensions.Common as a Cake Tool
#tool nuget:?package=Fusonic.Extensions.Common&version=8.1.3

Common

This project contains general, framework independent utilities and abstractions.

PropertyUtil

Utility to get the names and types from property expressions.

Example:

public class RandomClass
{
    public bool Flag { get; set; }
    public string Title { get; set; }
}
PropertyUtil.GetName<RandomClass>(c => c.Flag) //Returns "Flag"
PropertyUtil.GetType<RandomClass>(c => c.Title) //Returns typeof(string)
PropertyUtil.GetName<RandomClass>(c => c.GetType()) //Throws ArgumentException - .GetType() is no valid property expression

PathUtil

Utility for paths. Does not try to replicate System.IO.Path, but adds some helpers that Path doesn't.

Currently this only has methods for removing invalid chars from paths and filenames, as Path.GetInvalidFileNameChars() returns different values based on the OS, while PathUtil uses a fixed set. This may be for example required when generating a filename for a download.

Transactions

If you need to use trasactions, use the transaction scope handler to run your code in one. You normally don't need to care about transactions, as the MediatR-Pipeline and Hangfire-Jobs have handlers for that (TransactionalDecorator, TransactionalJobHandler). See the Hangfire or MediatR docs for details.

Container.RegisterSingleton<ITransactionScopeHandler, TransactionScopeHandler>();
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Fusonic.Extensions.Common:

Package Downloads
Fusonic.Extensions.Hangfire The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides Hangfire extensions, especially suited for CQRS development. (Out of band processing).

Fusonic.Extensions.MediatR The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides abstractions for MediatR.

Fusonic.Extensions.AspNetCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides ASP.NET Core extensions (Middelwares, Utilities ...)

Fusonic.Extensions.EntityFrameworkCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides EF Core extensions (Utilities, helpers ...)

Fusonic.Extensions.Mediator The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides abstractions for MediatR.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.0-preview.1 62 4/5/2024
8.1.3 214 3/27/2024
8.1.2 128 3/27/2024
8.1.1 253 3/1/2024
8.1.0 848 1/26/2024
8.0.1 605 12/18/2023
8.0.0 642 11/21/2023
8.0.0-preview1 524 10/4/2023
7.4.0 363 1/25/2024
7.3.0 614 10/11/2023
7.2.1-rc.1 81 8/28/2023
7.2.0 1,302 6/28/2023
7.2.0-alpha.1 76 6/27/2023
7.1.2 1,230 5/25/2023
7.1.1 1,601 4/3/2023
7.1.1-rc.2 82 3/30/2023
7.1.1-rc.1 76 3/30/2023
7.1.0 1,651 2/28/2023
7.1.0-rc.1 91 2/20/2023
7.0.4-rc.5 87 2/23/2023
7.0.4-rc.4 86 2/23/2023
7.0.4-rc.3 86 2/23/2023
7.0.4-rc.2 86 2/22/2023
7.0.4-rc.1 92 2/16/2023
7.0.3 1,148 2/16/2023
7.0.2 991 2/9/2023
7.0.2-rc.1 103 2/2/2023
7.0.1 1,432 1/26/2023
7.0.0 1,159 1/24/2023
7.0.0-preview1 772 7/18/2022
7.0.0-beta.9 104 1/24/2023
7.0.0-beta.8 97 1/23/2023
7.0.0-beta.7 94 1/23/2023
7.0.0-beta.6 96 1/23/2023
7.0.0-beta.5 102 1/23/2023
7.0.0-beta.4 99 1/19/2023
7.0.0-beta.3 93 1/17/2023
7.0.0-beta.2 98 1/11/2023
7.0.0-beta.1 81 11/24/2022
6.2.2 16,095 9/20/2022
6.2.2-rc.1 114 9/19/2022
6.2.1 5,168 5/4/2022
6.2.0 1,789 4/21/2022
6.2.0-rc.2 124 4/21/2022
6.2.0-rc.1 118 4/20/2022
6.1.1 2,204 3/1/2022
6.1.0 1,861 2/10/2022
6.1.0-rc.3 119 2/10/2022
6.1.0-rc.2 112 2/10/2022
6.1.0-rc.1 122 2/9/2022
6.0.3 2,734 1/18/2022
6.0.2 4,462 1/10/2022
6.0.1 1,221 12/16/2021
6.0.0 1,737 12/13/2021
6.0.0-rc.6 160 12/6/2021
6.0.0-rc.5 346 12/6/2021
6.0.0-rc.4 536 12/6/2021
6.0.0-rc.3 383 12/6/2021
6.0.0-rc.2 345 12/6/2021
6.0.0-rc.1 659 11/15/2021
5.4.0 2,099 10/13/2021
5.3.0 1,574 9/23/2021
5.3.0-rc.1 335 9/17/2021
5.2.0 4,398 5/20/2021
5.2.0-rcjh.6 187 5/19/2021
5.2.0-rcjh.5 140 5/19/2021
5.2.0-rcjh.4 169 5/19/2021
5.2.0-rcjh.3 143 5/19/2021
5.2.0-rcjh.2 134 4/12/2021
5.2.0-rcjh.1 141 4/12/2021
5.1.3 1,533 5/19/2021
5.1.2 15,091 3/26/2021
5.1.1 2,183 1/13/2021
5.1.0 3,232 12/16/2020
5.0.0 3,652 11/17/2020
5.0.0-rc.1 268 10/15/2020
3.0.0 20,099 10/8/2020
2.1.0 27,057 8/25/2020
2.0.2 1,816 8/19/2020
2.0.1 5,006 7/3/2020
2.0.0 1,317 6/17/2020
1.0.0 1,579 6/15/2020