Added detailed documentation: ARCHITECTURE.md, CONVENTIONS.md, GLOSSARY.md, and copilot-instructions.md for Mango.Nop.Core, Data, and Services. Updated/added README.md files for all Mango.Nop libraries and the FruitBank nopCommerce plugin, clarifying structure, key types, and usage. Switched appsettings.json connection string from production to development database. These changes improve developer onboarding and enforce architectural consistency. |
||
|---|---|---|
| .. | ||
| Loggers | ||
| IMgBackgroundService.cs | ||
| IMgSessionItem.cs | ||
| IMgSessionService.cs | ||
| Mango.Nop.Services.csproj | ||
| MgBackgroundServiceBase.cs | ||
| MgEventConsumerBase.cs | ||
| MgLockServiceBase.cs | ||
| MgSessionItemBase.cs | ||
| MgSessionServiceBase.cs | ||
| README.md | ||
README.md
Mango.Nop.Services
Service base classes for nopCommerce plugin development — background tasks, session management, events, locking. net9.0.
Key Types
| Type | Purpose |
|---|---|
MgBackgroundServiceBase / IMgBackgroundService |
Base for hosted background services in nopCommerce |
MgSessionServiceBase / IMgSessionService |
Session management base — user session state |
MgSessionItemBase / IMgSessionItem |
Individual session item base |
MgEventConsumerBase |
Base for nopCommerce event consumers (entity insert/update/delete) |
MgLockServiceBase |
Distributed lock service base |
NopLogWriter |
Logging bridge — writes to nopCommerce log system |
Dependencies
Mango.Nop.Core,Mango.Nop.Data(ProjectReferences)Nop.Core,Nop.Data,Nop.Services,Nop.Web.Framework(nopCommerce ProjectReferences)