-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathappsettings.json
More file actions
64 lines (64 loc) · 2.44 KB
/
Copy pathappsettings.json
File metadata and controls
64 lines (64 loc) · 2.44 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
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=.\\SQLEXPRESS;Database=SharpRepositoryCoreContacts;Trusted_Connection=True;"
},
"sharpRepository": {
"repositories": {
"default": "inMemory",
"inMemory": {
"factory": "SharpRepository.InMemoryRepository.InMemoryConfigRepositoryFactory, SharpRepository.InMemoryRepository"
},
"inMemoryNoCaching": {
"factory": "SharpRepository.InMemoryRepository.InMemoryConfigRepositoryFactory, SharpRepository.InMemoryRepository",
"cachingStrategy": "none",
"cachingProvider": "noCachingProvider"
},
"mongoDb": {
"factory": "SharpRepository.MongoDbRepository.MongoDbConfigRepositoryFactory, SharpRepository.MongoDbRepository",
"cachingStrategy": "none",
"cachingProvider": "noCachingProvider",
"connectionString": "mongodb://127.0.0.1/SharpRepositoryCoreContacts",
"sslEnabled": false,
"sslProtocol": "Tls12"
},
"efCore": {
"factory": "SharpRepository.EfCoreRepository.EfCoreConfigRepositoryFactory, SharpRepository.EfCoreRepository",
"dbContextType": "SharpRepository.Samples.Core3Mvc.ContactContext, SharpRepository.Samples.Core3Mvc",
"cachingStrategy": "none",
"cachingProvider": "noCachingProvider"
}
},
"cachingProviders": {
"default": "inMemoryProvider",
"inMemoryProvider": {
"factory": "SharpRepository.Repository.Caching.InMemoryConfigCachingProviderFactory, SharpRepository.Repository"
},
"noCachingProvider": {
"factory": "SharpRepository.Repository.Caching.NoCachingConfigCachingProviderFactory, SharpRepository.Repository"
}
},
"cachingStrategies": {
"default": "standard",
"standard": {
"factory": "SharpRepository.Repository.Caching.StandardConfigCachingStrategyFactory, SharpRepository.Repository",
"generational": "true",
"writeThrough": "false"
},
"timeout": {
"factory": "SharpRepository.Repository.Caching.TimeoutConfigCachingStrategyFactory, SharpRepository.Repository",
"timeout": "200"
},
"none": {
"factory": "SharpRepository.Repository.Caching.NoCachingConfigCachingStrategyFactory, SharpRepository.Repository"
}
}
}
}