Xeku.Core.WebApi
0.0.0.7
dotnet add package Xeku.Core.WebApi --version 0.0.0.7
NuGet\Install-Package Xeku.Core.WebApi -Version 0.0.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xeku.Core.WebApi" Version="0.0.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xeku.Core.WebApi" Version="0.0.0.7" />
<PackageReference Include="Xeku.Core.WebApi" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Xeku.Core.WebApi --version 0.0.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xeku.Core.WebApi, 0.0.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Xeku.Core.WebApi@0.0.0.7
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Xeku.Core.WebApi&version=0.0.0.7
#tool nuget:?package=Xeku.Core.WebApi&version=0.0.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Xeku.Core.WebApi
Xeku.Core.WebApi provides the foundational Web API integration for the Xeku ecosystem. It introduces a plugin-based CompositeDataService architecture and OData extensions to facilitate building modular, scalable API endpoints.
Features
- Composite Data Service: A robust
IDataServiceimplementation that aggregates multiple data service plugins, allowing modular data access logic. - OData Extensions: Helper methods (
GetODataQuery) to easily expose XPO queryables as OData-compatible endpoints. - Security Middleware: Seamless integration with XAF Security System for authenticated API access.
- Exception Logging: Middleware for centralized global exception logging.
Installation
dotnet add package Xeku.Core.WebApi
AI Agent Integration
Use Cases
- Dynamic Data Querying: Agents can use the OData helper methods to construct complex queries on-the-fly without hardcoded endpoints.
- Centralized Context: Provides a unified
IObjectSpacethrough the composite service, ensuring agents interact with a consistent data scope.
Usage Example (Controller)
[HttpGet]
public IActionResult GetTasks([FromQuery] int skip = 0, [FromQuery] int top = 20)
{
var os = _dataService.GetObjectSpace(typeof(MyEntity));
// Use the OData extension to apply standard OData query parameters
var query = os.GetODataQuery<MyEntity>(skip: skip, top: top);
return Ok(query.ToList());
}
Architecture
graph TD
classDef service fill:#fff4e1,stroke:#ff6f00
classDef plugin fill:#e1f5ff,stroke:#01579b
classDef ext fill:#f3e5f5,stroke:#7b1fa2
subgraph "Xeku.Core.WebApi"
CompositeDS[CompositeDataService]:::service
PluginInterface[IDataServicePlugin]:::plugin
ODataHelper[OData Helper Extensions]:::service
end
subgraph "Implementations"
ModuleA_Plugin[Module A Plugin]:::plugin
ModuleB_Plugin[Module B Plugin]:::plugin
end
CompositeDS --> PluginInterface
ModuleA_Plugin ..|> PluginInterface
ModuleB_Plugin ..|> PluginInterface
ODataHelper --> CompositeDS
| 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 was computed. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- DevExpress.ExpressApp.Api.Xpo.All (>= 25.2.3)
- System.Linq.Dynamic.Core (>= 1.6.10)
- Xeku.Core (>= 0.0.0.7)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Xeku.Core.WebApi:
| Package | Downloads |
|---|---|
|
Xeku.Triggers.WebApi
Web API integration for Xeku.Triggers module. |
|
|
Xeku.DataMirror.WebApi
Web API extensions for Xeku.DataMirror with write protection for mirrored objects. |
|
|
Xeku.Contacts.WebApi
Package Description |
|
|
Xeku.WorkTasks.WebApi
Package Description |
|
|
Xeku.Calendar.WebApi
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.