azure - Service Fabric API gateway forwarding requests to microservices example required -


we prototyping architecture in azure service fabric, have number of partitioned stateful services. these services implement rest api. implementing api gateway approach public interface our application.

microsoft have provided , example of approach in service fabric wordcount sample code. sample code demonstrates forwarding requests , put request no body.

does have sample code demonstrates best approach forward post , put requests (with body data) gateway stateful services?

thanks in advance.

we implemented http gateway service ourselves well. make sure can have 1 http gateway internal protocol, implemented gateway http based internal services (like asp.net webapis) using asp.net 5 middleware. routes requests e.g /service internal service fabric address fabric:/myapp/myservice using servicepartitionclient , retry logic communicationclientfactorybase.

we open-sourced middleware , can find here: https://github.com/c3-ls/servicefabric-httpservicegateway

there's more documentation in wiki of project.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -