appsettings.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning"
  6. }
  7. },
  8. "ConnectionStrings": {
  9. "MTWorkHRConnectionString": "Server=tcp:mtworksqlserver.database.windows.net,1433;Initial Catalog=MTWorkHRDB;Persist Security Info=False;User ID=MTWorkHR;Password=MTWork@12345;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;",
  10. "LocalConnectionString": "Server=.;Database=MTWorkHRDB;User=sa;Password=p@ssw0rd;MultipleActiveResultSets=true;Integrated Security=True;Encrypt=False",
  11. "BlobConnectionString": "DefaultEndpointsProtocol=https;AccountName=mtworkhrstorage;AccountKey=8EfjO3+4jHmf6QSnW5PCFDWry8oXSAM4pGtlIviImd5yCo6lxWDUpnzfT6ppHJqhKztuGU9IL4Ai+ASt16oHZA==;EndpointSuffix=core.windows.net"
  12. // "HRIdentityDB": "Server=localhost;Database=HRIdentityDB;User=sa;Password=p@ssw0rd;MultipleActiveResultSets=true"
  13. //Data Source=.;Initial Catalog=CBQ_VIVR;Integrated Security=True;Encrypt=False
  14. },
  15. "JwtSettings": {
  16. "SecretKey": "dkajsdfhalksjdhfalksdjhfalksdjfhaslkdjfhasdlkfhjasdlkfhasdlkfhjasdfhh",
  17. "Audience": "http://localhost:28222",
  18. "Issuer": "https://localhost:44325",
  19. "DurationInMinutes": 60000
  20. },
  21. "CookieOptions": {
  22. "SessionCookieExpiryInSeconds": 3600,
  23. "SurveyCookieExpiryInSeconds": 1800
  24. },
  25. "DbConfig": {
  26. "RunMigrations": true
  27. },
  28. "AttachmentSettings": {
  29. "TempAttachment": "C:\\Attachment\\Temp",
  30. "ActualAttachment": "C:\\Attachment\\Actual"
  31. },
  32. "MailSettings": {
  33. "ApiKey": "SendGrid-Key",
  34. "FromAddress": "Aamuarzaa@gmail.com",
  35. "FromName": "Hr Management System",
  36. "Password": "Muath&111",
  37. "Host": "smtp.gmail.com",
  38. "Port": 587,
  39. "TemplatePath": "C:\\Attachment\\MailTemp\\EmailTemplate.html"
  40. },
  41. "OTPSettings": {
  42. "Length": 4,
  43. "ExpirePeriodInMinutes": 3000,
  44. "SendEmail": true,
  45. "AllowZeros": true,
  46. "MessageBody": "Dear User, Your OTP is {0}. Use this passcode to proceed.",
  47. "MessageSubject": "OTP"
  48. },
  49. "AllowedHosts": "*"
  50. }