File tree Expand file tree Collapse file tree 8 files changed +18
-21
lines changed
Bing.Datas.EntityFramework/Core
Bing.Admin.Infrastructure Expand file tree Collapse file tree 8 files changed +18
-21
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Bing是一个.net core平台下的应用框架,旨在于提升小型团队的
77 </PropertyGroup >
88
99 <ItemGroup >
10- <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2-preview-20201103-1 " />
10+ <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2" />
1111 </ItemGroup >
1212
1313 <ItemGroup >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Bing是一个.net core平台下的应用框架,旨在于提升小型团队的
88 </PropertyGroup >
99
1010 <ItemGroup >
11- <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2-preview-20201103-1 " />
11+ <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2" />
1212 </ItemGroup >
1313
1414 <ItemGroup >
Original file line number Diff line number Diff line change 77
88 <ItemGroup >
99 <PackageReference Include =" Microsoft.AspNetCore.Mvc.RazorPages" Version =" 2.2.5" />
10- <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2-preview-20201103-1 " />
10+ <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2" />
1111 </ItemGroup >
1212
1313 <ItemGroup >
Original file line number Diff line number Diff line change @@ -318,9 +318,9 @@ public int Commit()
318318 {
319319 try
320320 {
321- var changed = ChangeTracker . Entries ( ) . Any ( ) ;
322- if ( ! changed )
323- return 0 ;
321+ // var changed = ChangeTracker.Entries().Any();
322+ // if (!changed)
323+ // return 0;
324324 return SaveChanges ( ) ;
325325 }
326326 catch ( DbUpdateConcurrencyException ex )
@@ -340,9 +340,9 @@ public async Task<int> CommitAsync()
340340 {
341341 try
342342 {
343- var changed = ChangeTracker . Entries ( ) . Any ( ) ;
344- if ( ! changed )
345- return 0 ;
343+ // var changed = ChangeTracker.Entries().Any();
344+ // if (!changed)
345+ // return 0;
346346 return await SaveChangesAsync ( ) ;
347347 }
348348 catch ( DbUpdateConcurrencyException ex )
Original file line number Diff line number Diff line change 88 <ItemGroup >
99 <PackageReference Include =" AspectCore.Extensions.AspectScope" Version =" 2.1.0" />
1010 <PackageReference Include =" AspectCore.Extensions.Configuration" Version =" 2.1.0" />
11+ <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 2.2.0" />
1112 <PackageReference Include =" AspectCore.Extensions.DependencyInjection" Version =" 2.1.0" />
1213 <PackageReference Include =" Microsoft.Extensions.DependencyModel" Version =" 3.1.6" />
1314 <PackageReference Include =" Microsoft.Extensions.Localization" Version =" 2.2.0" />
1415 <PackageReference Include =" Microsoft.Extensions.PlatformAbstractions" Version =" 1.1.0" />
1516 <PackageReference Include =" System.Linq.Dynamic.Core" Version =" 1.2.5" />
1617 <PackageReference Include =" System.Runtime.Loader" Version =" 4.3.0" />
17- <PackageReference Include =" Bing.Utils" Version =" 1.2.2-preview-20201103-1 " />
18+ <PackageReference Include =" Bing.Utils" Version =" 1.2.2" />
1819 </ItemGroup >
1920
2021 <ItemGroup >
Original file line number Diff line number Diff line change 33
44 <Import Project =" ..\..\..\common.props" />
55
6- <ItemGroup >
7- <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 2.2.0" />
8- </ItemGroup >
9-
106</Project >
Original file line number Diff line number Diff line change 1414 </ItemGroup >
1515
1616 <ItemGroup >
17- <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2-preview-20201103-1 " />
17+ <PackageReference Include =" Bing.Utils.Http" Version =" 1.2.2" />
1818 </ItemGroup >
1919
2020 <ItemGroup >
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ public class LogModule : AspNetCoreBingModule
3131 /// <param name="services">服务集合</param>
3232 public override IServiceCollection AddServices ( IServiceCollection services )
3333 {
34- services . AddNLog ( ) ;
35- // services.AddExceptionless(o =>
36- // {
37- // o.ApiKey = "FKLLqe2hMowxb1udH8w76DaGjUxFw04BZv3P0AOO ";
38- // o.ServerUrl = "http://106.12.130.45:50000 ";
39- // });
34+ // services.AddNLog();
35+ services . AddExceptionless ( o =>
36+ {
37+ o . ApiKey = "ez9jumyxVxjTxqSm0oUQhCML3OGCkDfMGyW1hfmn " ;
38+ o . ServerUrl = "http://10.186.132.40:5100 " ;
39+ } ) ;
4040 return services ;
4141 }
4242 }
You can’t perform that action at this time.
0 commit comments