Kavram 1.0.0

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

Kavram

Kavram is a simple state management package for .net core apps. You can store your data in one place and use it wherever you want with Kavram. Kavram uses a singleton design pattern and it is open source.

**Nuget 😗* https://www.nuget.org/packages/Kavram <br/>

**Tutorial (English) 😗* Coming Soon...

**Tutorial (Turkish) 😗* Coming Soon...

Installation

  • Download this package to your project.
Install-Package Kavram -Version 1.0.0

Examples

Example-1 : .Net Core Console App with Kavram <br/> Example-2 : .Net Core Mvc App with Kavram

How to use this package ?

  • This sample code contains almost all examples.

            // Create new storage
            var kavram = KavramObject.Create();

            // We save string variable with Kavram
            String name = "Berke";
            kavram.Update("name", name);

            // We get a variable with Kavram
            var newName = kavram.Get("name");
            Console.WriteLine(newName);

            // We save list variable with Kavram
            List<int> numberList = new List<int>();
            numberList.Add(1);
            numberList.Add(2);
            numberList.Add(3);
            kavram.Update("numberList", numberList);

            // We get a list with Kavram
            IList collection = (IList)kavram.Get("numberList");
            foreach (var item in collection)
            {
                Console.WriteLine(item);
            }

            // You can check the key
            bool check = kavram.IsKeyContains("name");

            // You can delete all data
            kavram.ClearAllData();

            // You can get a count of datas
            int count = kavram.GetKeysCount();

Functions List

  • object Get(String key)
  • bool Update(String key, object data)
  • bool Delete(String key)
  • bool ClearAllData()
  • List<string> GetAllKeys()
  • int GetKeysCount()
  • bool IsKeyContains(String key)

Contact

Developer: Berke Kurnaz

Mail Address: contact@berkekurnaz.com <br/> Mail Address: kurnaz.berke1907@gmail.com

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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.0.0 650 6/6/2020