Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Throw when accessing a scoped service from a non-scoped service #88

@rynowak

Description

@rynowak

We hit an instance of this in MVC - see aspnet/Mvc#631

UrlHelper is a scoped service - and an attempt was made to resolve it from inside a singleton.

Can we throw if this happens?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions