appsettings.json 1.5 KB

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