Jot 1.2.2
See the version list below for details.
dotnet add package Jot --version 1.2.2
NuGet\Install-Package Jot -Version 1.2.2
<PackageReference Include="Jot" Version="1.2.2" />
paket add Jot --version 1.2.2
#r "nuget: Jot, 1.2.2"
// Install Jot as a Cake Addin #addin nuget:?package=Jot&version=1.2.2 // Install Jot as a Cake Tool #tool nuget:?package=Jot&version=1.2.2
A library that makes it easier to persist and reapply application state (window locations and sizes, user settings and preferences, etc.).
In its simplest use case you can use it as an alternative to a .settings file. Take for example a window.
To make its size and location immune to shutdown, you would basically only write something like this:
stateTrackerInstance
.Configure(theWindow).IdentifyAs("theMainWindow")
.AddProperties<MainWindow>(w => w.Height, w => w.Width, w => w.Left, w => w.Top, w => w.WindowState)
.RegisterPersistTrigger("Closed")
.Apply();
No need to define properties in the .settings file and then use them from two additional places (window startup and window close)
You can control almost everything about Jot: where the data is stored, how and if it is serialized, what data to take care of and when to persist and apply which piece of data.
It's not limited to tracking forms and windows, you can track any kind of object, e.g. settings objects, user preferences, last selections etc.
And it's not just for desktop applications either, you can use it to make MVC controller properties stateful (it can use Session, UserProfile or some other custom store as the backing store for the data).
The library is tiny (well under 1000 LOC) it's highly customizable and provides many extension points, but comes with batteries included.
The source repository is on github, and there is an article describing it on codeproject (check the project url). The article is a bit dated compared to the library code though.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Jot:
Package | Downloads |
---|---|
PowWinForms
WinForms reactive utilities |
|
RS-StandardComponents
Containing the core components of RS-Base like converters, RSView, Snacky, and other nice stuff |
|
MsUtilities
Utility functions to speed coding up, basically used in WPF applications built up on Prism framework. |
|
Jot.Unity
Contains a custom extension for the Unity container that applies tracking to all objects it builds up (injects with dependencies). Apply an attribute to the properties you want to be persistent and you're already done. |
|
PowRxVar.WinForms
Composable reactive variables |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Jot:
Repository | Stars |
---|---|
micahmo/WgServerforWindows
Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows
|
|
CXWorld/CapFrameX
Frametime capture and analysis tool
|
|
baffler/Transparent-Twitch-Chat-Overlay
Twitch chat on top of windowed games for single monitor streamers
|
|
bcssov/IronyModManager
Mod Manager for Paradox Games. Official Discord: https://discord.gg/t9JmY8KFrV
|
Version | Downloads | Last updated |
---|---|---|
2.1.17 | 14,852 | 7/19/2023 |
2.1.16 | 807 | 5/22/2023 |
2.1.15 | 510 | 4/25/2023 |
2.1.13 | 19,111 | 2/4/2022 |
2.1.12 | 571 | 1/29/2022 |
2.1.11 | 10,203 | 9/14/2021 |
2.1.10 | 399 | 9/14/2021 |
2.1.9 | 385 | 9/14/2021 |
2.1.8 | 11,826 | 12/9/2020 |
2.1.7 | 4,819 | 6/17/2020 |
2.1.6 | 719 | 6/7/2020 |
2.1.4 | 2,814 | 12/3/2019 |
2.0.3 | 4,896 | 10/9/2019 |
2.0.1 | 2,943 | 3/20/2019 |
2.0.0 | 835 | 3/18/2019 |
1.4.1 | 9,979 | 12/25/2017 |
1.4.0 | 1,564 | 8/16/2017 |
1.3.11 | 13,446 | 11/19/2016 |
1.3.10 | 1,390 | 11/6/2016 |
1.3.9 | 1,370 | 11/6/2016 |
1.3.8 | 1,390 | 11/6/2016 |
1.3.7 | 1,347 | 11/6/2016 |
1.3.6 | 1,355 | 11/6/2016 |
1.3.5 | 1,371 | 11/6/2016 |
1.3.4 | 1,340 | 11/6/2016 |
1.3.3 | 1,645 | 11/5/2016 |
1.3.2 | 1,591 | 11/5/2016 |
1.3.1 | 1,511 | 11/5/2016 |
1.3.0 | 1,530 | 11/1/2016 |
1.2.7 | 9,054 | 3/10/2016 |
1.2.6 | 1,252 | 3/10/2016 |
1.2.5 | 1,267 | 3/10/2016 |
1.2.4 | 1,157 | 3/10/2016 |
1.2.3 | 1,799 | 8/22/2015 |
1.2.2 | 1,523 | 8/22/2015 |
1.2.1 | 1,234 | 8/22/2015 |
1.1.99 | 1,496 | 8/20/2015 |
1.0.99 | 1,488 | 8/20/2015 |