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

Throw a nicer error when the routing services haven't been added to DI #276

@DamianEdwards

Description

@DamianEdwards

Like other parts of the framework we should throw a nice helper exception when services are missing from DI, including the sample call the app needs to add the routing services to DI, e.g.

Routing services have not been registered. Register services by calling 'IServices.UseRouting()'.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions