#112 copying GanjoorService settings to GanjooRazor

This commit is contained in:
Hamid Reza Mohammadi 2021-05-09 19:34:22 +04:30
parent ee7e05d611
commit 09a05fc0be
3 changed files with 71 additions and 7 deletions

View File

@ -4,6 +4,16 @@
<TargetFramework>net5.0-windows</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Audit.WebApi.Core" Version="17.0.4" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.5" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.5" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\RMuseum\RMuseum.csproj" />
<ProjectReference Include="..\RSecurityBackend\RSecurityBackend.csproj" />

View File

@ -1,11 +1,5 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GanjooRazor
{

View File

@ -6,5 +6,65 @@
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=museum;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"PictureFileService": {
"StoragePath": "C:\\museum",
"ResizedImageContentType": "image/jpeg",
"NormalImageMaxWidth": "800",
"NormalImageMaxHeight": "1350",
"ThumbnailImageWidth": "300",
"ThumbnailMaxHeight": "500"
},
"Security": {
"Secret": "k4Fy7pDsc0LgXQ8PCCfZtwmju5Ed8asc",
"DefaultTokenExpirationInSeconds": "3600"
},
"SmptConfig": {
"Server": "smtp.gmail.com",
"Port": "587",
"UseSsl": "true",
"UseTls": "true",
"Username": "test@gmail.com",
"Password": "password",
"From": "test@gmail.com"
},
"LocalSqliteImport": {
"FilePath": "C:\\Users\\moham\\AppData\\Local\\ganjoor\\ganjoor\\ganjoor.s3db"
},
"IIS": {
"UploadLimit": "52428800"
},
"AudioMySqlServer": {
"Server": "localhost",
"Username": "root",
"Password": "",
"Database": "adab",
"2ndDatabase": "audio",
"2ndUsername": "audio",
"2ndPassword": "",
"SongsDatabase": "golha",
"SongsUsername": "root",
"SongsPassword": "",
"ReportedCommentsDatabase": "rpcmnts",
"ReportedCommentsUsername": "root",
"ReportedCommentsPassword": "",
"PoetImagesImportPath": "C:\\Users\\moham\\source\\repos\\GanjooRazor\\wwwroot\\image\\poets"
},
"AudioSFPServer": {
"Host": "localhost",
"Port": "22",
"Username": "root",
"Password": "",
"RootPath": "/home"
},
"AudioUploadService": {
"Enabled": "True",
"TempUploadPath": "C:\\tempaudio",
"LocalAudioRepositoryPath": "D:\\My Documents\\My Web Design\\ganjoor\\www\\i",
"CurrentSoundFilesFolder": "a2"
}
}