{"id":26155532,"url":"https://github.com/ntdls/ntdls.persistence","last_synced_at":"2026-04-24T19:31:25.504Z","repository":{"id":205301479,"uuid":"713918759","full_name":"NTDLS/NTDLS.Persistence","owner":"NTDLS","description":"Helpers for reading and writing serialized objects to/from files. Helpful for configuration files.","archived":false,"fork":false,"pushed_at":"2024-02-22T20:51:33.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-26T11:46:12.001Z","etag":null,"topics":["disk-io","persistence","preferences","serialization"],"latest_commit_sha":null,"homepage":"https://networkdls.com/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NTDLS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-03T14:13:00.000Z","updated_at":"2024-06-21T09:42:31.969Z","dependencies_parsed_at":"2023-11-17T19:56:25.226Z","dependency_job_id":"c879d809-2232-4a8e-a543-a5687f3178d3","html_url":"https://github.com/NTDLS/NTDLS.Persistence","commit_stats":null,"previous_names":["ntdls/ntdls.persistence"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTDLS%2FNTDLS.Persistence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTDLS%2FNTDLS.Persistence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTDLS%2FNTDLS.Persistence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTDLS%2FNTDLS.Persistence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NTDLS","download_url":"https://codeload.github.com/NTDLS/NTDLS.Persistence/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243004122,"owners_count":20220237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["disk-io","persistence","preferences","serialization"],"created_at":"2025-03-11T08:57:04.959Z","updated_at":"2025-12-06T19:02:36.923Z","avatar_url":"https://github.com/NTDLS.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NTDLS.Persistence\n\n📦 Be sure to check out the NuGet pacakge: https://www.nuget.org/packages/NTDLS.Persistence\n\nHelpers for reading and writing serialized objects to/from files. Helpful for configuration files.\n\n```cs\nclass UIPreferences\n{\n    public string Username { get; set; } = string.Empty;\n    public bool RememberPassword { get; set; }\n}\n\nstatic void Main(string[] args)\n{\n\n    //Example of saving preferences:\n    var preferences = new UIPreferences()\n    {\n        Username = \"JPatterson\",\n        RememberPassword = false\n    };\n\n    //The file will be given the name of the class type and the given program \n    //  name and will be stored in the common programs data directory.\n    CommonApplicationData.SaveToDisk(\"MyProgramName\", preferences);\n\n    //Exmaple loading preferences:\n    var loadedPreferences = CommonApplicationData.LoadFromDisk\u003cUIPreferences\u003e(\"MyProgramName\");\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntdls%2Fntdls.persistence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntdls%2Fntdls.persistence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntdls%2Fntdls.persistence/lists"}