KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
ASP.NET MVC seems to be encouraging me to use hard-coded strings to refer to controllers and actions. For example, in a controller: return RedirectToAction("Index", "Home"); or, in a view: Html.RenderPartial("Index", "Home"); I don't want hard-coded strings all over my code. What can I do to avoid this?
Tags (comma-separated)
Save Edits
Cancel