Skip to content

Commit 007e322

Browse files
committed
Update client-side libraries, few fixes and improvements
1 parent 56751b8 commit 007e322

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

src/Data/AspNetCoreTemplate.Data.Common/AspNetCoreTemplate.Data.Common.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
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>

src/Web/AspNetCoreTemplate.Web/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
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>();

src/Web/AspNetCoreTemplate.Web/Properties/launchSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
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": {

src/Web/AspNetCoreTemplate.Web/libman.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
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",
@@ -21,7 +21,7 @@
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",

0 commit comments

Comments
 (0)