You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Configuration.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ call the method, associated with it. See examples of how to do this below.
29
29
30
30
### Configure in Startup
31
31
32
-
To specify where the maintenance state is stored, so that it can be restored after a restart of the application, use the options, available in the extension method for registeratin of the control service. By default, the state is stored in a json file. To override that, you can implement your own state store and pass it as a parameter to UseStateStore(). For inspiration, take a look at the implementation of [FileStateStore](src/MaintenanceModeMiddleware/StateStore/FileStateStore.cs).
32
+
To specify where the maintenance state is stored, so that it can be restored after a restart of the application, use the options, available in the extension method for registration of the control service. By default, the state is stored in a json file. To override that, you can implement your own state store and pass it as a parameter to UseStateStore(). For inspiration, take a look at the implementation of [FileStateStore](src/MaintenanceModeMiddleware/StateStore/FileStateStore.cs).
1. Callthebulder's method, which corresponds to the setting, and pass your own value. This will cause the default setting to be ommitted in favour of the value you have specified.
97
+
1. Callthebuilder's method, which corresponds to the setting, and pass your own value. This will cause the default setting to be omitted in favor of the value you have specified.
98
98
2. Call `options.UseNoDefaultValues();` totellthemiddlewarenottoapplyanydefaultvalues. Thenyoucanspecifyonlythesettingsyouneed. Thisisusefulforexample when you want to allow only a specific user to retain access to the site, regardless of the roles they have.
0 commit comments