Multiple Instance- Example

InstallUtil.exe /ServiceName=DSE_ServiceTest /DisplayName="DSE_ServiceTest" "C:\Projects\DSE\General\DseMgrVer2\DSE_Manager_Ver2_IIS\DSE_ServiceTest\DSE_Service.exe"

InstallUtil.exe -u /ServiceName=DSE_ServiceTest /DisplayName="DSE_ServiceTest"

 

In DSE_Service.exe.config change following elements:

1)        From

 <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" name="DSE_Service" />  

 To

 <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" name="DSE_ServiceTest" />  

 

2)        From

 <host>

   <baseAddresses>

     <add baseAddress="http://localhost:8095/DSE_Service" />

    </baseAddresses>

 </host>

 To new endpoint

  <host>

    <baseAddresses>

         <add baseAddress="http://localhost:8096/DSE_ServiceTest" />

      </baseAddresses>

         </host>

         

3) Change \DSE_Manager\Web.config

   From

    <endpoint address="http://localhost:8095/DSE_Service" binding="wsHttpBinding" bindingConfiguration="DSE_Service" contract="DseService.ILoadData" name="DSE_Service" />

    To    

    <endpoint address="http://localhost:8096/DSE_ServiceTest" binding="wsHttpBinding" bindingConfiguration="DSE_Service" contract="DseService.ILoadData" name="DSE_ServiceTest" />.