Identity Installation Prüfung Komponenten

Nachdem die Setuproutine beendet wurde, sollte man die Installation prüfen.

Folgendes sollte installiert worden sein.


  1. Im Installationsverzeichnis wurden zwei Unterverzeichnisse angelegt:

  • anyContact.Identity.Server

  • anyContact.Identity.BackgroundService


  1. Der BackgroundService sollte als Windows Dienst installiert worden sein.

image-20231024-085021.png
BackgroundService als Dienst


  1. Der Server sollte als IIS Anwendung erstellt worden sein

image-20231024-085635.png
Anwendung und Anwendungspool
  1. Prüfen, ob im Installationsorder eine appsettings.json erstellt wurde:

{
  "DetailedErrors": true,
  "AllowedHosts": "*",
  "Serilog": {
    "Using": [],
    "LevelSwitches": {
      "$consoleSwitch": "Verbose",
      "$fileSwitch": "Verbose"
    },
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "OpenIddict": "Error",
        "Microsoft": "Error",
        "System": "Error",
        "Microsoft.AspNetCore": "Information"
      }
    },
    "WriteTo": [
      {
        "Name": "Console"
      },
      {
        "Name": "File",
        "Args": {
          "path": "C:\\Logging\\anyContact\\anyContact.Identity\\anyContact.Identity.Server_.log",
          "rollingInterval": "Day",
          "retainedFileCountLimit": 15,
          "fileSizeLimitBytes": 50000000,
          "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
        }
      }
    ],
    "Enrich": [
      "FromLogContext",
      "WithMachineName",
      "WithProcessId",
      "WithThreadId"
    ],
    "Properties": {
      "ApplicationName": "anyContact.Identity.Server"
    }
  },
  "ConnectionStrings": {
    "DefaultConnection": "Data Source=dev-vcc19;Initial Catalog=anyContactDEVVCC19;Persist Security Info=False;Integrated Security=False;MultipleActiveResultSets=True;Connection Timeout=4;App=anyContact.Identity;TrustServerCertificate=True;User ID=sa;Password=SNcom01!"
  },
  "AppConfig": {
    "ServerUrl": "https://dev-vcc19.sncom.dev/anycontact.identity"
  }
}

Key

Beschreibung

ConnectionStrings.DefaultConnection

Die Datenbankverbindung der Anwendung

AppConfig.ServerUrl

Die URL des OAuth2/OpenID Server

Serilog.MinimumLevel

Das minimale Log-Level