Skip to content

Commit 6dcfeb2

Browse files
manishtiwari25linkdotnet
authored andcommitted
Added storage
1 parent 7eb45e5 commit 6dcfeb2

File tree

6 files changed

+24
-25
lines changed

6 files changed

+24
-25
lines changed

Readme.md

-25
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@ This also includes source code snippets. Highlighting is done via [highlight.js]
2323
- [Search Engine Optimization (SEO)](./docs/SEO/Readme.md)
2424
- [Setup](./docs/Setup/Readme.md)
2525

26-
## Storage Provider
27-
28-
Currently, there are 5 Storage-Provider:
29-
30-
- InMemory - Basically a list holding your data (per request). If the User hits a hard reload, the data is gone.
31-
- RavenDb - As the name suggests for RavenDb. RavenDb automatically creates all the documents, if a database name is provided.
32-
- Sqlite - Based on EF Core, it can be easily adapted for other Sql Dialects. The tables are automatically created.
33-
- SqlServer - Based on EF Core, it can be easily adapted for other Sql Dialects. The tables are automatically created.
34-
- MySql - Based on EF Core - also supports MariaDB.
35-
36-
The default (when you clone the repository) is the `InMemory` option. That means every time you restart the service, all posts and related objects are gone.
37-
3826
## Donations
3927

4028
The blog software allows you to integrate via different micro-transaction services. The following chapter will show you how to set up donations.
@@ -81,16 +69,3 @@ Furthermore, the following tags are set:
8169
## RSS Feed
8270

8371
This blog also offers an RSS feed ([RSS 2.0 specification](https://validator.w3.org/feed/docs/rss2.html)), which can be consumed by your users or programs like Feedly. Just append `feed.rss` to your URL or click on the RSS feed icon in the navigation bar to get the feed. The RSS feed does not expose the whole content of a given blog post but its title and short description including some other tags like preview image, publishing date and so on.
84-
85-
Note the ConnectionString format of SQL Server needs to be consistent:
86-
87-
```
88-
"ConnectionString": "Data Source=sql;Initial Catalog=master;User ID=sa;Password=<YOURPASSWORD>;TrustServerCertificate=True;MultiSubnetFailover=True"
89-
```
90-
91-
For MySql use the following:
92-
93-
```
94-
"PersistenceProvider": "MySql"
95-
"ConnectionString": "Server=YOURSERVER;User ID=YOURUSERID;Password=YOURPASSWORD;Database=YOURDATABASE"
96-
```

docs/Storage/MySql.md

Whitespace-only changes.

docs/Storage/RavenDb.md

Whitespace-only changes.

docs/Storage/Readme.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Storage Provider
2+
3+
Currently, there are 5 Storage-Provider:
4+
5+
- InMemory - Basically a list holding your data (per request). If the User hits a hard reload, the data is gone.
6+
- RavenDb - As the name suggests for RavenDb. RavenDb automatically creates all the documents, if a database name is provided.
7+
- Sqlite - Based on EF Core, it can be easily adapted for other Sql Dialects. The tables are automatically created.
8+
- SqlServer - Based on EF Core, it can be easily adapted for other Sql Dialects. The tables are automatically created.
9+
- MySql - Based on EF Core - also supports MariaDB.
10+
11+
The default (when you clone the repository) is the `InMemory` option. That means every time you restart the service, all posts and related objects are gone.
12+
13+
Note the ConnectionString format of SQL Server needs to be consistent:
14+
15+
```
16+
"ConnectionString": "Data Source=sql;Initial Catalog=master;User ID=sa;Password=<YOURPASSWORD>;TrustServerCertificate=True;MultiSubnetFailover=True"
17+
```
18+
19+
For MySql use the following:
20+
21+
```
22+
"PersistenceProvider": "MySql"
23+
"ConnectionString": "Server=YOURSERVER;User ID=YOURUSERID;Password=YOURPASSWORD;Database=YOURDATABASE"
24+
```

docs/Storage/SqlServer.md

Whitespace-only changes.

docs/Storage/Sqlite.md

Whitespace-only changes.

0 commit comments

Comments
 (0)