refactor: 依赖组件升级
#Comment Longbow.Configuration/Longbow.Cache 注入移除 IConfiguration 参数
This commit is contained in:
parent
63934899b7
commit
84ae63acc4
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||
|
@ -14,10 +14,11 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.8" />
|
||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.9" />
|
||||
<PackageReference Include="Longbow.Configuration" Version="2.2.3" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.App" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="3.1.2" />
|
||||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.7.9" />
|
||||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.7.10" />
|
||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.3" PrivateAssets="All" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
|
||||
<PackageReference Include="Sentry.AspNetCore" Version="1.2.0" />
|
||||
|
|
|
@ -52,8 +52,8 @@ namespace Bootstrap.Admin
|
|||
});
|
||||
services.AddCors();
|
||||
services.AddLogging(builder => builder.AddFileLogger().AddDBLogger(ExceptionsHelper.Log));
|
||||
services.AddConfigurationManager(Configuration);
|
||||
services.AddCacheManager(Configuration);
|
||||
services.AddConfigurationManager();
|
||||
services.AddCacheManager();
|
||||
services.AddDbAdapter();
|
||||
services.AddIPLocator(DictHelper.ConfigIPLocator);
|
||||
services.AddOnlineUsers();
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.5" />
|
||||
<PackageReference Include="Longbow.Cache" Version="2.2.11" />
|
||||
<PackageReference Include="Longbow.Cache" Version="2.2.12" />
|
||||
<PackageReference Include="Longbow.Data" Version="2.3.2" />
|
||||
<PackageReference Include="Longbow.Web" Version="2.2.12" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.4" />
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.8" />
|
||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="2.2.9" />
|
||||
<PackageReference Include="Longbow.Configuration" Version="2.2.3" />
|
||||
<PackageReference Include="Longbow.Logging" Version="2.2.7" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.App" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -34,8 +34,8 @@ namespace Bootstrap.Client
|
|||
});
|
||||
services.AddCors();
|
||||
services.AddLogging(builder => builder.AddFileLogger());
|
||||
services.AddConfigurationManager(Configuration);
|
||||
services.AddCacheManager(Configuration);
|
||||
services.AddConfigurationManager();
|
||||
services.AddCacheManager();
|
||||
services.AddDbAdapter();
|
||||
services.AddSignalR().AddJsonProtocalDefault();
|
||||
services.AddResponseCompression();
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<PackageReference Include="Longbow.Logging" Version="2.2.7" />
|
||||
<PackageReference Include="Longbow.Security.Cryptography" Version="1.3.0" />
|
||||
<PackageReference Include="Longbow.Web" Version="2.2.12" />
|
||||
<PackageReference Include="Longbow.Cache" Version="2.2.11" />
|
||||
<PackageReference Include="Longbow.Cache" Version="2.2.12" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.4" />
|
||||
<PackageReference Include="PetaPoco.Extensions" Version="1.0.5" />
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue