-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Development.json
More file actions
60 lines (55 loc) · 1.97 KB
/
appsettings.Development.json
File metadata and controls
60 lines (55 loc) · 1.97 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
{
"ConnectionStrings": {
//"DefaultConnection": "Server=ComputerPro7.local;Database=MBDEVproDB;Trusted_Connection=True;MultipleActiveResultSets=true",
// Use Secrets if passwords and so on...
"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",
//"ProjectID": "0",
//"IsUserExist": "Account/IsUserExist"
},
"DefaultProjectSettings": {
"ProjectName": "MBDEVproAPI",
"Description": "MBDEVproAPI version .NET CORE 10",
"DefaultFinishInspectionsStatus": "COMPLETED",
"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"
},
"AllowedHosts": "*",
"Serilog": {
"Using": [ "Serilog.Exceptions" ],
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"Enrich": [ "FromLogContext", "WithMachineName", "WithProcessId", "WithThreadId", "WithExceptionDetails" ],
"WriteTo": [
{
"Name": "ApplicationInsights",
"Args": {
"connectionString": "InstrumentationKey=xxxxx;IngestionEndpoint=https://MBDEVproAPI.applicationinsights.azure.com/;LiveEndpoint=https://MBDEVproAPI.livediagnostics.monitor.azure.com/;ApplicationId=xxxxx",
"telemetryConverter": "Serilog.Sinks.ApplicationInsights.TelemetryConverters.TraceTelemetryConverter, Serilog.Sinks.ApplicationInsights"
}
}
]
}
}