Skip to content

Commit b25537d

Browse files
Merge pull request #185 from TimeWarpEngineering/Cramer/2019-09-15/Docs
Update to RC1 and small docs update
2 parents 136338c + f3b21d2 commit b25537d

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

Directory.Build.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929

3030
<!--Versions of packages used across the solution-->
3131
<PropertyGroup Label="Package Versions">
32-
<BlazorPreviewVersion>preview9.19424.4</BlazorPreviewVersion>
33-
<MicrosoftAspNetCoreVersion>3.0.0-preview9.19424.4</MicrosoftAspNetCoreVersion>
34-
<MicrosoftAspNetCoreBlazorHttpClientVersion>$(MicrosoftAspNetCoreVersion)</MicrosoftAspNetCoreBlazorHttpClientVersion>
35-
<MicrosoftAspNetCoreBlazorServerVersion>$(MicrosoftAspNetCoreVersion)</MicrosoftAspNetCoreBlazorServerVersion>
36-
<MicrosoftAspNetCoreBlazorVersion>$(MicrosoftAspNetCoreVersion)</MicrosoftAspNetCoreBlazorVersion>
32+
<BlazorPreviewVersion>3.0.0-rc1.19457.4</BlazorPreviewVersion>
33+
<MicrosoftAspNetCoreVersion>3.0.0-rc1.19457.4</MicrosoftAspNetCoreVersion>
34+
<MicrosoftAspNetCoreBlazorHttpClientVersion>3.0.0-preview9.19457.4</MicrosoftAspNetCoreBlazorHttpClientVersion>
35+
<MicrosoftAspNetCoreBlazorServerVersion>3.0.0-preview9.19457.4</MicrosoftAspNetCoreBlazorServerVersion>
36+
<MicrosoftAspNetCoreBlazorVersion>3.0.0-preview9.19457.4</MicrosoftAspNetCoreBlazorVersion>
3737
<MicrosoftAspNetCoreComponentsWebVersion>$(MicrosoftAspNetCoreVersion)</MicrosoftAspNetCoreComponentsWebVersion>
3838
<MicrosoftAspNetCoreTestHostVersion>$(MicrosoftAspNetCoreVersion)</MicrosoftAspNetCoreTestHostVersion>
39-
<MicrosoftExtensionsFileProvidersEmbeddedVersion>3.0.0-preview9.19423.4</MicrosoftExtensionsFileProvidersEmbeddedVersion>
40-
<MicrosoftExtensionsLoggingAbstractionsVersion>3.0.0-preview9.19423.4</MicrosoftExtensionsLoggingAbstractionsVersion>
39+
<MicrosoftExtensionsFileProvidersEmbeddedVersion>3.0.0-rc1.19456.10</MicrosoftExtensionsFileProvidersEmbeddedVersion>
40+
<MicrosoftExtensionsLoggingAbstractionsVersion>3.0.0-rc1.19456.10</MicrosoftExtensionsLoggingAbstractionsVersion>
4141
<MicrosoftSourceLinkGitHubVersion>1.0.0-beta2-19454-01</MicrosoftSourceLinkGitHubVersion>
4242

4343
<AnyCloneVersion>1.0.34</AnyCloneVersion>

Documentation/Tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ namespace Sample.Client
135135

136136
## Displaying state in the user interface
137137

138-
1. Edit `Pages\Counter.razor` as follows
138+
1. Edit `Pages/Counter.razor` as follows
139139
2. Inherit from BlazorStateComponent `@inherits BlazorStateComponent`, to do that you need to also add `@using BlazorState`
140140
3. Next add a `CounterState` property that gets the State from the store `GetState<CounterState>()`, this will require you add `@using Sample.Client.Features.Counter` also.
141141
4. change `currentCount` to pull the Count from state. `int currentCount => CounterState.Count;`
@@ -185,7 +185,7 @@ The `Action` is then handled by a `Handler` which can freely mutate the state.
185185
186186
## Create the `IncrementCounterAction`
187187

188-
1. In the Client project ensure the path `Features\Counter\Actions\IncrementCount` folder.
188+
1. In the Client project ensure the path `Features/Counter/Actions/IncrementCount` folder.
189189
2. In this folder create a class named `IncrementCountAction.cs`.
190190

191191
The class should:
@@ -214,7 +214,7 @@ namespace Sample.Client.Features.Counter
214214
## Sending the action through the mediator pipeline
215215

216216
To Send the action to the pipeline when the user clicks the `Click me` button,
217-
In `Pages\Counter.razor` update the `IncrementCount` function as follows:
217+
In `Pages/Counter.razor` update the `IncrementCount` function as follows:
218218

219219
```csharp
220220
void IncrementCount()
@@ -227,7 +227,7 @@ void IncrementCount()
227227

228228
The `Handler` is where we actually mutate the state to complete the `Action`.
229229

230-
1. In the `Features\Counter\IncrementCount` folder create a new class file named
230+
1. In the `Features/Counter/IncrementCount` folder create a new class file named
231231
`IncrementCountHandler.cs`
232232

233233
The Handler should:

0 commit comments

Comments
 (0)