Skip to content

Commit 416be73

Browse files
committed
Migrate over new CMS system
1 parent d28eb9c commit 416be73

File tree

1,138 files changed

+4933
-640
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,138 files changed

+4933
-640
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- master
77
env:
88
WORKING_DIRECTORY: BlazorSchoolDocs
9-
VPS_WEB_DIRECTORY: /home/blazorschool_redesign/wwwroot/contents
9+
VPS_WEB_DIRECTORY: /home/blazorschool3/client/wwwroot
1010
jobs:
1111
build-and-deploy:
1212
runs-on: ubuntu-latest
@@ -19,4 +19,14 @@ jobs:
1919
remote: ${{ env.VPS_WEB_DIRECTORY }}
2020
host: ${{ secrets.HOST }}
2121
username: ${{ secrets.USERNAME }}
22+
password: ${{ secrets.PASSWORD }}
23+
24+
- name: Restart BlazorSchool Server service
25+
uses: garygrossgarten/github-action-ssh@master
26+
with:
27+
host: ${{ secrets.HOST }}
28+
command: |
29+
systemctl daemon-reload
30+
systemctl restart BlazorSchool3Server
31+
username: ${{ secrets.USERNAME }}
2232
password: ${{ secrets.PASSWORD }}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
[
2+
{
3+
"Name": "Legacy Tutorials",
4+
"Slug": "legacy",
5+
"Position": 1,
6+
"Description": "This tutorial is written for an old version of .NET"
7+
},
8+
{
9+
"Name": "Concept",
10+
"Slug": "concept",
11+
"Position": 1,
12+
"Description": "Before implementing a feature, you should first understand the core concepts related to the topic. A strong foundation will help you make informed decisions and better understand the steps involved in development."
13+
},
14+
{
15+
"Name": "Example Implementation",
16+
"Slug": "example",
17+
"Position": 2,
18+
"Description": "Step-by-step how to implement a feature."
19+
},
20+
21+
22+
{
23+
"Name": "Blazor Server",
24+
"Slug": "blazor-server",
25+
"Position": 1,
26+
"Description": "Blazor Server is a good model if you want tranditional website that runs on a server.<ul><li>Requires Internet connection to run.</li><li>Fast load.</li><li>Built-in SignalR.</li><li>Use byte code to transfer data between backend and frontend.</li><li>Can be hosted on Azure Web Apps, VPS.</li></ul>"
27+
},
28+
{
29+
"Name": "Blazor WebAssembly",
30+
"Slug": "blazor-wasm",
31+
"Position": 2,
32+
"Description": "Blazor WebAssembly a.k.a Blazor WASM is a good model if you want modern website called Progressive Web Apps that can run without the internet.<ul><li>Can access the website when offline and online.</li><li>Use JSON to transfer data between API and frontend.</li><li>Can use serverless hosting model.</li></ul>"
33+
},
34+
35+
36+
{
37+
"Name": "Blazor Web App",
38+
"Slug": "blazor-web-app",
39+
"Position": 1,
40+
"Description": "Blazor Server is a good model if you want tranditional website that runs on a server.<ul><li>Requires Internet connection to run.</li><li>Fast load.</li><li>Built-in SignalR.</li><li>Use byte code to transfer data between backend and frontend.</li><li>Can be hosted on Azure Web Apps, VPS.</li></ul>"
41+
},
42+
{
43+
"Name": "Blazor WebAssembly Standalone",
44+
"Slug": "blazor-webassembly-standalone",
45+
"Position": 2,
46+
"Description": "Blazor WebAssembly a.k.a Blazor WASM is a good model if you want modern website called Progressive Web Apps that can run without the internet.<ul><li>Can access the website when offline and online.</li><li>Use JSON to transfer data between API and frontend.</li><li>Can use serverless hosting model.</li></ul>"
47+
}
48+
]
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[
2+
{
3+
"Category": "blazor-server",
4+
"DotNet":
5+
[
6+
{
7+
"DotNetVersion": "dotnet5"
8+
},
9+
{
10+
"DotNetVersion": "dotnet6"
11+
},
12+
{
13+
"DotNetVersion": "dotnet7"
14+
}
15+
]
16+
},
17+
{
18+
"Category": "blazor-wasm",
19+
"DotNet":
20+
[
21+
{
22+
"DotNetVersion": "dotnet5"
23+
},
24+
{
25+
"DotNetVersion": "dotnet6"
26+
},
27+
{
28+
"DotNetVersion": "dotnet7"
29+
}
30+
]
31+
},
32+
{
33+
"Category": "blazor-webassembly-standalone",
34+
"DotNet":
35+
[
36+
{
37+
"DotNetVersion": "dotnet9"
38+
}
39+
]
40+
}
41+
]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"LongName": "dotnet5",
4+
"ShortName": ".NET 5",
5+
"Default": false
6+
},
7+
{
8+
"LongName": "dotnet6",
9+
"ShortName": ".NET 6",
10+
"Default": false
11+
},
12+
{
13+
"LongName": "dotnet7",
14+
"ShortName": ".NET 7",
15+
"Default": true
16+
},
17+
{
18+
"LongName": "dotnet9",
19+
"ShortName": ".NET 9",
20+
"Default": false
21+
}
22+
]

0 commit comments

Comments
 (0)