SpectraUtils 1.1.0

dotnet add package SpectraUtils --version 1.1.0                
NuGet\Install-Package SpectraUtils -Version 1.1.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="SpectraUtils" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpectraUtils --version 1.1.0                
#r "nuget: SpectraUtils, 1.1.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.
// Install SpectraUtils as a Cake Addin
#addin nuget:?package=SpectraUtils&version=1.1.0

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

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.

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 247 10/14/2023
1.0.4 200 8/15/2023
1.0.3 177 8/15/2023 1.0.3 is deprecated because it has critical bugs.
1.0.0 179 8/11/2023

Performance optimization has been made. AllowedExtension attribute adjusted to IFormFile