Skip to content

Support for web API controllers in asp.net core? #114

Open
@mmoore99

Description

@mmoore99

I have an asp.net core project that includes Web API controllers that inherit from ControllerBase, for example:

[Route("api/customers")]
[ApiController]
public class CustomersController : ControllerBase
{}

R4MVC does not seem to recognize these controllers and does not generate code for them. Is this intentional? If I change the code to inherit from Controller instead of ControllerBase R4MVC includes the controller.

Is there any way to force R4MVC to include these controllers in the code generation process?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions