SpectraUtils 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package SpectraUtils --version 1.0.4                
NuGet\Install-Package SpectraUtils -Version 1.0.4                
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="SpectraUtils" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpectraUtils --version 1.0.4                
#r "nuget: SpectraUtils, 1.0.4"                
#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 SpectraUtils as a Cake Addin
#addin nuget:?package=SpectraUtils&version=1.0.4

// Install SpectraUtils as a Cake Tool
#tool nuget:?package=SpectraUtils&version=1.0.4                

Dependency

This library was created by .Net6.0

Description

The package made to step into the world of NuGet as a jr. software developer.

Use

        ISpectraUtil helper = new SperctraUtil();
		string name = "oĞuzHan";
        name = helper.NameEdit.NameCorrection(name);
            
        string sirName = helper.NameEdit.SirNameCorrection("karagüzel");

        string normalizedName = helper.NameEdit.StandardizeCharacters("oğuzhan");

        string userName = helper.NameEdit.CreateUserName("oğuzhan");

        string password = helper.PasswordHelper.CreatePassword(
            passwordLength:8,
            includeLowercaseLetter:true,
            includeNumber:true,
            includeUppercaseLetter:true,
            includeSpecialCharacter:true
            );

        string standartPassword = helper.PasswordHelper.CreateStardartPassword;
            
        [MinimumAge(18)]
        public DateTime birthDate { get; set; }
        [TCIDValidation] // Id number validation for Türkiye 
        public string Identity { get; set; }
        [AllowedExtensions(extensions: new string[] { ".jpg", ".jpeg", ".png", ".pdf" }, maxFileSizeInBytes:1024*1024*2)]
        public string FilePath { get; set; }
        [AllowedExtensions(extensions: new string[] { ".jpg", ".jpeg", ".png", ".pdf" }, maxFileSizeInBytes:1024*1024*2)]
        public IFormFile File { get; set; }

Result

Oğuzhan KARAGÜZEL oguzhan oguzhan1593 &W3Juv}r (random password) M{3jq8N3 (random password)

Validation error message!

You can check it on github

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

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
1.1.0 249 10/14/2023
1.0.4 202 8/15/2023
1.0.3 179 8/15/2023 1.0.3 is deprecated because it has critical bugs.
1.0.0 181 8/11/2023