Skip to content

Migrate samples/app to src/app and convert from WebAssembly to Blazor Server #104

Description

@wendellmva

Summary

Move the samples application from samples/app to src/app, converting from Blazor WebAssembly to Blazor Server rendering.

Motivation

  • Blazor Server provides faster initial load and simpler deployment
  • Consolidates app into src/ directory structure
  • Enables server-side features (direct API access, no CORS issues)

Tasks

  • Migrate components from samples/app/Components/ to src/app/Components/
  • Migrate pages from samples/app/Pages/ to src/app/Components/Pages/
  • Migrate layout from samples/app/Layout/ to src/app/Components/Layout/
  • Migrate services from samples/app/Services/
  • Migrate wwwroot content (Tailwind, markdown content)
  • Update Program.cs for Blazor Server configuration
  • Update _Imports.razor with required namespaces
  • Replace LocalStorageService (WASM) with server-compatible solution
  • Update ContentGenerator.Build.targets path reference
  • Verify Tailwind CSS build works
  • Remove samples/app after successful migration
  • Update solution file references

Acceptance Criteria

  • App runs as Blazor Server from src/app
  • All existing pages and components work
  • Tailwind CSS builds correctly
  • Content (markdown specs) loads correctly
  • samples/app directory removed
  • Solution builds without errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priorityfeatureNew feature

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions