TypeCache 8.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package TypeCache --version 8.0.0
                    
NuGet\Install-Package TypeCache -Version 8.0.0
                    
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="TypeCache" Version="8.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TypeCache" Version="8.0.0" />
                    
Directory.Packages.props
<PackageReference Include="TypeCache" />
                    
Project file
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 TypeCache --version 8.0.0
                    
#r "nuget: TypeCache, 8.0.0"
                    
#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 TypeCache@8.0.0
                    
#: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=TypeCache&version=8.0.0
                    
Install as a Cake Addin
#tool nuget:?package=TypeCache&version=8.0.0
                    
Install as a Cake Tool

TypeCache {$}

sam987883@gmail.com

Source Code

Request Features (or report a bug) (if any)


Faster Reflection

  • System.Type.Create(...)
  • System.Type.FindConstructor(...)
  • System.Type.FindMethod(...)
  • System.Type.FindStaticMethod(...)
  • System.Type.GetFieldValue(...)
  • System.Type.GetPropertyValue(...)
  • System.Type.GetStaticFieldValue(...)
  • System.Type.GetStaticPropertyValue(...)
  • System.Type.InvokeMethod(...)
  • System.Type.InvokeStaticMethod(...)
  • System.Type.SetFieldValue(...)
  • System.Type.SetPropertyValue(...)
  • System.Type.SetStaticFieldValue(...)
  • System.Type.SetStaticPropertyValue(...)
  • System.Reflection.FieldInfo.GetFieldValue(...)
  • System.Reflection.PropertyInfo.GetPropertyValue(...)
  • System.Reflection.MethodInfo.InvokeMethod(...)
  • System.Reflection.FieldInfo.SetFieldValue(...)
  • System.Reflection.PropertyInfo.SetPropertyValue(...)

Better Object Mapping

  • dictionary.Map(...)
  • dictionary.MapToModel(...)
  • model.MapTo(...)
  • model.MapToDictionary(...)

Better Performing Mediator/Mediation

  • TypeCache.Mediation.IAfterRule
  • TypeCache.Mediation.IMediator
  • TypeCache.Mediation.IRequest
  • TypeCache.Mediation.IRule
  • TypeCache.Mediation.IValidationRule
  • TypeCache.Mediation.RuleFactory
  • TypeCache.Mediation.RulesBuilder

Simple Robust Database CRUD Access

  • System.Data.Common.DbCommand.ExecuteReaderAsync(...)
  • System.Data.Common.DbCommand.GetDataTableAsync(...)
  • System.Data.Common.DbCommand.GetJsonArrayAsync(...)
  • System.Data.Common.DbCommand.GetJsonAsync(...)
  • System.Data.Common.DbCommand.GetModelsAsync(...)
  • System.Data.Common.DbCommand.GetStringAsync(...)
  • System.Data.Common.DbCommand.GetValueAsync(...)
  • System.Data.Common.DbDataReader.GetColumns(...)
  • System.Data.Common.DbDataReader.ReadModelsAsync(...)
  • System.Data.Common.DbDataReader.ReadJsonArrayAsync(...)
  • System.Data.Common.DbDataReader.ReadJsonAsync(...)

Helpful Extensions

  • Array/Linq/Enumerator extensions
  • Assertion extensions
  • System.Linq.Expressions extensions
  • System.BitConverter extensions
  • System.Char extensions
  • System.Enum extensions
  • System.ReadOnlySpan<> extensions
  • System.Reflection extensions
  • System.Span<> extensions
  • System.Text.Rune extensions
  • System.Text.StringBuilder extensions
  • Range/Index extensions
  • Time Zone extensions
  • And many more!
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.  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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TypeCache:

Package Downloads
TypeCache.GraphQL

An easier way to add endpoints to GraphQL: Attribute based GraphQL type generation. Simplified GraphQL DataLoader support. Automatic generation of SQL related endpoints.

TypeCache.Web

Web API access to SQL database data operations: allows the front-end to decide how to retrieve and manipulate data.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.1.2 109 4/25/2025
9.1.1 179 4/23/2025
9.1.0 107 2/23/2025
9.0.2 123 12/15/2024
9.0.1 127 12/6/2024
9.0.0 131 11/26/2024
8.5.1 172 4/24/2025
8.5.0 114 2/24/2025
8.4.3 129 12/15/2024
8.4.2 107 12/6/2024
8.4.1 153 11/26/2024
8.4.0 146 10/28/2024
8.3.1 194 6/21/2024
8.3.0 148 4/17/2024
8.2.1 272 3/20/2024
8.2.0 269 3/19/2024
8.1.3 317 3/8/2024
8.1.2 540 1/31/2024
8.1.1 592 1/31/2024
8.1.0 541 1/31/2024
8.0.1 798 12/20/2023
8.0.0 1,000 12/11/2023
7.5.0 246 3/21/2024
7.4.1 909 11/12/2023
7.4.0 1,066 9/10/2023
7.3.14 1,149 8/13/2023
7.3.13 1,178 7/30/2023
7.3.12 1,190 7/17/2023
7.3.11 1,237 6/14/2023
7.3.10 1,336 3/19/2023
7.3.9 1,278 3/10/2023
7.3.8 1,347 3/10/2023
7.3.6 1,345 1/24/2023
7.3.5 1,381 1/22/2023
7.3.4 1,349 1/18/2023
7.3.3 1,341 1/17/2023
7.3.2 1,373 1/15/2023
7.3.1 1,397 1/11/2023
7.2.6 1,376 12/26/2022
7.2.5 1,432 12/26/2022
7.2.3 1,395 12/25/2022
7.2.2 1,513 12/25/2022
7.2.1 1,364 12/14/2022
7.2.0 1,473 12/14/2022
7.1.3 1,408 12/4/2022
7.1.2 1,396 11/27/2022
7.1.1 1,431 11/23/2022
7.1.0 1,422 11/21/2022
7.0.0 1,391 11/17/2022
6.3.2 1,306 3/19/2023
6.3.1 1,297 3/10/2023
6.3.0 1,363 2/1/2023
6.2.0 1,732 8/17/2022
6.1.3 1,662 4/20/2022
6.1.2 1,757 4/18/2022
6.1.1 1,742 3/27/2022
6.1.0 1,784 3/14/2022
6.0.9 1,626 3/7/2022
6.0.8 1,747 3/7/2022
6.0.7 1,363 1/8/2022
6.0.6 1,532 1/6/2022
6.0.5 1,410 1/4/2022
6.0.4 1,359 1/2/2022
6.0.3 1,523 1/1/2022
6.0.2 1,530 12/21/2021
6.0.1 2,524 11/28/2021
6.0.0 1,552 11/15/2021
1.0.67 1,575 10/24/2021
1.0.66 1,852 10/3/2021
1.0.65 1,702 9/11/2021
1.0.64 1,494 9/10/2021
1.0.63 1,562 9/4/2021
1.0.62 1,667 8/28/2021
1.0.61 1,727 8/15/2021
1.0.60 1,592 8/8/2021
1.0.59 1,454 8/2/2021
1.0.58 1,443 8/2/2021
1.0.57 1,604 8/1/2021
1.0.56 1,582 7/19/2021
1.0.55 1,431 7/18/2021
1.0.54 1,553 7/18/2021
1.0.53 1,501 7/18/2021
1.0.52 1,419 7/14/2021
1.0.51 1,470 7/11/2021
1.0.50 1,594 7/11/2021
1.0.49 1,511 7/2/2021
1.0.48 1,474 6/30/2021
1.0.47 1,630 6/30/2021
1.0.46 1,635 6/18/2021
1.0.45 1,481 6/12/2021
1.0.44 1,579 6/11/2021
1.0.43 1,642 6/10/2021
1.0.42 1,625 6/6/2021
1.0.41 1,561 6/5/2021
1.0.40 1,557 6/1/2021
1.0.39 1,599 5/31/2021
1.0.38 1,660 5/30/2021
1.0.37 1,561 5/30/2021
1.0.36 1,675 4/5/2021
1.0.35 1,660 3/28/2021
1.0.34 1,669 3/22/2021
1.0.33 1,529 3/18/2021
1.0.32 1,661 3/18/2021
1.0.31 1,550 3/17/2021
1.0.30 1,723 3/17/2021
1.0.29 1,596 3/9/2021
1.0.28 1,744 3/7/2021
1.0.27 1,782 3/1/2021
1.0.26 1,585 2/28/2021
1.0.25 1,558 2/26/2021
1.0.24 1,761 2/25/2021
1.0.23 1,684 2/24/2021
1.0.22 1,542 2/21/2021
1.0.21 1,629 2/20/2021
1.0.20 1,682 2/19/2021
1.0.19 1,555 2/2/2021
1.0.18 1,711 1/29/2021
1.0.17 1,773 1/28/2021
1.0.16 1,733 1/23/2021
1.0.15 1,904 12/26/2020
1.0.14 2,285 12/20/2020
1.0.13 2,151 12/20/2020
1.0.12 1,903 8/20/2020
1.0.11 1,942 8/7/2020
1.0.10 1,969 7/28/2020
1.0.9 2,038 7/28/2020
1.0.8 2,043 7/25/2020
1.0.7 2,014 7/21/2020
1.0.6 2,066 7/5/2020
1.0.5 2,084 7/5/2020
1.0.4 2,001 7/4/2020
1.0.3 2,031 7/3/2020
1.0.2 2,022 7/3/2020
1.0.1 2,053 7/2/2020
1.0.0 2,005 6/17/2020