dotnet / dotnet/aspnetcore

Components.AI: Render standalone media through Components.Media

Open
#68,419 0 comments 0 reactions 0 assignees View on GitHub
api-proposal area-blazor cost: M feature-blazor-builtin-components Priority:0
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Is your feature request related to a problem? Please describe the problem.

Standalone media uses hand-written elements and base64 data URIs, while non-media attachments render as an emoji and media type.

### Describe the solution you'd like

Render `MediaContentBlock` through `Microsoft.AspNetCore.Components.Media` (`Image`, `Video`, `FileDownload`, and `MediaSource`). Show filename, size, and download behavior for non-media files. Review the new project reference as part of the API change.

### Additional context

Leaf task for #68227 requirements E1 and E3.

Contributor guide

Open the contributing guide

Research direction

Start by locating MediaContentBlock and its current standalone-media rendering, then inspect the Microsoft.AspNetCore.Components.Media components named in the issue: Image, Video, FileDownload, and MediaSource. Review the new project reference and requirements E1 and E3 from #68227. Done means standalone media uses the Media components and non-media files show their filename, size, and download behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.