diff --git a/example/appsettings.Sub-1.json b/example/appsettings.Sub-1.json new file mode 100644 index 0000000..0bd4b08 --- /dev/null +++ b/example/appsettings.Sub-1.json @@ -0,0 +1,63 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://localhost:3301" + }, + //"Https": { + // "Url": "https://xxxx.xxxx.xxxx:4301", + // "Certificate": { + // "Subject": "xxxx.xxxx.xxxx", + // "Store": "WebHosting", + // "AllowInvalid": true + // } + //}, + "Grpc": { + "Protocols": "Http2", + "Url": "http://localhost:5301" + } + } + }, + "HiNC": { + "CacheDbId": "Sub-1", + "DatabasePort": 28001, + "AdminDirectory": "../HiNC-Root", + "OptCoreNum": 0, + "Users": [ + { + "Name": "admin", + "Pw": "00000", + "Role": "Admin", + "IsFixedUser": true + }, + { + "Name": "worker", + "Pw": "111111", + "Role": "Collaborator", + "IsFixedUser": false + }, + { + "Name": "guest", + "Pw": "22222", + "Role": "Guest", + "IsFixedUser": false + } + ] + }, + "LicenseManager": { + //Available Command: "DoNothing","AutoLicenseUpdate","GetC2V","GenV2C","ApplyV2C","WriteInfo" + "Command": "AutoLicenseUpdate", + "Server": { + "URI": "superhightech.com.tw", + "Port": 20201, + "ReceiveTimeout": 200 + } + } +} diff --git a/example/appsettings.Sub-2.json b/example/appsettings.Sub-2.json new file mode 100644 index 0000000..ab66968 --- /dev/null +++ b/example/appsettings.Sub-2.json @@ -0,0 +1,63 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://localhost:3302" + }, + //"Https": { + // "Url": "https://xxxx.xxxx.xxxx:4302", + // "Certificate": { + // "Subject": "xxxx.xxxx.xxxx", + // "Store": "WebHosting", + // "AllowInvalid": true + // } + //}, + "Grpc": { + "Protocols": "Http2", + "Url": "http://localhost:5302" + } + } + }, + "HiNC": { + "CacheDbId": "Sub-2", + "DatabasePort": 28002, + "AdminDirectory": "../HiNC-Root", + "OptCoreNum": 0, + "Users": [ + { + "Name": "admin", + "Pw": "00000", + "Role": "Admin", + "IsFixedUser": true + }, + { + "Name": "worker", + "Pw": "111111", + "Role": "Collaborator", + "IsFixedUser": false + }, + { + "Name": "guest", + "Pw": "22222", + "Role": "Guest", + "IsFixedUser": false + } + ] + }, + "LicenseManager": { + //Available Command: "DoNothing","AutoLicenseUpdate","GetC2V","GenV2C","ApplyV2C","WriteInfo" + "Command": "AutoLicenseUpdate", + "Server": { + "URI": "superhightech.com.tw", + "Port": 20201, + "ReceiveTimeout": 200 + } + } +}