build: 升级组件到最新版
This commit is contained in:
parent
7017843a49
commit
145a5048ee
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.21" />
|
<PackageReference Include="Bootstrap.Security.DataAccess" Version="2.2.21" />
|
||||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.0.1-beta1" />
|
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.0.1-beta5" />
|
||||||
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
|
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
|
||||||
<PackageReference Include="Longbow.Tasks" Version="2.2.23" />
|
<PackageReference Include="Longbow.Tasks" Version="2.2.24" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.App" />
|
<PackageReference Include="Microsoft.AspNetCore.App" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="3.1.6" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="3.1.6" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<PackageReference Include="Longbow.GiteeAuth" Version="2.2.0" />
|
<PackageReference Include="Longbow.GiteeAuth" Version="2.2.0" />
|
||||||
<PackageReference Include="Longbow.GitHubAuth" Version="2.2.0" />
|
<PackageReference Include="Longbow.GitHubAuth" Version="2.2.0" />
|
||||||
<PackageReference Include="Longbow.OAuth" Version="2.2.2" />
|
<PackageReference Include="Longbow.OAuth" Version="2.2.2" />
|
||||||
<PackageReference Include="Longbow.Logging" Version="2.2.13" />
|
<PackageReference Include="Longbow.Logging" Version="3.0.0" />
|
||||||
<PackageReference Include="Longbow.PetaPoco" Version="1.0.2" />
|
<PackageReference Include="Longbow.PetaPoco" Version="1.0.2" />
|
||||||
<PackageReference Include="Longbow.Security.Cryptography" Version="1.3.0" />
|
<PackageReference Include="Longbow.Security.Cryptography" Version="1.3.0" />
|
||||||
<PackageReference Include="Longbow.Tasks" Version="2.2.23" />
|
<PackageReference Include="Longbow.Tasks" Version="2.2.24" />
|
||||||
<PackageReference Include="Longbow.Web" Version="2.2.16" />
|
<PackageReference Include="Longbow.Web" Version="2.2.16" />
|
||||||
<PackageReference Include="Longbow.WeChatAuth" Version="2.2.0" />
|
<PackageReference Include="Longbow.WeChatAuth" Version="2.2.0" />
|
||||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.6" />
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.6" />
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<PackageReference Include="Longbow.Cache" Version="2.2.15" />
|
<PackageReference Include="Longbow.Cache" Version="2.2.15" />
|
||||||
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
|
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
|
||||||
<PackageReference Include="Longbow.Data" Version="2.3.8" />
|
<PackageReference Include="Longbow.Data" Version="2.3.8" />
|
||||||
<PackageReference Include="Longbow.Logging" Version="2.2.13" />
|
<PackageReference Include="Longbow.Logging" Version="3.0.0" />
|
||||||
<PackageReference Include="Longbow.Web" Version="2.2.16" />
|
<PackageReference Include="Longbow.Web" Version="2.2.16" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,8 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.0.1-beta1" />
|
<PackageReference Include="Bootstrap.Security.Mvc" Version="3.0.1-beta5" />
|
||||||
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
|
<PackageReference Include="Longbow.Configuration" Version="2.2.7" />
|
||||||
<PackageReference Include="Longbow.Logging" Version="2.2.13" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.App" />
|
<PackageReference Include="Microsoft.AspNetCore.App" />
|
||||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.6" />
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.6" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
|
||||||
|
|
|
@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.HttpOverrides;
|
using Microsoft.AspNetCore.HttpOverrides;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
@ -93,7 +94,7 @@ namespace Bootstrap.Client
|
||||||
app.UseResponseCompression();
|
app.UseResponseCompression();
|
||||||
app.UseStaticFiles();
|
app.UseStaticFiles();
|
||||||
app.UseCookiePolicy();
|
app.UseCookiePolicy();
|
||||||
app.UseBootstrapAdminAuthentication(RoleHelper.RetrievesByUserName, RoleHelper.RetrievesByUrl, AppHelper.RetrievesByUserName);
|
app.UseBootstrapAdminAuthorization(RoleHelper.RetrievesByUserName, RoleHelper.RetrievesByUrl, AppHelper.RetrievesByUserName);
|
||||||
app.UseCacheManager();
|
app.UseCacheManager();
|
||||||
app.UseOnlineUsers(callback: TraceHelper.Save);
|
app.UseOnlineUsers(callback: TraceHelper.Save);
|
||||||
app.UseSignalR(routes => { routes.MapHub<SignalRHub>("/NotiHub"); });
|
app.UseSignalR(routes => { routes.MapHub<SignalRHub>("/NotiHub"); });
|
||||||
|
|
Loading…
Reference in New Issue