Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d77e9dd

Browse files
committedApr 25, 2020
Add readme
1 parent e5d0f8c commit d77e9dd

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
 

‎BlazorDemoKeepPageState.sln

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.29920.165
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorDemoKeepPageState", "BlazorDemoKeepPageState\BlazorDemoKeepPageState.csproj", "{7FB69162-2F7B-4919-8DBF-4921F8FEA59E}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorDemoKeepPageState", "BlazorDemoKeepPageState\BlazorDemoKeepPageState.csproj", "{7FB69162-2F7B-4919-8DBF-4921F8FEA59E}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{15BFBC42-0B0C-47B6-82C0-376DFECCD2E6}"
9+
ProjectSection(SolutionItems) = preProject
10+
README.md = README.md
11+
EndProjectSection
712
EndProject
813
Global
914
GlobalSection(SolutionConfigurationPlatforms) = preSolution

‎README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Blazor Demo Keep Page State
2+
3+
When switch pages , keep state of some pages by code.
4+
5+
In this sampe,
6+
7+
The state of Index.razor will be persisted until browser reload.
8+
9+
The Counter.razor will be expired in 10 seconds if continue switch to more pages.
10+
11+
12+

0 commit comments

Comments
 (0)
Please sign in to comment.