SMARTentry Visit
Die Server-Konfiguration erfolgt über die appsettings.json
Datei im Datenverzeichnis. Dieses liegt im Standard unter C:\ProgramData\SEVisit
Beispiel-Konfiguration
appsettings.example.json
{
"ConnectionStrings": {
"DefaultConnection": "Server=<db_host>;Database=<db_name>;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"ServiceName": "SMARTentryVisit_Server",
"Jwt": {
"Key": "<SuperTopSecretKeyThatYouDoNotGiveOutEver!>"
},
"Logging": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft.EntityFrameworkCore": "Warning",
"EntityFrameworkCore.Triggered": "Warning",
"Microsoft.AspNetCore": "Warning",
"Serilog.AspNetCore": "Warning"
}
}
},
"Kestrel": {
"EndPoints": {
"Http": {
"Url": "http://*:7000"
}
,
"Https": {
"Url": "https://*:7001"
}
}
,
"HttpsDefaultCert": {
"Url": "https://*:7001"
},
"Certificates": {
"Default": {
"Path": "<path to cert file (*.pfx)>",
"Password": "<cert file password>"
}
}
},
"AllowedHosts": "*"
}