Introduced a new sample project to demonstrate ASP.NET integration with Hangfire, including setup configurations in `appsettings.json`, program initialization, and a background job activity. This will serve as a reference implementation for integrating Elsa with Hangfire in ASP.NET applications.
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft.Hosting": "Information",
|
|
"Hangfire": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Identity": {
|
|
"Tokens": {
|
|
"SigningKey": "secret-signing-key-of-at-least-256-bits",
|
|
"AccessTokenLifetime": "1:00:00:00",
|
|
"RefreshTokenLifetime": "1:00:10:00"
|
|
},
|
|
"Roles": [{
|
|
"Id": "admin",
|
|
"Name": "Administrator",
|
|
"Permissions": ["*"]
|
|
}],
|
|
"Users": [
|
|
{
|
|
"Id": "a2323f46-42db-4e15-af8b-94238717d817",
|
|
"Name": "admin",
|
|
"HashedPassword": "TfKzh9RLix6FPcCNeHLkGrysFu3bYxqzGqduNdi8v1U=",
|
|
"HashedPasswordSalt": "JEy9kBlhHCNsencitRHlGxmErmSgY+FVyMJulCH27Ds=",
|
|
"Roles": ["admin"]
|
|
}
|
|
],
|
|
"Applications": [{
|
|
"id": "529572c2df854b13807b8bf23f1784cd",
|
|
"name": "Postman",
|
|
"roles": [
|
|
"admin"
|
|
],
|
|
"clientId": "Nu9vrdXtYT5PChwr",
|
|
"clientSecret": "011pp2C$|j01-qrMZpC9VC0F00XCJq(5",
|
|
"hashedApiKey": "d0rDld3A+ugKmdctGtMzOLTYjQFkOlUWN+kt0VyW9D0=",
|
|
"hashedApiKeySalt": "EnutGOyy5MuJWV0fF5jCQiciK7a8PU/DRF+fr6nekSY=",
|
|
"hashedClientSecret": "ERia2zBcCSWb/9dvB0grQ9yf7fWgFrClNeR8A5RMTzk=",
|
|
"hashedClientSecretSalt": "z3z8KmzHt+xkAj/zYTXcB8I7y0xAkLm95v4Er/oNqiY="
|
|
}]
|
|
}
|
|
}
|