Table of Contents

Interface IInstanceUrlResolverService

Namespace
OpenSettings.AspNetCore.Services.Interfaces
Assembly
OpenSettings.AspNetCore.dll

Provides functionality to resolve the Urls for the current instance of the application. This interface defines a contract for services that can determine the Urls where the application is accessible.

public interface IInstanceUrlResolverService

Methods

ResolveUrls()

Resolves the Urls for the current instance of the application. This method retrieves a collection of Urls that the application is accessible through, such as base addresses or endpoints.

string[] ResolveUrls()

Returns

string[]

An array of strings representing the Urls of the current instance. Each string in the array is a full Url (e.g., "http://ipaddress:5000").