New EWL Dev installation can't have a custom virtual path?


#1

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.


#2

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" );
		}