<PackageReference Include="Relativity.API" Version="17.0.4" />

IWebServerHelper

public interface IWebServerHelper
This interface provides an abstraction for rewriting Uris based on the infestructure.
string ApplicationRoot { get; }

The root name applicaiton is hosted under.

Uri GetExternalUri(Uri requestUri, string protocol, string path)

This will convert the Uri to find the route from browser to server. Not to be used by the server.

Uri GetExternalUri(Uri requestUri, string protocol, string path, string queryString)

This will convert the Uri to find the route from browser to server. Not to be used by the server.

Uri GetInternalUri(Uri requestUri, string protocol, string path)

This will convert the Uri to find the route from server to server. Not to be given to the end user.

Uri GetInternalUri(Uri requestUri, string protocol, string path, string queryString)

This will convert the Uri to find the route from server to server. Not to be given to the end user.