DataFac.Template
0.3.19
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
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 DataFac.Template --version 0.3.19
NuGet\Install-Package DataFac.Template -Version 0.3.19
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="DataFac.Template" Version="0.3.19" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DataFac.Template" Version="0.3.19" />
<PackageReference Include="DataFac.Template" />
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 DataFac.Template --version 0.3.19
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DataFac.Template, 0.3.19"
#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 DataFac.Template@0.3.19
#: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=DataFac.Template&version=0.3.19
#tool nuget:?package=DataFac.Template&version=0.3.19
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Datafac.Template
A template repo for quickly creating a C# .NET package which builds on GitHub and publishes to NuGet.
In-the-box
- Visual Studio centric .gitignore
- Github workflow to build, test and deploy to Nuget
- NerdBank.GitVersioning
- strong naming
- build status and other badges
- package targets netstandard2.0, net8.0, net9.0, net10.0
- includes publishing symbols (snupkg)
- XUnit test project using Shoudly, VerifyXUnit and PublicApiGenerator
- unit tests target net481, net8.0, net9.0, net10.0
How to use
- Create a new repo by importing this repo.
- Globally rename "DataFac" to your organisation name in all files.
- e.g. Datafac to MyOrgName
- Globally rename "Template" to your new package name in all files.
- e.g. Template.sln to MyPackage
- Rename MyClass.cs to match your first class name.
- Rename MyClassTests.cs to match your first test class name.
- Update version.json and readme.md
- Generate and update SigningKey.snk
- Update the license properties in the .csproj file.
- Make sure your Nuget API key is not expired and is saved as a Github secret named NUGET_APIKEY in your GitHub organisation or repository.
- Build, test, commit and push!
Coming soon
- Sample Benchmarking project using BenchmarkDotNet.
- Sample data modelling project using DTOMaker.
How to sponsor
If you find this template useful, please consider sponsoring my work on GitHub at https://github.com/sponsors/Psiman62 or buy me a coffee at https://www.buymeacoffee.com/psiman62
| 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 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 is compatible. 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 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. |
| .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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.Bcl.HashCode (>= 6.0.0)
-
net10.0
- Microsoft.Bcl.HashCode (>= 6.0.0)
-
net8.0
- Microsoft.Bcl.HashCode (>= 6.0.0)
-
net9.0
- Microsoft.Bcl.HashCode (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.27 | 72 | 5/28/2026 |
| 0.3.26 | 83 | 5/26/2026 |
| 0.3.25 | 94 | 5/23/2026 |
| 0.3.24 | 93 | 5/12/2026 |
| 0.3.23 | 97 | 4/26/2026 |
| 0.3.21 | 108 | 4/25/2026 |
| 0.3.20 | 108 | 4/25/2026 |
| 0.3.19 | 104 | 4/16/2026 |
| 0.3.18 | 102 | 4/8/2026 |
| 0.3.17 | 104 | 4/6/2026 |
| 0.3.15 | 116 | 4/1/2026 |
| 0.3.14 | 99 | 3/18/2026 |
| 0.3.13 | 103 | 3/7/2026 |
| 0.3.11 | 99 | 2/27/2026 |
| 0.3.10 | 110 | 2/14/2026 |
| 0.3.9 | 127 | 2/7/2026 |
| 0.3.8 | 114 | 1/17/2026 |
| 0.3.7 | 129 | 1/6/2026 |
| 0.3.6 | 124 | 1/1/2026 |
| 0.3.5 | 214 | 12/24/2025 |
Loading failed