The following are the steps to be followed for the deployment of the Cello Admin Portal in IIS Web Server

  • Open the solution in Visual Studio
  • Build the entire solution and ensure that there are no errors
  • Create a database in the target server and form the connection strings

  • Publish the "WebApplication" & the "AuthorizationServer" into separate folders
  • Update the Sql.Config in both "WebApplication" and "AuthorizationServer"
AuthorizationServer\Config\Sql.Config
WebApplication\Sql.Config
  • Create the sites in the WebServer [IIS] for both the "WebApplication" and "AuthorizationServer"
  • Get the URI for both the "WebApplication" and "AuthorizationServer"
  • Update the "AppSettings.config" for the "WebApplication" and the "authServerConfig.json" for the "AuthorizationServer" refer the section "Section I: Configuration"


Section I: Configuration

The following configuration to be done


1.AuthServer

 

authServerConfig.json [Contoso.AuthServer (Authorization Server)\Config\ authServerConfig.json]

 

URI Settings, the URLs in the given configuration settings are to be replaced with your deployment URLs 

  

"Audience": "http://localhost:37202/",
"AuthIssuer": "http://localhost:37202/",
"ClientApplicationUri": "http://localhost:60922/", 

  

Audience - AuthServer  hosted address (E.g : http://cello.identity.com or http://localhost:1200)

AuthIssuer - AuthServer   hosted address (E.g : http://cello.identity.com or http://localhost:1200)

ClientApplicationUri - Web Client hosted address (E.g  http://www.celloapp.com or http://localhost:1400)

 

2.Web Client


AppSettings.Config [Contoso.WebApp (Client Application)\Config\AppSettings.Config]


URI Settings, the URLs in the given configuration settings are to be replaced with your deployment URLs 

            

 <!--Authorization Server Settings-->
  <add key="AuthServerUri" value="http://localhost:37202/"/>
  <add key="AuthIssuer" value="http://localhost:37202/"/>
  <add key="ClientApplicationUri" value="http://localhost:60922/"/>

  

 AuthServerUri - AuthServer  hosted address(eg: http://cello.identity.com or http://localhost:1200)

 AuthIssuer - AuthServer  hosted address(eg: http://cello.identity.com or http://localhost:1200)  

ClientApplicationUri - Web Client hosted address (E.g  http://www.celloapp.com or http://localhost:1400)