Skip to content

Ocelot Application with own Controllers/Actions #958

@kvansaders

Description

@kvansaders

Need implementation example

Trying to create API gateway which also uses it's own Web API Controllers to handle mashups and any other custom code, using Ocelot for pipeline items like rate limiting, Authorization, and caching.

I am trying to put together an API gateway that also serves the purpose of mashing up calls to multiple APIs. I would also like to have autogenerated Swagger, so I'd like to combine the capability of Ocelot for authorization and rate limiting but would also like to be able to create the edge custom API's in .NET code to handle translations and combinations of API calls.

Is this possible with Ocelot, and are there any examples? Does Ocelot only work with downstream API's as separate applications? I'm trying to avoid an extra hop that would only exist for mashups and composite API calls.

Stack Overflow related item: https://stackoverflow.com/questions/56956831/can-ocelot-have-its-own-controller-actions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions