19 changed files with 35 additions and 167 deletions
@ -1,22 +1,8 @@ |
|||
// Global using directives
|
|||
|
|||
global using System.Text; |
|||
global using Lion.AbpPro.AspNetCore; |
|||
global using Lion.AbpPro.BasicManagement.EntityFrameworkCore; |
|||
global using Microsoft.AspNetCore.Authentication.JwtBearer; |
|||
global using Microsoft.AspNetCore.DataProtection; |
|||
global using Microsoft.AspNetCore.Mvc; |
|||
global using Microsoft.IdentityModel.Tokens; |
|||
global using StackExchange.Redis; |
|||
|
|||
global using Swashbuckle.AspNetCore.SwaggerUI; |
|||
global using Volo.Abp; |
|||
global using Volo.Abp.AspNetCore.ExceptionHandling; |
|||
|
|||
global using Volo.Abp.AspNetCore.Serilog; |
|||
global using Volo.Abp.Autofac; |
|||
global using Volo.Abp.Caching; |
|||
global using Volo.Abp.Caching.StackExchangeRedis; |
|||
global using Volo.Abp.EntityFrameworkCore; |
|||
global using Volo.Abp.Localization; |
|||
global using Volo.Abp.Modularity; |
|||
|
|||
@ -1,13 +1,17 @@ |
|||
{ |
|||
"App": { |
|||
"CorsOrigins": "https://*.DataDictionaryManagement.com,http://localhost:4200,http://localhost:44307,https://localhost:44307" |
|||
"SelfUrl": "http://localhost:44315" |
|||
}, |
|||
"ConnectionStrings": { |
|||
"Default": "Data Source=localhost;Database=LionAbpProDB;uid=root;pwd=mypassword;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true", |
|||
"DataDictionaryManagement": "Data Source=localhost;Database=DataDictionaryManagement;uid=root;pwd=mypassword;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true" |
|||
"Default": "User ID=postgres;Password=1q2w3E*;Host=localhost;Port=5432;Database=LionAbpProDb;" |
|||
}, |
|||
"Redis": { |
|||
"Configuration": "localhost,password=mypassword", |
|||
"DatabaseId": 1 |
|||
"Swagger": { |
|||
"Enabled": true |
|||
}, |
|||
"Jwt": { |
|||
"Audience": "Lion.AbpPro.BasicManagement", |
|||
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=", |
|||
"Issuer": "Lion.AbpPro", |
|||
"ExpirationTime": 30 |
|||
} |
|||
} |
|||
|
|||
@ -1,29 +1,15 @@ |
|||
// Global using directives
|
|||
|
|||
global using System.IO; |
|||
global using Lion.AbpPro.CAP; |
|||
global using Lion.AbpPro.NotificationManagement.EntityFrameworkCore; |
|||
global using Microsoft.AspNetCore.Cors; |
|||
global using Microsoft.AspNetCore.DataProtection; |
|||
global using Microsoft.AspNetCore.Hosting; |
|||
global using Microsoft.AspNetCore.Mvc; |
|||
global using Microsoft.EntityFrameworkCore; |
|||
global using Microsoft.EntityFrameworkCore.Design; |
|||
global using Microsoft.Extensions.Caching.Distributed; |
|||
global using Microsoft.Extensions.Configuration; |
|||
global using Microsoft.Extensions.Hosting; |
|||
global using Serilog; |
|||
global using StackExchange.Redis; |
|||
global using Swashbuckle.AspNetCore.SwaggerUI; |
|||
global using Volo.Abp; |
|||
global using Volo.Abp.AspNetCore.Mvc; |
|||
global using Volo.Abp.AspNetCore.Mvc.AntiForgery; |
|||
global using Volo.Abp.AspNetCore.Serilog; |
|||
global using Volo.Abp.Autofac; |
|||
global using Volo.Abp.Caching; |
|||
global using Volo.Abp.Caching.StackExchangeRedis; |
|||
global using Volo.Abp.EntityFrameworkCore; |
|||
global using Volo.Abp.Localization; |
|||
global using Volo.Abp.Modularity; |
|||
|
|||
global using Volo.Abp.VirtualFileSystem; |
|||
Loading…
Reference in new issue