Skip to content
/ YDotNet Public

a .NET library designed to help you build robust, scalable, and maintainable applications with ease. It brings together three essential components that streamline error handling, data access, and transactional operations.

Notifications You must be signed in to change notification settings

y4nder/YDotNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

YDotNet πŸš€ - A .NET Utility Library

Yander is a powerful .NET library designed to help you build robust, scalable, and maintainable applications with ease. It brings together three essential components that streamline error handling, data access, and transactional operations.

✨ Write cleaner code, handle errors elegantly, and simplify your data layerβ€”all with YDotNet!

πŸ› οΈ Core Components

1️⃣ ResultType – Smarter Error Handling

A powerful Result pattern implementation to handle errors without exceptions. With ResultType, you can:
βœ… Handle errors explicitly instead of relying on exceptions
βœ… Chain operations seamlessly using fluent syntax
βœ… Keep your error handling type-safe & predictable
βœ… Clearly separate success and failure paths

πŸ“– Read the ResultType Documentation β†’


2️⃣ Repository – Generic Repository Pattern

A flexible repository pattern implementation that simplifies data access in .NET applications. Features include:
πŸ› οΈ Standard CRUD operations
πŸ” Type-safe entity handling
🌐 Supports various data sources
🧩 Seamless integration with UnitOfWork

πŸ“– Read the Repository Documentation β†’


3️⃣ UnitOfWork – Transaction Management Made Easy

A clean Unit of Work implementation for managing transactions and ensuring data consistency. Benefits:
πŸ’Ύ Atomic database operations
πŸ”„ Guarantees consistent data state
⚑ Works perfectly with the Repository pattern
πŸ“Œ Simplifies data persistence

πŸ“– Read the UnitOfWork Documentation β†’


4️⃣ NoSqlRepository – Simplified NoSQL Data Access

An intuitive NoSQL repository pattern implementation for managing data in NoSQL databases such as MongoDB, Cassandra, and others. Features include:
πŸ“ CRUD Operations: Create, Read, Update, and Delete documents with ease.
πŸ§‘β€πŸ’» Pagination: Seamlessly paginate your read operations to fetch data in chunks.
πŸ”§ MongoDB Configuration Extension: Simplify your MongoDB setup with our extension method.
πŸ’ͺ Super Flexible: Works with any type of entity, just like magic.

πŸ“– Read the NoSqlRepository Documentation β†’


πŸ“¦ Installation

Install the components you need using NuGet:

dotnet add package YDotNet.ResultType
dotnet add package YDotNet.Repository
dotnet add package YDotNet.UnitOfWork
dotnet add package YDotNet.NoSqlRepository

πŸš€ Features

βœ… Modern C# features – Leverages the latest C# improvements
πŸ’ͺ Type-safe operations – Ensures compile-time safety
🧩 Modular design – Use only the components you need
πŸ“¦ Easy integration – Plug & play with your existing codebase
πŸ”§ Extensible architecture – Customize as needed
πŸ“ Comprehensive documentation – Get up and running fast


πŸ“œ Requirements

  • .NET 6.0 or later
  • C# 10.0 or later

🀝 Contributing

Feel free to submit a pull request or open an issue. πŸš€


πŸ“„ License

MIT License – Open-source and free to use!


πŸ’¬ Need Help?

πŸ“’ If you encounter any issues, file an issue on our GitHub repository. We’re here to help!

About

a .NET library designed to help you build robust, scalable, and maintainable applications with ease. It brings together three essential components that streamline error handling, data access, and transactional operations.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages