-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Development.json
More file actions
69 lines (65 loc) · 1.92 KB
/
appsettings.Development.json
File metadata and controls
69 lines (65 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"ConnectionStrings": {
"DefaultConnection": "Server=COMPUTERPRO7\\MSSQLSERVER2025;Initial Catalog=MBDEVproDB;Integrated Security=True;Encrypt=False;Trust Server Certificate=True"
},
"APISettings": {
//"APIUrl": "https://localhost:7092/api/Customer/",
//"AuthenticateUrl": "Account/Login",
//"BusinessID": "0",
//"IsUserExist": "Account/IsUserExist"
},
"DefaultProjectSettings": {
"ProjectName": "MBDEVproAPI",
"Description": "MBDEVproAPI version .NET CORE 10",
"SomeKey": "xcxc",
"SessionTimeout": "900000",
"ApplicationURL": "https://www.google.com",
"JSReport_TimeOutValue": "200000000",
"LogInExpireTimeSpan": "40"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"UserLogin": {
"AppShortName": "MBDEVproAPI",
"BaseUri": "https://localhost:7092/api/Customer/",
"ValidateTokenUri": "Auth/ValidateAppAccessToken"
},
"HttpsRedirection": {
"Enabled": true,
"SSLPort": 443
},
"AllowedHosts": "*",
"Serilog": {
"Using": [ "Serilog.Exceptions" ],
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"Enrich": [ "FromLogContext", "WithMachineName", "WithProcessId", "WithThreadId", "WithExceptionDetails" ],
"WriteTo": [
{ "Name": "Console" },
{
"Name": "File",
"Args": {
"path": "X:\\Logs\\MBDEVpro\\MBDEVproAPI\\Development\\log.txt",
"outputTemplate": "{Timestamp:G} {Message}{NewLine:1}{Exception:1}"
}
},
{
"Name": "File",
"Args": {
"path": "X:\\Logs\\MBDEVpro\\MBDEVproAPI\\Development\\log.json",
"formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog"
}
}
]
}
}