Skip to content

Commit

Permalink
Use a note to make it harder to miss the new `options.MapEndpoints(…
Browse files Browse the repository at this point in the history
…)` method call.
  • Loading branch information
Layoric committed Feb 6, 2024
1 parent 4040338 commit a4f65ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MyApp/_pages/endpoints-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ app.UseServiceStack(new AppHost(), options =>
});
```

:::info NOTE
This configuration is required and is an opt-in feature. If you do not call `options.MapEndpoints()`, your ServiceStack APIs will not be mapped to standard ASP.NET Core Endpoints.
:::

### Moving from Funq to ASP.NET Core's built in Dependency Injection system

Since ServiceStack services are registered earlier in the setup, we need to move the discovery of your ServiceStack APIs to earlier in the setup as well.
Expand Down

0 comments on commit a4f65ef

Please sign in to comment.