jeudi 29 novembre 2018

Proxy based application URL redirection using Web API

As per our requirement we required to implement proxy based application URL redirection using Web API,

Consider an example, By accessing the URL www.abc.com, application should redirect to www.xyz.com URL by validating the user credentials without doing URL refresh using WebAPI Proxy redirection method.

We have referred the below URL's to achieve the same, but we could not able to redirect to destination URL(www.xyz.com). Application has not redirecting to the destination URL after done the user credentials validation and application remain stand in the source URL (www.abc.com)

Can anyone suggest we are in the correct direction to implement the Proxy based application URL redirection using Web API,

Referred URL's,

C# Connecting Through Proxy

How to create simple IIS site to redirect all calls to another service?

C# web application -> proxy all requests -> return content from another web application

Best way to have one Web API forward request to other

https://confluence.atlassian.com/confkb/pages-with-special-characters-are-not-accessible-via-reverse-proxy-829664257.html

https://serverfault.com/questions/699695/nginx-proxy-pass-remove-url-substring

How to set up Web API Routing for a Proxy Controller?

https://www.strathweb.com/2012/05/implementing-message-handlers-to-track-your-asp-net-web-api-usage/




Aucun commentaire:

Enregistrer un commentaire