Skip to content

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

@theperm

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions