diff --git a/actors/csharp/sdk/service/Program.cs b/actors/csharp/sdk/service/Program.cs index 36c6abd81..b3d332ae2 100644 --- a/actors/csharp/sdk/service/Program.cs +++ b/actors/csharp/sdk/service/Program.cs @@ -14,19 +14,6 @@ var app = builder.Build(); -if (app.Environment.IsDevelopment()) -{ - app.UseDeveloperExceptionPage(); -} -else -{ - // By default, ASP.Net Core uses port 5000 for HTTP. The HTTP - // redirection will interfere with the Dapr runtime. You can - // move this out of the else block if you use port 5001 in this - // example, and developer tooling (such as the VSCode extension). - app.UseHttpsRedirection(); -} - app.MapActorsHandlers(); app.Run();