I am trying to make my url like this:
http://domain.com/controller/action/123/SomeTextForSEO
I tried using Action Link, but instead of adding ?company=SomeTextForSEOinstead of the company name.
<%: Html.ActionLink("DomainList", "Index", "DomainList", new { id = item.CompanyID, company = item.CompanyDisplayName.Trim() }, new object { })%>
and now I think what I need to use RouteValueDictionary, but I'm not sure how to do this in ASP.NET syntax. Can someone point me in the right direction? Examples of MSDN are insufficient.
source
share