Skip to content

Commit 3240b74

Browse files
author
Bart Koelman
committed
Reduced excessive logging in AppVeyor; aligned launchsettings
1 parent 45486c3 commit 3240b74

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

src/Examples/JsonApiDotNetCoreExample/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ RUN ["dotnet", "restore"]
88

99
RUN ["dotnet", "build"]
1010

11-
EXPOSE 5000/tcp
11+
EXPOSE 14140/tcp
1212

13-
CMD ["dotnet", "run", "--server.urls", "http://*:5000"]
13+
CMD ["dotnet", "run", "--server.urls", "http://*:14140"]
Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
{
2-
"iisSettings": {
3-
"windowsAuthentication": false,
4-
"anonymousAuthentication": true,
5-
"iisExpress": {
6-
"applicationUrl": "http://localhost:1479/",
7-
"sslPort": 0
8-
}
9-
},
10-
"profiles": {
11-
"IIS Express": {
12-
"commandName": "IISExpress",
13-
"launchBrowser": false,
14-
"launchUrl": "api/values",
15-
"environmentVariables": {
16-
"ASPNETCORE_ENVIRONMENT": "Development"
17-
}
2+
"$schema": "http://json.schemastore.org/launchsettings.json",
3+
"iisSettings": {
4+
"windowsAuthentication": false,
5+
"anonymousAuthentication": true,
6+
"iisExpress": {
7+
"applicationUrl": "http://localhost:14140",
8+
"sslPort": 44340
9+
}
1810
},
19-
"JsonApiDotNetCoreExample": {
20-
"commandName": "Project",
21-
"launchBrowser": false,
22-
"launchUrl": "http://localhost:5000/api/values",
23-
"environmentVariables": {
24-
"ASPNETCORE_ENVIRONMENT": "Development"
25-
},
26-
"applicationUrl": "http://localhost:5000/"
11+
"profiles": {
12+
"IIS Express": {
13+
"commandName": "IISExpress",
14+
"launchBrowser": false,
15+
"launchUrl": "api/v1/todoItems",
16+
"environmentVariables": {
17+
"ASPNETCORE_ENVIRONMENT": "Development"
18+
}
19+
},
20+
"Kestrel": {
21+
"commandName": "Project",
22+
"launchBrowser": false,
23+
"launchUrl": "api/v1/todoItems",
24+
"applicationUrl": "https://localhost:44340;http://localhost:14140",
25+
"environmentVariables": {
26+
"ASPNETCORE_ENVIRONMENT": "Development"
27+
}
28+
}
2729
}
28-
}
2930
}

src/Examples/JsonApiDotNetCoreExample/appsettings.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
"DefaultConnection": "Host=localhost;Port=5432;Database=JsonApiDotNetCoreExample;User ID=postgres;Password=postgres"
44
},
55
"Logging": {
6-
"IncludeScopes": false,
76
"LogLevel": {
8-
"Default": "Debug",
9-
"System": "Warning",
7+
"Default": "Warning",
108
"Microsoft": "Warning",
11-
"Microsoft.EntityFrameworkCore": "Debug"
9+
"Microsoft.EntityFrameworkCore.Database.Command": "Warning"
1210
}
13-
}
11+
},
12+
"AllowedHosts": "*"
1413
}

0 commit comments

Comments
 (0)