Skip to content

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.

License

Notifications You must be signed in to change notification settings

raphaelbressam/cross-cutting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross-Cutting

Cross-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.

Package Version Downloads
Cross-Cutting NuGet Nuget

Dependencies

.NET Standard 2.1

You can check supported frameworks here:

https://learn.microsoft.com/pt-br/dotnet/standard/net-standard?tabs=net-standard-2-1

Instalation

This package is available through Nuget Packages: https://www.nuget.org/packages/cross-cutting

Nuget

Install-Package Cross-Cutting

.NET CLI

dotnet add package Cross-Cutting

Json Utils

Serialize

Person person = new Person("Raphael", "Bressam");
var jsonString = JsonParser.Serialize(person);

Deserialize

string jsonString = "{ \"first_name\":\"Raphael\", \"last_name\":\"Bressam\" }";
Person person = JsonParser.Deserialize<Person>(jsonString);

String Extensions

ToBase64String

using CrossCutting.Extensions;

string fullName = "Contoso Dias";
string base64String = fullName.ToBase64String();

FromBase64String

using CrossCutting.Extensions;

string base64String = "Q29udG9zbyBEaWFz";
string fullName = base64String.FromBase64String();

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages