Skip to content

Commit c054e13

Browse files
authored
Add example appsettings configuration file
1 parent c286b54 commit c054e13

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

publish/appsettings.example.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"ConnectionStrings": {
3+
"DefaultConnection": "Server=NameOfServer,WhichPort;Database=nameOfTheDatabse;User Id=YOUR_ID;Password=YOUR_PASSWORD;MultipleActiveResultSets=true;Encrypt=False;TrustServerCertificate=True"
4+
},
5+
"EmailSettings": {
6+
"SmtpServer": "smtp.gmail.com",
7+
"SmtpUserName": "mail@where.com",
8+
"SmtpPassword": "password",
9+
"SmtpServerPort": 587,
10+
"EnableSsl": true,
11+
"EmailDisplayName": "Name",
12+
"SendersName": "Name"
13+
},
14+
"Logging": {
15+
"LogLevel": {
16+
"Default": "Trace",
17+
"Microsoft": "Warning",
18+
"Microsoft.Hosting.Lifetime": "Information"
19+
},
20+
"NLog": {
21+
"RemoveLoggerFactoryFilter": true
22+
}
23+
},
24+
"AllowedHosts": "*"
25+
}

0 commit comments

Comments
 (0)