XperienceCommunity.DataRepository
0.0.7
dotnet add package XperienceCommunity.DataRepository --version 0.0.7
NuGet\Install-Package XperienceCommunity.DataRepository -Version 0.0.7
<PackageReference Include="XperienceCommunity.DataRepository" Version="0.0.7" />
paket add XperienceCommunity.DataRepository --version 0.0.7
#r "nuget: XperienceCommunity.DataRepository, 0.0.7"
// Install XperienceCommunity.DataRepository as a Cake Addin #addin nuget:?package=XperienceCommunity.DataRepository&version=0.0.7 // Install XperienceCommunity.DataRepository as a Cake Tool #tool nuget:?package=XperienceCommunity.DataRepository&version=0.0.7
XperienceCommunity.DataRepository
XperienceCommunity.DataRepository is a library designed to simplify data access and management within applications built on Xperience by Kentico. This library provides a repository pattern implementation, enabling developers to perform data access operations in a more structured and maintainable way.
Quick Start
Step 1: Add the NuGet Package
Add the package to your application using the .NET CLI: View the Usage Guide for more detailed instructions.
dotnet add package XperienceCommunity.DataRepository
Alternatively, you can add the package using the NuGet Package Manager in Visual Studio:
- Right-click on your project in the Solution Explorer.
- Select "Manage NuGet Packages..."
- Search for
XperienceCommunity.DataRepository
. - Click "Install" to add the package to your project.
Step 2: Configure Services
In your Startup.cs
or Program.cs
file, configure the services to use the repository pattern. Add the following code to the ConfigureServices
method:
// Register the repository services
services.AddXperienceDataRepositories(options=> { options.CacheMinutes = 60;});
Full Instructions
To install the XperienceCommunity.DataRepository
library, follow these steps:
Step 1: Add the NuGet Package
Add the package to your application using the .NET CLI: View the Usage Guide for more detailed instructions.
dotnet add package XperienceCommunity.DataRepository
Alternatively, you can add the package using the NuGet Package Manager in Visual Studio:
- Right-click on your project in the Solution Explorer.
- Select "Manage NuGet Packages..."
- Search for
XperienceCommunity.DataRepository
. - Click "Install" to add the package to your project.
Step 2: Configure Services
In your Startup.cs
or Program.cs
file, configure the services to use the repository pattern. Add the following code to the ConfigureServices
method:
// Register the repository services
services.AddXperienceDataRepositories(options=> { options.CacheMinutes = 60;});
Contributing
To see the guidelines for Contributing to Kentico open source software, please see Kentico's CONTRIBUTING.md
for more information and follow the Kentico's CODE_OF_CONDUCT
.
Instructions and technical details for contributing to this project can be found in Contributing Setup.
License
Distributed under the MIT License. See LICENSE.md
for more information.
Support
This contribution is not directly supported or maintained by Kentico. It serves to illustrate some specific functionality or is a proof of concept for a specific version of the product. Feel free to contribute yourself, file an issue, fix bugs, but Kentico does not guarantee any assistance nor support.
Description
XperienceCommunity.DataRepository is a library designed to simplify data access and management within applications built on Xperience by Kentico. This library provides a repository pattern implementation, enabling developers to perform CRUD (Create, Read, Update, Delete) operations in a more structured and maintainable way.
Key Features:
- Repository Pattern: Provides a consistent way to access data, promoting separation of concerns and testability.
- Support for .NET 8 and .NET 9: Leverages the latest features and improvements in the .NET ecosystem.
- Integration with Xperience by Kentico: Seamlessly integrates with Xperience by Kentico, allowing for efficient data management within the CMS.
- Asynchronous Operations: Supports async/await patterns for non-blocking data operations.
- Dependency Injection: Designed to work with the built-in dependency injection container in ASP.NET Core.
Scenarios Fulfilled:
- Simplified data access for applications using Xperience by Kentico.
- Improved code maintainability and testability through the repository pattern.
- Efficient handling of data operations with support for asynchronous programming.
Limitations:
- The library is designed specifically for use with Xperience by Kentico and may not be suitable for other CMS or data management systems.
- Certain advanced data operations may require custom implementations beyond the provided repository pattern.
Requirements
Library Version Matrix
- This matrix explains which versions of the library are compatible with different versions of Xperience by Kentico / Kentico Xperience 13---
Xperience Version | Library Version |
---|---|
>= 29.6.0 | 1.0.0 |
Dependencies
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.