Xeku Notes Web API integration.
$ dotnet add package Xeku.Notes.WebApiWeb API integration module for Xeku.Notes, providing RESTful access to notes, categories, and tags within an ASP.NET Core environment.
graph TB
subgraph External["External Clients"]
style External fill:#f3e5f5
App["Mobile/Web App"]
Agent["AI Agent"]
end
subgraph UI["API Layer"]
style UI fill:#e1f5ff
Controller["OData/Web Controllers"]
end
subgraph Logic["Service Layer"]
style Logic fill:#fff4e1
Module["NotesWebApiModule"]
Security["XAF Security System"]
end
subgraph Data["Data Layer"]
style Data fill:#e8f5e9
Note["Note Entity"]
Category["Category Entity"]
end
App --> Controller
Agent --> Controller
Controller --> Module
Module --> Security
Security --> Note
Security --> Category
dotnet add package Xeku.Notes.WebApi
In your Web API project's Startup.cs, register the Notes business objects within AddXafWebApi to enable API access from the frontend or external agents:
services.AddXafWebApi(builder => {
builder.ConfigureOptions(options => {
// Register Notes business objects for API access
options.BusinessObject<Note>();
options.BusinessObject<NoteCategory>();
options.BusinessObject<NoteTag>();
});
// ... other configurations
});
Owner or Category for efficiency.MIT License