diff --git a/ServiceHost/appsettings.Development.json b/ServiceHost/appsettings.Development.json new file mode 100644 index 00000000..29bc1fa8 --- /dev/null +++ b/ServiceHost/appsettings.Development.json @@ -0,0 +1,30 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "ConnectionStrings": { + //تست + //"MesbahDb": "Data Source=DESKTOP-NUE119G\\MSNEW;Initial Catalog=Mesbah_db;Integrated Security=True" + + //server + //"MesbahDb": "Data Source=171.22.24.15;Initial Catalog=mesbah_db;Persist Security Info=False;User ID=ir_db;Password=R2rNp[170]is[3019]#@ATt;TrustServerCertificate=true;" + + //local + "MesbahDb": "Data Source=.;Initial Catalog=mesbah_db;Integrated Security=True;TrustServerCertificate=true;" + }, + "GoogleRecaptchaV3": { + "SiteKey": "6Lfhp_AnAAAAAB79WkrMoHd1k8ir4m8VvfjE7FTH", + "SecretKey": "6Lfhp_AnAAAAANjDDY6DPrbbUQS7k6ZCRmrVP5Lb" + }, + "SmsSecrets": { + "ApiKey": "Og5M562igmzJRhQPnq0GdtieYdLgtfikjzxOmeQBPxJjZtyge5Klc046Lfw1mxSa", + "SecretKey": "dadmehr" + } + +} + diff --git a/ServiceHost/appsettings.json b/ServiceHost/appsettings.json new file mode 100644 index 00000000..370e2d3c --- /dev/null +++ b/ServiceHost/appsettings.json @@ -0,0 +1,23 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "ConnectionStrings": { + //"MesbahDb": "Data Source=.\\MSSQLSERVER2019;Initial Catalog=mesbah_db;Persist Security Info=False;User ID=mesbah_db;Password=sa142857$@;" + "MesbahDb": "Data Source=.;Initial Catalog=mesbah_db;Integrated Security=True;TrustServerCertificate=true;" + }, + "BackupOptions": { + "DbName": "mesbah_db", + "DbBackupZipPath": "c://EveryHourBackupList//", + "FastDbBackupZipPath": "c://FastBackupZipList//", + "InsuranceListZipPath": "c://InsuranceListZipPath//" + }, + "faceModels": { + "Faces": "c://labels//20//" + }, + "AllowedHosts": "*" +}