Skip to content

Commit 37098ae

Browse files
authored
Update Configuration.md
Fixed typos.
1 parent fe0a40e commit 37098ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ call the method, associated with it. See examples of how to do this below.
2929

3030
### Configure in Startup
3131

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).
3333

3434
```csharp
3535
public void ConfigureServices(IServiceCollection services)
@@ -94,7 +94,7 @@ app.UseMaintenance(options =>
9494
```
9595

9696
To override any of these default settings, you have two options:
97-
1. Call the bulder'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. Call the builder'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.
9898
2. Call `options.UseNoDefaultValues();` to tell the middleware not to apply any default values. Then you can specify only the settings you need. This is useful for example when you want to allow only a specific user to retain access to the site, regardless of the roles they have.
9999

100100
```csharp
@@ -113,14 +113,14 @@ app.UseMaintenance(options =>
113113

114114
### UseNoStateStore
115115

116-
To disable the storing of the maintenance state, thus preventing the applicatin to being able to restore it upon restart, use this option.
116+
To disable the storing of the maintenance state, thus preventing the application to being able to restore it upon restart, use this option.
117117

118118
```csharp
119119
options.UseNoStateStore();
120120
```
121121
### UseStateStore
122122

123-
To pass a custom implementation of [IStateStore](src/MaintenanceModeMiddleware/StateStore/IStateStore.cs), call this methid.
123+
To pass a custom implementation of [IStateStore](src/MaintenanceModeMiddleware/StateStore/IStateStore.cs), call this method.
124124

125125
```csharp
126126
options.UseStateStore<MyCustomStateStore>();
@@ -190,7 +190,7 @@ When we are in maintenance mode, we want to continue serving specific file types
190190
options.BypassFileExtension(".png");
191191
```
192192

193-
If no extensions are explicitly specified in `BypassFileExtension()` by the user, then these file extensions will remain accessable:
193+
If no extensions are explicitly specified in `BypassFileExtension()` by the user, then these file extensions will remain accessible:
194194
```
195195
"css", "jpg", "png", "gif", "svg", "js"
196196
```

0 commit comments

Comments
 (0)