Skip to content

Reduce record usage in published aspnetcore projects #45859

Closed
@JamesNK

Description

@JamesNK

records have a slim syntax and provide many features, but they also generate a lot of code. And much of that code can't be trimmed. A record can bloat app publish size.

See #45604 (comment) for an example.

  • Audit published aspnetcore projects for record usage. records in test projects is fine.
  • See if there is an analyzer that we can enable to warn about record use, and enable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templateshelp wantedUp for grabs. We would accept a PR to help resolve this issue

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions