appsettings.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. // "MTWorkHRConString": "Server=.;Database=MTWorkHRDB;User=sa;Password=p@ssw0rd;MultipleActiveResultSets=true;Integrated Security=True;Encrypt=False"
  11. // "HRIdentityDB": "Server=localhost;Database=HRIdentityDB;User=sa;Password=p@ssw0rd;MultipleActiveResultSets=true"
  12. //Data Source=.;Initial Catalog=CBQ_VIVR;Integrated Security=True;Encrypt=False
  13. },
  14. "JwtSettings": {
  15. "SecretKey": "dkajsdfhalksjdhfalksdjhfalksdjfhaslkdjfhasdlkfhjasdlkfhasdlkfhjasdfhh",
  16. "Audience": "http://localhost:28222",
  17. "Issuer": "https://localhost:44325",
  18. "DurationInMinutes": 60000
  19. },
  20. "CookieOptions": {
  21. "SessionCookieExpiryInSeconds": 3600,
  22. "SurveyCookieExpiryInSeconds": 1800
  23. },
  24. "DbConfig": {
  25. "RunMigrations": true
  26. },
  27. "AttachmentSettings": {
  28. "TempAttachment": "C:\\Attachment\\Temp",
  29. "ActualAttachment": "C:\\Attachment\\Actual"
  30. },
  31. "MailSettings": {
  32. "ApiKey": "SendGrid-Key",
  33. "FromAddress": "eng_z@live.com",
  34. "FromName": "Hr Management System",
  35. "Password": "111111111111",
  36. "Host": "smtp-mail.outlook.com",
  37. "Port": 587,
  38. "TemplatePath": "C:\\Attachment\\MailTemp\\EmailTemplate.html"
  39. },
  40. "OTPSettings": {
  41. "Length": 6,
  42. "ExpirePeriodInMinutes": 3000,
  43. "SendEmail": true,
  44. "AllowZeros": true,
  45. "MessageBody": "Dear User, Your OTP is {0}. Use this passcode to proceed.",
  46. "MessageSubject": "OTP"
  47. },
  48. "AllowedHosts": "*"
  49. }