How xomega-net/xomegaframework works
Xomega Framework is a reusable .NET framework for data-oriented web and desktop applications. Its main user-facing flow is to define search criteria, run a search through a view model, represent results and editable records in framework data objects, and bind those models to technology-specific views. Business services, REST/WCF hosting, lookup data, authentication, and shared error handling support that flow. The README documents several UI targets; sampled source confirms only selected implementations and relationships, so unsampled integrations are shown without inferred call paths.
Main entry points: SearchViewModel.cs Search workflow · LookupTableController.cs Lookup API · CriteriaObject.cs Search criteria · ErrorList.cs Error handling
Components 25
Data model
- Search criteria
src/Xomega.Framework/Criteria/CriteriaObject.cs - Criteria operators
src/Xomega.Framework/Operators/Operator.cs - Typed properties
src/Xomega.Framework/DataProperties/DataProperty.cs - Data objects
src/Xomega.Framework/DataObjects/DataObject.cs - Data rows
src/Xomega.Framework/DataObjects/DataRow.cs - Result lists
src/Xomega.Framework/DataObjects/DataListObject.cs
Services and APIs
- Business services
src/Xomega.Framework/Services/BaseService.cs - Service output
src/Xomega.Framework/Services/Output.cs - REST client
src/Xomega.Framework/Client/RestApiClient.cs - REST controllers
src/Xomega.Framework.AspNetCore/BaseController.cs - WCF hosting
src/Xomega.Framework.Wcf/ServiceInstanceProvider.cs - Lookup API
src/Xomega.Framework.AspNetCore/LookupTableController.cs - JWT authentication
src/Xomega.Framework.AspNetCore/Security/JwtAuthController.cs
Presentation logic
- View models
src/Xomega.Framework/ViewModels/ViewModel.cs - Search workflow
src/Xomega.Framework/ViewModels/SearchViewModel.cs - Details workflow
src/Xomega.Framework/ViewModels/DetailsViewModel.cs
UI adapters
- WebForms views
src/Xomega.Framework.Web/Views/WebSearchView.cs - Blazor views
src/Xomega.Framework.Blazor/Views/BlazorSearchView.cs - WPF views
src/Xomega.Framework.Wpf/Views/WPFSearchView.cs - Syncfusion views
src/Xomega.Syncfusion.Blazor/Views/XSfSearchView.cs
Shared capabilities
- Lookup caching
src/Xomega.Framework/Lookup/LookupCache.cs - Error handling
src/Xomega.Framework/Errors/ErrorList.cs - Exception parsing
src/Xomega.Framework/Errors/ErrorParser.cs - Principal provider
src/Xomega.Framework/Services/IPrincipalProvider.cs
Other components
- App user
Connections 23
- App user → Search workflow: initiates search
README.md - Search workflow → View models: extends
src/Xomega.Framework/ViewModels/SearchViewModel.cs - Search workflow → Search criteria: sets criteria
src/Xomega.Framework/ViewModels/SearchViewModel.cs - Search workflow → Result lists: reads results
src/Xomega.Framework/ViewModels/SearchViewModel.cs - Result lists → Search criteria: applies criteria
src/Xomega.Framework/DataObjects/DataListObject.cs - Search criteria → Criteria operators: uses operators
src/Xomega.Framework/Criteria/CriteriaObject.cs - WebForms views → Search workflow: binds view model
src/Xomega.Framework.Web/Views/WebSearchView.cs - Blazor views → Search workflow: binds view model
src/Xomega.Framework.Blazor/Views/BlazorSearchView.cs - WPF views → Search workflow: binds view model
src/Xomega.Framework.Wpf/Views/WPFSearchView.cs - Syncfusion views → Blazor views: extends search view
src/Xomega.Syncfusion.Blazor/Views/XSfSearchView.cs - Business services → Criteria operators: uses criteria operators
src/Xomega.Framework/Services/BaseService.cs - REST controllers → Error handling: collects request errors
src/Xomega.Framework.AspNetCore/BaseController.cs - Lookup API → Lookup caching: reads and clears
src/Xomega.Framework.AspNetCore/LookupTableController.cs - Lookup API → Service output: returns lookup result
src/Xomega.Framework.AspNetCore/LookupTableController.cs - Lookup API → Error handling: reports missing table
src/Xomega.Framework.AspNetCore/LookupTableController.cs - Exception parsing → Error handling: builds error list
src/Xomega.Framework/Errors/ErrorParser.cs - WCF hosting → Principal provider: sets request principal
src/Xomega.Framework.Wcf/ServiceInstanceProvider.cs - App user → Details workflow: opens record
README.md - REST client → REST controllers: calls REST API
README.md - JWT authentication → REST client: supports API authentication
README.md - Data objects → Typed properties: contains typed fields
src/Xomega.Framework/DataObjects/DataObject.cs - Data rows → Typed properties: reads property values
src/Xomega.Framework/DataObjects/DataRow.cs - Business services → Service output: returns operation output
README.md