riskfirst / riskfirst.hateoas

Powerful HATEOAS functionality for .NET web api
MIT License
78 stars 25 forks source link

Updated DefaultRouteMap to include Web Api controllers. #18

Closed hannan-gc closed 5 years ago

hannan-gc commented 5 years ago

The DefaultRouteMap implementation was scanning for types which are assignable from Controller, however the recommended approach for Web Api controllers is to inherit from ControllerBase, so the controllers inheriting from ControllerBase were being missed.