Blocksy

Change Value in appsettings.json

  1. Open file appsettings.json in the root of CRM Project
  2. Enter this section:
    "JWT": {
    "ValidAudience": "http://localhost:4200",
    "ValidIssuer": "http://localhost:61955",
    "Secret": "xjy19^.|U6g9{rQC#,O[>>!q1Y@hmV>dGB9K1Cv+}xNHx9Lc[DCcoxFJXxs3q[#"

    },

    change secret with strong password.
  3. Enter this section:
    "Urls": "http://localhost:5000",

    * If the web api is hosted on Apache Linux , then "Urls": "http://localhost:5000", should be in appsettings.json,then change the port according to sites-available. This thing will also be discussed when discussing hosting in Apache

    * If the web api is hosted on IIS Windows then remove all these lines : "Urls": "http://localhost:5000". This parameter is unnecessary.
  4. Next we will provide an outline steps for hosting on Apache Linux