Skip to content

.NET Actor example includes the code line app.UseHttpsRedirection(); #1426

Description

@theperm

Describe the issue
The example includes the code line
app.UseHttpsRedirection();

but this contradicts the guidance here
https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-actors/dotnet-actors-usage/#problematic-middleware

URL of the docs
https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-actors/dotnet-actors-howto/#register-actor-runtime-with-aspnet-core-startup

Expected content
Remove
app.UseHttpsRedirection();
from the example

Screenshots

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions