Skip to content

Support IAsyncDisposable in MVC #13150

Closed
@rynowak

Description

@rynowak

We should add support for IAsyncDisposable in MVC.

This includes everything that we create for you (IE: not created by DI). Generally these things already follow the activator service pattern, and we already support calling Dispose for you if you implement IDisposable.

  • Controllers
  • Page Models
  • View Components

As an exception to this, we don't currently call Dispose on tag helpers.

  • Tag Helpers

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedaffected-mediumThis issue impacts approximately half of our customersarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesenhancementThis issue represents an ask for new feature or an enhancement to an existing oneseverity-blockingThis label is used by an internal tool

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions