File tree Expand file tree Collapse file tree
Data/AspNetCoreTemplate.Data.Common
Web/AspNetCoreTemplate.Web Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 <PackageReference Include =" StyleCop.Analyzers" Version =" 1.2.0-beta.556" PrivateAssets =" all" >
1717 <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
1818 </PackageReference >
19- <PackageReference Include =" System.ComponentModel.Annotations" Version =" 5.0.0" />
2019 </ItemGroup >
2120
2221</Project >
Original file line number Diff line number Diff line change 1717 using Microsoft . AspNetCore . Http ;
1818 using Microsoft . AspNetCore . Mvc ;
1919 using Microsoft . EntityFrameworkCore ;
20+ using Microsoft . EntityFrameworkCore . Diagnostics ;
2021 using Microsoft . Extensions . Configuration ;
2122 using Microsoft . Extensions . DependencyInjection ;
2223 using Microsoft . Extensions . Hosting ;
@@ -35,7 +36,10 @@ public static void Main(string[] args)
3536 private static void ConfigureServices ( IServiceCollection services , IConfiguration configuration )
3637 {
3738 services . AddDbContext < ApplicationDbContext > (
38- options => options . UseSqlServer ( configuration . GetConnectionString ( "DefaultConnection" ) ) ) ;
39+ options => options . UseSqlServer (
40+ configuration . GetConnectionString ( "DefaultConnection" ) ,
41+ sqlOptions => sqlOptions . CommandTimeout ( 180 ) )
42+ . ConfigureWarnings ( warnings => warnings . Ignore ( RelationalEventId . PendingModelChangesWarning ) ) ) ;
3943
4044 services . AddDefaultIdentity < ApplicationUser > ( IdentityOptionsProvider . GetIdentityOptions )
4145 . AddRoles < ApplicationRole > ( ) . AddEntityFrameworkStores < ApplicationDbContext > ( ) ;
Original file line number Diff line number Diff line change 33 "windowsAuthentication" : false ,
44 "anonymousAuthentication" : true ,
55 "iisExpress" : {
6- "applicationUrl" : " http://localhost:19901 " ,
7- "sslPort" : 44319
6+ "applicationUrl" : " http://localhost:19902 " ,
7+ "sslPort" : 44320
88 }
99 },
1010 "profiles" : {
Original file line number Diff line number Diff line change 33 "defaultProvider" : " jsdelivr" ,
44 "libraries" : [
55 {
6- "library" : " jquery@3.6.3 " ,
6+ "library" : " jquery@3.7.1 " ,
77 "destination" : " wwwroot/lib/jquery/" ,
88 "files" : [
99 " dist/jquery.min.js" ,
1010 " dist/jquery.js"
1111 ]
1212 },
1313 {
14- "library" : " bootstrap@5.2.3 " ,
14+ "library" : " bootstrap@5.3.8 " ,
1515 "destination" : " wwwroot/lib/bootstrap/" ,
1616 "files" : [
1717 " dist/css/bootstrap.css" ,
2121 ]
2222 },
2323 {
24- "library" : " jquery-validation@1.19.5 " ,
24+ "library" : " jquery-validation@1.21.0 " ,
2525 "destination" : " wwwroot/lib/jquery-validation/" ,
2626 "files" : [
2727 " dist/jquery.validate.js" ,
You can’t perform that action at this time.
0 commit comments