Nachdem die Setuproutine beendet wurde, sollte man die Installation prüfen.
Folgendes sollte installiert worden sein.
-
Im Installationsverzeichnis wurden zwei Unterverzeichnisse angelegt:
-
anyContact.Identity.Server
-
anyContact.Identity.BackgroundService
-
Der BackgroundService sollte als Windows Dienst installiert worden sein.
-
Der Server sollte als IIS Anwendung erstellt worden sein
-
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 |
|---|---|
|
|
Die Datenbankverbindung der Anwendung |
|
|
Die URL des OAuth2/OpenID Server |
|
|
Das minimale Log-Level |