Mac, you'll need to use the
INavigationManager.NavigateURL method instead. How you obtain an
INavigationManager instance varies based on your development paradigm.
At a high level, the answer is that you'll request one from the dependency injection container. If you're using MVC controllers or Web API controllers, you can just add a parameter to your controller's constructor and the framework will supply that dependency automatically. Here's a Web API controller example:
Public Class MyController
Private ReadOnly navigationManager As INavigationManager
Public Sub New(ByVal navigationManager As INavigationManager)
Me.navigationManager = navigationManager
You can see a fuller discussion with more examples at https://dnncommunity.org/forums/aft/2002#5875. Hope it helps!