Skip to content

Can Ocelot have own Controllers & Actions? #1949

Discussion options

You must be logged in to vote

Hi @kvansaders, @masanand and @szymonpiekny,
Recently I was working on similar PoC for one of the projects I'm working on and my main goal was to have endpoints like @kvansaders mentioned to be able to have possibility mehsup / service enhance / add specific aggregation in case of one call to API G. with multiple walls internally or hide old / ugly API and what was more important for me to be able to call to API G. to publish a message to a broker. My first approach was to have middleware which worked but I wasn't able to create out of box swagger. Then I get to this topic of Ocelot own APIs.
After standard Ocelot configuration on .NET 6 project with some downstream projects what I did ad…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@raman-m
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@raman-m
Comment options

Answer selected by raman-m
Comment options

You must be logged in to vote
1 reply
@raman-m
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #958 on January 28, 2024 22:39.