How ignatandrei/netcoreblockly works
Main Components
The system architecture should include these key components:
a. Core Components:
• NetCore2Blockly Library (Main Engine)
• Swagger/OpenAPI Integration
• Blockly UI Generator
• JavaScript Generation Layer
• API Endpoint Handlers
b. Extension Components:
• Authentication Handlers
• Storage Providers (SQLite)
• GraphQL Support
• OData Support
• Client Layer |
• Blockly UI | | Block Editor | | Code Workspace | | Output Display | |
• ↕
• Integration Layer |
• Swagger/OpenAPI | | GraphQL Handler | | OData Handler | |
• ↕
• Core Processing Layer |
• Block Generator | | JavaScript Gen | | Action Registry | | Type Converter | |
• ↕
• Host Application Layer |
• API Controllers | | Authentication | | Storage (DB) | |
Data Flow Indicators
• API request/response flow
• Block generation process
• Code generation flow
• Storage operations
Key Integration Points
Highlight:
• Swagger/OpenAPI integration
• Authentication middleware
• Storage providers
• Custom block extensions
Component Details
For each major component, include:
• Component name
• Primary responsibility
• Key dependencies
• Integration points
Notes
Annotations for:
• Authentication flows
• Extension points
• Configuration requirements
• Deployment considerations
Remember to include version compatibility information and highlight the different supported .NET Core versions (3.1, 5, and 6) as noted in the README.