Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

HTTP response code for Redirect not readily discoverable #5855

Closed
pranavkm opened this issue Feb 24, 2017 · 2 comments
Closed

HTTP response code for Redirect not readily discoverable #5855

pranavkm opened this issue Feb 24, 2017 · 2 comments
Assignees

Comments

@pranavkm
Copy link
Contributor

From dotnet/aspnetcore#1941

Pressing Ctrl+K, Ctrl+I (show intellisense) on a MVC Redirect() method doesn't display whether it uses HTTP 307 or 302. This important detail should be readily visible.

Likewise, pressing F12 on Redirect and then F12 on its return type RedirectResult shows the RedirectResult class definition with no documentation whatsoever. At a minimum the HTTP response code (based on whether a permanent redirect) should be shown in the XML documentation.

@Eilon
Copy link
Member

Eilon commented Feb 28, 2017

Yeah let's put the HTTP status codes in the doc comments for our various helper methods on ControllerBase.cs.

@Eilon
Copy link
Member

Eilon commented Mar 6, 2017

Done?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants