Refactored FruitBankConst and FruitBankConstClient to delegate PROD/DEV environment logic to AcEnv.IsProdDb, removing local state and events. Updated MGGRID_TODO.md with ADR reference. Added ADR 0002 documenting the migration of environment infrastructure (BaseUrl, env state, badge) to the framework. Updated settings.local.json with new doc/code read commands and improved build error reporting. |
||
|---|---|---|
| .. | ||
| Interfaces | ||
| Services | ||
| FruitBank.Common.Server.csproj | ||
| FruitBankConst.cs | ||
| README.md | ||
README.md
FruitBank.Common.Server
@project { type = "product" own-dep-projects = [ "AyCode.Core, AyCode.Interfaces, AyCode.Models.Server, AyCode.Services, AyCode.Services.Server (in AyCode.Core repo)", "Mango.Nop.Core (in Mango.Nop Libraries repo)" ] }
Server-side library: SignalR hubs, real-time broadcast service, logging infrastructure, and nopCommerce integration constants.
Folder Structure
| Folder | Purpose |
|---|---|
Interfaces/ |
Server-side endpoint marker interfaces |
Services/ |
SignalR hubs, broadcast service, logging |
Key Files (Root)
FruitBankConst.cs— Server constants: project GUID, role system names ("Measuring", "MeasuringRevisor"), product attribute "IsMeasurable", project salt.
Dependencies
- nopCommerce via Mango.Nop.Core
- AyCode.Core, AyCode.Services.Server (DLL references)
- Microsoft.AspNetCore.SignalR