Skip to content

DevExpress Migration Prompts

Quick reference guide for implementing the DevExpress migration using the MCP server.


Getting Started

View Migration Overview

Show me the DevExpress migration overview

View Migration Playbook

Show me the DevExpress migration playbook

Check What's Next

What's the next step in the DevExpress migration?

Phase 1: Infrastructure (Prompts 1-4)

Prompt 1: Feature Flag Infrastructure

Show me prompt 1 for the DevExpress migration

What it does: Creates the feature flag system for safe RDLC/DevExpress switching

Implementation:

Implement DevExpress migration prompt 1


Prompt 2: DevExpress Project Setup

Show me prompt 2 for the DevExpress migration

What it does: Adds DevExpress NuGet packages and configures the project

Implementation:

Implement DevExpress migration prompt 2


Prompt 3: WCF Contract Updates

Show me prompt 3 for the DevExpress migration

What it does: Updates WCF service contracts to support both engines

Implementation:

Implement DevExpress migration prompt 3


Prompt 4: Template Conversion Workflow

Show me prompt 4 for the DevExpress migration

What it does: Sets up workflow for converting RDLC templates to REPX

Implementation:

Implement DevExpress migration prompt 4


Phase 2: Core Rendering (Prompts 5-10)

Prompt 5: Report.cs Structure Refactoring

Show me prompt 5 for the DevExpress migration

What it does: Refactors Report.cs to support both rendering engines

Implementation:

Implement DevExpress migration prompt 5


Prompt 6: REPX Template Loading

Show me prompt 6 for the DevExpress migration

What it does: Implements REPX template loading and data binding

Implementation:

Implement DevExpress migration prompt 6


Prompt 7: Basic Report Rendering

Show me prompt 7 for the DevExpress migration

What it does: Implements basic DevExpress report rendering

Implementation:

Implement DevExpress migration prompt 7


Prompt 8: Subreport Processing Infrastructure

Show me prompt 8 for the DevExpress migration

What it does: Implements XRSubreport processing for nested reports

Implementation:

Implement DevExpress migration prompt 8


Prompt 9: Dynamic Layout Engine

Show me prompt 9 for the DevExpress migration

What it does: Implements XRTable API for dynamic column manipulation

Implementation:

Implement DevExpress migration prompt 9


Prompt 10: PDF Generation & Export

Show me prompt 10 for the DevExpress migration

What it does: Implements PDF export with DevExpress

Implementation:

Implement DevExpress migration prompt 10


Phase 3: Advanced Features (Prompts 11-15)

Prompt 11: Preview UI (DocumentViewer)

Show me prompt 11 for the DevExpress migration

What it does: Integrates DevExpress DocumentViewer for report preview

Implementation:

Implement DevExpress migration prompt 11


Prompt 12: Print Direct Functionality

Show me prompt 12 for the DevExpress migration

What it does: Implements direct printing with DevExpress

Implementation:

Implement DevExpress migration prompt 12


Prompt 13: Complex Report Types

Show me prompt 13 for the DevExpress migration

What it does: Handles charts, validation reports, and complex layouts

Implementation:

Implement DevExpress migration prompt 13


Prompt 14: DataList Reports (Dynamic Columns)

Show me prompt 14 for the DevExpress migration

What it does: Implements dynamic column generation for DataList reports

Implementation:

Implement DevExpress migration prompt 14


Prompt 15: Electronic Master Reports

Show me prompt 15 for the DevExpress migration

What it does: Implements combined PDF generation with electronic signatures

Implementation:

Implement DevExpress migration prompt 15


Phase 4: Designer Integration (Prompts 16-18)

Prompt 16: DevExpress Designer Launcher

Show me prompt 16 for the DevExpress migration

What it does: Replaces Microsoft Report Builder with DevExpress Designer

Implementation:

Implement DevExpress migration prompt 16


Prompt 17: Designer Integration (UI Forms)

Show me prompt 17 for the DevExpress migration

What it does: Updates UI forms to launch DevExpress Designer

Implementation:

Implement DevExpress migration prompt 17


Prompt 18: Template Management & Reloading

Show me prompt 18 for the DevExpress migration

What it does: Implements template caching and hot-reload

Implementation:

Implement DevExpress migration prompt 18


Phase 5: Testing & Cleanup (Prompts 19-20)

Prompt 19: Comprehensive Testing & Validation

Show me prompt 19 for the DevExpress migration

What it does: Comprehensive testing of all 135 report types

Implementation:

Implement DevExpress migration prompt 19

⚠️ CRITICAL: Only after this prompt is 100% complete can you change the default engine to DevExpress


Prompt 20: RDLC Code Removal (Optional)

Show me prompt 20 for the DevExpress migration

What it does: Removes RDLC code after successful migration

Implementation:

Implement DevExpress migration prompt 20

Note: This is optional and should only be done after extended production validation


Validation & Safety

View Safety Checks

Show me the DevExpress migration safety checks

View Progress Tracker

Show me the DevExpress migration progress

Run Validation After Each Prompt

After implementing each prompt, run these validations:

Run the 5-level validation for the DevExpress migration:
1. Compilation check
2. Smoke test (RDLC path)
3. Feature test (DevExpress path)
4. Integration test
5. Regression test

Troubleshooting

Get Help with Specific Feature

How do I implement [feature name] in the DevExpress migration?

Review Specific Prompt Again

Show me prompt [number] again

Check for Common Issues

What are common issues with prompt [number]?

Quick Reference

All Prompts by Phase

Phase 1 - Infrastructure (1-4) - Feature flag, DevExpress setup, WCF updates, template conversion

Phase 2 - Core Rendering (5-10) - Report.cs refactoring, REPX loading, rendering, subreports, dynamic layouts, PDF

Phase 3 - Advanced Features (11-15) - Preview UI, print direct, complex reports, DataList, master reports

Phase 4 - Designer (16-18) - Designer launcher, UI integration, template management

Phase 5 - Testing (19-20) - Comprehensive testing, RDLC removal


Sequential Implementation

For best results, implement prompts in order:

1. Show me prompt 1 for the DevExpress migration
2. Implement DevExpress migration prompt 1
3. Run validation
4. Show me prompt 2 for the DevExpress migration
5. Implement DevExpress migration prompt 2
6. Run validation
... continue through prompt 20

Batch Operations

View Multiple Prompts

Show me prompts 1, 2, and 3 for the DevExpress migration

View Entire Phase

Show me all prompts for Phase 1 of the DevExpress migration

Progress Tracking

Check Current Status

What's the current status of the DevExpress migration?

Note: The AI assistant automatically updates progress when: - Starting work on a prompt (marks as "In Progress") - Completing implementation (marks as "Completed" with validation results) - Encountering failures (marks as "Failed" with notes)

You don't need to manually update progress - it happens automatically!

Progress File: MIGRATION_PROGRESS.md is created in your workspace root on first use (copied from template).

Custom Location: To use a different location, set MIGRATION_PROGRESS_PATH in your Cursor MCP settings:

{
  "mcpServers": {
    "rdlc-devexpress-converter": {
      "env": {
        "MIGRATION_PROGRESS_PATH": "./docs/MIGRATION_PROGRESS.md"
      }
    }
  }
}

Important Notes

  1. Always implement prompts sequentially - Each builds on previous ones
  2. Prerequisite checking - AI automatically warns if prerequisites aren't met
  3. Default to RDLC - Keep feature flag default as RDLC until Prompt 19 complete
  4. Validate after each prompt - Run all 5 validation levels
  5. Update progress tracker - Keep MIGRATION_PROGRESS.md current (automatic)
  6. GxP compliance - Data layer unchanged, rendering only
  7. Safe rollback - One-line change to revert to RDLC

Prerequisite System

The AI assistant automatically checks if you've completed the required prompts before showing you a new one:

  • Prerequisites Met: All required prompts completed, safe to proceed
  • ⚠️ Prerequisites Not Met: Shows which prompts need to be completed first
  • 🔴 Critical Warnings: Special alerts for phase boundaries and critical dependencies

Example: If you ask for Prompt 5, the AI will check that Prompts 1-4 are completed first.