Skip to content

Commit 1f7f200

Browse files
stulzqrynowak
authored andcommitted
Fix typo in .NET SDK docs
1 parent 28c07c0 commit 1f7f200

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

daprdocs/content/en/dotnet-sdk-docs/dotnet-actors/dotnet-actors-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ var request = new MyRequest() { Message = "Hi, it's me.", };
9191
var response = await proxy.InvokeMethodAsync<MyRequest, MyResponse>("DoSomethingGreat", request);
9292
```
9393

94-
When using a weakly-typed proxy, it is your responsbility to define the correct actor method names and message types. This is done for you when using a strongly-typed proxy since the names and types are part of the interface definition.
94+
When using a weakly-typed proxy, it is your responsibility to define the correct actor method names and message types. This is done for you when using a strongly-typed proxy since the names and types are part of the interface definition.

daprdocs/content/en/dotnet-sdk-docs/dotnet-actors/dotnet-actors-usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The `ActorHost` is provided by the runtime and contains all of the state that th
2626

2727
### Using dependency injection
2828

29-
Actors support [depenendency injection](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection) of additonal parameters into the constructor. Any other parameters your define will have their values satisfied from the dependency injection container.
29+
Actors support [depenendency injection](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection) of additional parameters into the constructor. Any other parameters your define will have their values satisfied from the dependency injection container.
3030

3131
```csharp
3232
internal class MyActor : Actor, IMyActor, IRemindable
@@ -56,7 +56,7 @@ public void ConfigureServices(IServiceCollection services)
5656

5757
Each actor instance has its own dependency injection scope. Each actor remains in memory for some time after performing an operation, and during that time the dependency injection scope associated with the actor is also considered live. The scope will be releases when the actor is deactivated.
5858

59-
If an actor injects an `IServiceProvider` in the constructor, the actor will recieve a reference to the `IServiceProvider` associated with its scope. The `IServiceProvider` can be used to resolve services dynamically in the future.
59+
If an actor injects an `IServiceProvider` in the constructor, the actor will receive a reference to the `IServiceProvider` associated with its scope. The `IServiceProvider` can be used to resolve services dynamically in the future.
6060

6161
```csharp
6262
internal class MyActor : Actor, IMyActor, IRemindable
@@ -193,7 +193,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
193193
}
194194
```
195195

196-
The `UseRouting` and `UseEndpoints` calls are necessary to configure routing. Adding `MapActorsHandlers` inside the endpoint middleware is what configures actors as part of the pipline.
196+
The `UseRouting` and `UseEndpoints` calls are necessary to configure routing. Adding `MapActorsHandlers` inside the endpoint middleware is what configures actors as part of the pipeline.
197197

198198
This is a minimal example, it's valid for Actors functionality to existing alongside:
199199

daprdocs/content/en/dotnet-sdk-docs/dotnet-development/dotnet-development-docker-compose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Similar to running locally with `dapr run` for each service you need to choose a
3535

3636
The compose file will contain at a minimum:
3737

38-
- A network that the containers use to communiate
38+
- A network that the containers use to communicate
3939
- Each service's container
4040
- A `<service>-daprd` sidecar container with the service's port and app-id specified
4141
- Additional dependencies that run in containers (redis for example)

daprdocs/content/en/dotnet-sdk-docs/dotnet-troubleshooting/dotnet-troubleshooting-pubsub.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The most common problem with pub/sub is that the pub/sub endpoint in your applic
1212

1313
There are a few layers to this problem with different solutions:
1414

15-
- The application is not recieving any traffic from Dapr
15+
- The application is not receiving any traffic from Dapr
1616
- The application is not registering pub/sub endpoints with Dapr
1717
- The pub/sub endpoints are registered with Dapr, but the request is not reaching the desired endpoint
1818

@@ -81,7 +81,7 @@ Pay particular attention to the HTTP status code, and the JSON output.
8181
A 200 status code indicates success.
8282

8383

84-
The JSON blob that's included near the end is the output of `/dapr/subscribe` that's procesed by the Dapr runtime. In this case it's using the `ControllerSample` in this repo - so this is an example of correct output.
84+
The JSON blob that's included near the end is the output of `/dapr/subscribe` that's processed by the Dapr runtime. In this case it's using the `ControllerSample` in this repo - so this is an example of correct output.
8585

8686
```json
8787
[
@@ -120,7 +120,7 @@ app.UseEndpoints(endpoints =>
120120

121121
### Option 2: The response contained JSON but it was empty (like `[]`)
122122

123-
If the JSON output was an empty array (like `[]`) then the subcribe handler is registered, but no topic endpoints were registered.
123+
If the JSON output was an empty array (like `[]`) then the subscribe handler is registered, but no topic endpoints were registered.
124124

125125
---
126126

0 commit comments

Comments
 (0)