-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using "RequireHttpsAttribute" on a global level in Asp.net 4.5 in Azure #1730
Comments
Using IIS: #895 The most exciting approach by @ZestyBread is Rewrite Middleware (releasing in 1.1). Link and video at dotnet/AspNetCore.Docs#1839 with discussion in aspnet/BasicMiddleware#43 |
@guardrex , is there any performance and parallel requests penalties in using the middleware for redirecting as compared to using the rewrite module in IIS? |
The IIS rewrite module would be more efficient because it runs much earlier in the pipeline. |
Thanks guys..hence i am closing the issue |
Add new SignalR scenarios (#1730)
I want to declare in code that I want to require the use of HTTPS.
In the past, I used this in Global.asax.cs:
GlobalFilters.Filters.Add(new RequireHttpsAttribute());
it is working in local but in Azure Productions server it is not working
The text was updated successfully, but these errors were encountered: