Skip to content

Commit

Permalink
Updated to reflect latest guidance to register endpoints via top-leve…
Browse files Browse the repository at this point in the history
…l route registrations (#1262)

Signed-off-by: Whit Waldo <[email protected]>
  • Loading branch information
WhitWaldo authored Apr 8, 2024
1 parent 1b7c9f4 commit 31af35b
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,8 @@ namespace MyActorService

app.UseRouting();

app.UseEndpoints(endpoints =>
{
// Register actors handlers that interface with the Dapr runtime.
endpoints.MapActorsHandlers();
});
// Register actors handlers that interface with the Dapr runtime.
app.MapActorsHandlers();
}
}
}
Expand Down

0 comments on commit 31af35b

Please sign in to comment.