{"id":37032163,"url":"https://github.com/raphaelbressam/cross-cutting","last_synced_at":"2026-01-14T03:57:08.640Z","repository":{"id":186969171,"uuid":"676068045","full_name":"raphaelbressam/cross-cutting","owner":"raphaelbressam","description":"Common methods provided by a specific layer or service used by all layers of an application. It would be like a layer/service that crosses the entire hierarchy.","archived":false,"fork":false,"pushed_at":"2023-11-28T13:15:34.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T04:07:32.436Z","etag":null,"topics":["crosscuttingconcerns","json"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphaelbressam.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}},"created_at":"2023-08-08T11:08:47.000Z","updated_at":"2023-08-08T12:47:32.000Z","dependencies_parsed_at":"2023-08-08T13:27:55.587Z","dependency_job_id":"fccd1776-42e3-458b-8d33-a922018ea3f0","html_url":"https://github.com/raphaelbressam/cross-cutting","commit_stats":null,"previous_names":["raphaelbressam/cross-cutting"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raphaelbressam/cross-cutting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbressam%2Fcross-cutting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbressam%2Fcross-cutting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbressam%2Fcross-cutting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbressam%2Fcross-cutting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphaelbressam","download_url":"https://codeload.github.com/raphaelbressam/cross-cutting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelbressam%2Fcross-cutting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["crosscuttingconcerns","json"],"created_at":"2026-01-14T03:57:07.882Z","updated_at":"2026-01-14T03:57:08.632Z","avatar_url":"https://github.com/raphaelbressam.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross-Cutting\nCross-Cutting is a common methods provided by a specific layer or service used by all layers of an application. It would be like a layer/service that crosses the entire hierarchy.\n\n\n| Package |  Version | Downloads |\n| ------- | ----- | ----- |\n| `Cross-Cutting` | [![NuGet](https://img.shields.io/nuget/v/Cross-Cutting.svg)](https://nuget.org/packages/cross-ctting) | [![Nuget](https://img.shields.io/nuget/dt/cross-cutting.svg)](https://nuget.org/packages/Cross-Cutting) |\n\n\n### Dependencies\n.NET Standard 2.1\n\nYou can check supported frameworks here:\n\nhttps://learn.microsoft.com/pt-br/dotnet/standard/net-standard?tabs=net-standard-2-1\n\n### Instalation\nThis package is available through Nuget Packages: https://www.nuget.org/packages/cross-cutting\n\n\n**Nuget**\n```\nInstall-Package Cross-Cutting\n```\n\n**.NET CLI**\n```\ndotnet add package Cross-Cutting\n```\n\n## Json Utils\n### Serialize\n```csharp\nPerson person = new Person(\"Raphael\", \"Bressam\");\nvar jsonString = JsonParser.Serialize(person);\n```\n### Deserialize\n```csharp\nstring jsonString = \"{ \\\"first_name\\\":\\\"Raphael\\\", \\\"last_name\\\":\\\"Bressam\\\" }\";\nPerson person = JsonParser.Deserialize\u003cPerson\u003e(jsonString);\n```\n\n## String Extensions\n### ToBase64String\n```csharp\nusing CrossCutting.Extensions;\n\nstring fullName = \"Contoso Dias\";\nstring base64String = fullName.ToBase64String();\n```\n### FromBase64String\n```csharp\nusing CrossCutting.Extensions;\n\nstring base64String = \"Q29udG9zbyBEaWFz\";\nstring fullName = base64String.FromBase64String();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelbressam%2Fcross-cutting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphaelbressam%2Fcross-cutting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelbressam%2Fcross-cutting/lists"}