NuvTools.Security 9.5.0

dotnet add package NuvTools.Security --version 9.5.0
                    
NuGet\Install-Package NuvTools.Security -Version 9.5.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="NuvTools.Security" Version="9.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NuvTools.Security" Version="9.5.0" />
                    
Directory.Packages.props
<PackageReference Include="NuvTools.Security" />
                    
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 NuvTools.Security --version 9.5.0
                    
#r "nuget: NuvTools.Security, 9.5.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 NuvTools.Security@9.5.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=NuvTools.Security&version=9.5.0
                    
Install as a Cake Addin
#tool nuget:?package=NuvTools.Security&version=9.5.0
                    
Install as a Cake Tool

Nuv Tools Security Libraries

This repository provides a set of libraries for implementing security features in .NET applications, including general-purpose security utilities, ASP.NET Core integrations, and Blazor authentication helpers.

Libraries Overview

NuvTools.Security

Common library for security purposes. Includes helpers for cryptography, hashing, and other security-related utilities.

NuvTools.Security.AspNetCore

Common library for security purposes in ASP.NET Core. Provides configuration models and helpers for managing authentication, authorization, and security settings.

NuvTools.Security.AspNetCore.Blazor

A helper library for managing authentication and security-related tasks in Blazor applications. Facilitates manual and OIDC-based authentication state management.

Getting Started

  1. Install via NuGet:

    • Search for the desired package on NuGet or use the following commands:
      dotnet add package NuvTools.Security
      dotnet add package NuvTools.Security.AspNetCore
      dotnet add package NuvTools.Security.AspNetCore.Blazor
      
  2. Usage Example:

    • Hashing a string:
      using NuvTools.Security.Helpers;
      
      string hash = CryptographyHelper.ComputeSHA256Hash("your-value");
      
    • ASP.NET Core Security Configuration:
      // appsettings.json
      {
        "NuvTools.Security": {
          "Issuer": "your-issuer",
          "Audience": "your-audience",
          "SecretKey": "your-secret-key"
        }
      }
      
      using NuvTools.Security.AspNetCore.Configurations;
      
      var config = configuration.GetSection("NuvTools.Security").Get<SecurityConfigurationSection>();
      

License

This project is licensed under the MIT License. See the LICENSE file for details.

Publishing

To publish packages to your NuGet source, use:

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 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 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 (4)

Showing the top 4 NuGet packages that depend on NuvTools.Security:

Package Downloads
NuvTools.Security.Identity

Helper library to be used with ASP.NET Identity.

NuvTools.Security.Identity.AspNetCore

Library to use with ASP.NET Identity modules on server-side.

NuvTools.Security.AspNetCore.Blazor

A helper library for managing authentication and security-related tasks in Blazor applications.

NuvTools.Security.AspNetCore.Extensions

Common library for security purposes in ASP.NET Core.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.5.0 215 10/26/2025
9.2.0 600 7/13/2025
9.1.2 907 6/20/2025
9.1.1 908 5/22/2025
9.1.0 313 4/1/2025
9.0.0 145 11/13/2024
8.1.0 153 9/10/2024
8.0.3 196 3/5/2024
7.1.0 294 9/10/2023
7.0.1 235 8/27/2023
7.0.0 386 2/26/2023