{"id":20692476,"url":"https://github.com/dendrodocs/dotnet-shared-lib","last_synced_at":"2026-03-06T08:34:13.932Z","repository":{"id":254501940,"uuid":"846590161","full_name":"dendrodocs/dotnet-shared-lib","owner":"dendrodocs","description":"Shared .NET library for DendroDocs.","archived":false,"fork":false,"pushed_at":"2025-10-30T15:53:53.000Z","size":167,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T09:29:15.270Z","etag":null,"topics":["analyzer","dendrodocs","hacktoberfest","living-documentation","roslyn"],"latest_commit_sha":null,"homepage":"","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/dendrodocs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-23T14:27:02.000Z","updated_at":"2025-10-30T15:40:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"f53598b9-0b26-41df-ab41-b99da4642692","html_url":"https://github.com/dendrodocs/dotnet-shared-lib","commit_stats":null,"previous_names":["dendrodocs/dotnet-shared-lib"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/dendrodocs/dotnet-shared-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendrodocs%2Fdotnet-shared-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendrodocs%2Fdotnet-shared-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendrodocs%2Fdotnet-shared-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendrodocs%2Fdotnet-shared-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dendrodocs","download_url":"https://codeload.github.com/dendrodocs/dotnet-shared-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendrodocs%2Fdotnet-shared-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30167963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["analyzer","dendrodocs","hacktoberfest","living-documentation","roslyn"],"created_at":"2024-11-16T23:21:56.522Z","updated_at":"2026-03-06T08:34:13.915Z","avatar_url":"https://github.com/dendrodocs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DendroDocs.Shared\n\n[![Nuget][NUGET_BADGE]][NUGET_FEED] [![Coverage Status][COVERALLS_BADGE]][COVERALLS_LINK]\n\n**DendroDocs.Shared** is a shared library used across multiple components of the DendroDocs ecosystem.\nIt provides common utilities, abstractions, and extensions that are essential for the functionality of tools like [DendroDocs.Tool](https://github.com/dendrodocs/dotnet-tool) and other .NET-based projects using DendroDocs.\n\n## Features\n\n* Provides common code that can be leveraged by other tools in the DendroDocs ecosystem to ensure consistency and reduce duplication.\n* Includes helper methods and extensions that simplify common tasks like parsing, JSON handling, and model transformations.\n* Contains shared data models used by the DendroDocs analyzers and documentation generators.\n\n## Prerequisites\n\n.NET 8.0 SDK or newer.\n\n## Installation\n\nTo use **DendroDocs.Shared** in your project, install it as a NuGet package:\n\n```shell\ndotnet add package DendroDocs.Shared\n```\n\n## Security \u0026 Build Attestation\n\nThis library includes build attestation through GitHub's attest-build-provenance action, providing cryptographic proof of the build process and artifact integrity. Each published package includes verifiable provenance information that demonstrates:\n\n* The exact repository and commit that built the artifacts\n* The GitHub Actions workflow that produced the packages\n* Cryptographic signatures ensuring artifact authenticity\n\nThis ensures that the packages you install have not been tampered with and came from the official DendroDocs build pipeline.\n\n## Example usage\n\n```csharp\nusing DendroDocs.Extensions;\nusing DendroDocs.Json;\nusing Newtonsoft.Json;\n\nvar types = new List\u003cTypeDescription\u003e();\n\n// more code\n\nvar serializerSettings = JsonDefaults.SerializerSettings();\nvar result = JsonConvert.SerializeObject(types.OrderBy(t =\u003e t.FullName), serializerSettings);\n```\n\n## The DendroDocs Ecosystem\n\n**DendroDocs.Shared** is a crucial part of the broader DendroDocs ecosystem.\nExplore [DendroDocs](https://github.com/dendrodocs) to find more tools, libraries, and documentation resources that help you bridge the gap between your code and its documentation.\n\n## LivingDocumentation\n\nThis shared library consolidates the following libraries previously part of [Living Documentation](https://github.com/eNeRGy164/LivingDocumentation):\n\n* LivingDocumentation.Descriptions\n* LivingDocumentation.Extensions\n* LivingDocumentation.Abstractions\n* LivingDocumentation.Statements\n\nThese libraries have been combined and restructured for better modularity and ease of use in the DendroDocs ecosystem.\n\n## Contributing\n\nContributions are welcome! Please feel free to create [issues](https://github.com/dendrodocs/dotnet-shared-lib/issues) or [pull requests](https://github.com/dendrodocs/dotnet-shared-lib/pulls).\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE).\n\n[NUGET_BADGE]: https://img.shields.io/nuget/v/DendroDocs.Shared.svg?style=plastic\n[NUGET_FEED]: https://www.nuget.org/packages/DendroDocs.Shared/\n[COVERALLS_BADGE]: https://coveralls.io/repos/github/dendrodocs/dotnet-shared-lib/badge.svg?branch=main\n[COVERALLS_LINK]: https://coveralls.io/github/dendrodocs/dotnet-shared-lib?branch=main\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdendrodocs%2Fdotnet-shared-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdendrodocs%2Fdotnet-shared-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdendrodocs%2Fdotnet-shared-lib/lists"}