appsettings.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. "MailSettings": {
  27. "ApiKey": "SendGrid-Key",
  28. "FromAddress": "eng_z@live.com",
  29. "FromName": "Hr Management System",
  30. "Password": "j,jij,ji",
  31. "Host": "smtp-mail.outlook.com",
  32. "Port": 587,
  33. "TemplatePath": "C:\\Attachment\\MailTemp\\EmailTemplate.html"
  34. },
  35. "AllowedHosts": "*"
  36. }