Skip to content

How to host SisoDb.Management at a custom url

MikaelEliasson edited this page Nov 29, 2012 · 2 revisions

Before you call Configuration.Init() you need to set Configuration.Prefix = "YouUrl";

The default value is "siso-db-management/". Not the trailing slash. That is mandatory.

You also need to change the following sections in web.config to your new url:

<system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
      <add name="SisoDbManagement" path="siso-db-management/*" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode"/>
    </handlers>
  </system.webServer>

  <location path="siso-db-management">
    <system.web>
      <httpRuntime requestValidationMode="2.0" />
    </system.web>
  </location>

NOTE: After this it will be available at "Your-Url"/page

Clone this wiki locally