appsettings.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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": 60
  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": "j,jij,ji",
  35. "Host": "smtp-mail.outlook.com",
  36. "Port": 587,
  37. "TemplatePath": "C:\\Attachment\\MailTemp\\EmailTemplate.html"
  38. },
  39. "AllowedHosts": "*"
  40. }