Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Rest API URI

http://ncrws535ncrws496:41000/saf-sec-sur/4/cpscs-innav-rest-api-core/swagger

http://ncrws535ncrws496:41000/saf-sec-sur/4/cpscs-innav-rest-api-core/api/ship

Note: If .Net Core app is published to a virtual application on IIS, you have to add configuration to the UseSwaggerUi3() call in Startup.cs, to override the default path used by swagger with the correct one.

...

<aspNetCore processPath="dotnet" arguments=".\CPSCS_INNAV_WS.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="InProcess" >
    <environmentVariables>
        <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
    </environmentVariables>
</aspNetCore>


Then:

change stdoutLogEnabled="false" to stdoutLogEnabled="true" to generate logs and verify that it is running in dev mode.

...

ASMX starter page (Redirects calls to REST API Above)

http://ncrws535ncrws496:41000/saf-sec-sur/4/cpscs-innav-ws-asmx-redirect/service.asmx