I’m running my application at a different virtual path than localhost/SystemShortName but every time I click on a link then it takes me to a path at localhost/SystemShortName.
I see these values can be overridden in Standard.xml for Live and Testing installations but InstallationStandardBaseUrl isn’t available for development installation.
Get past this issue by setting BaseUrlOverrideGetter
in your EwfApp’s protected void Application_Start( object sender, EventArgs e )
.
protected void Application_Start( object sender, EventArgs e ) {
EwfInitializationOps.InitStatics( new GlobalInitializer() );
BaseUrlOverrideGetter = () => new BaseUrl( "localhost", 80, 443, "myvirtualpath" );
}