The RouteCollection Class now has a AppendTrailingSlash boolean which you can set to true for this behavior.
More Related Contents:
- Why map special routes first before common routes in asp.net mvc?
- ASP.NET MVC Routing Via Method Attributes [closed]
- ASP.NET MVC custom routing for search
- MVC Routing Parameter Precedence
- How to get RouteData by URL?
- Discovering Generic Controllers in ASP.NET Core
- ASP.net MVC support for URL’s with hyphens
- Route with Two optional parameters in MVC3 not working
- MVC role-based routing
- How to determine if using MVC4 vs MVC5 vs MVC6? [closed]
- How to render an ASP.NET MVC view as a string?
- MVC5 – How to set “selectedValue” in DropDownListFor Html helper
- Why does Html.ActionLink render “?Length=4”
- jqgrid + EF + MVC: How to export in excel? Which method you suggest?
- Replace line break characters with in ASP.NET MVC Razor view
- Add CSS or JavaScript files to layout head from views or partial views
- Implementing Profile Provider in ASP.NET MVC
- What’s the difference between the four File Results in ASP.NET MVC
- What is the right time for ViewData, ViewBag, Session, TempData
- The ViewData item that has the key ‘MY KEY’ is of type ‘System.String’ but must be of type ‘IEnumerable’
- ASP.NET MVC unit test controller with HttpContext
- Validate object based on external factors (ie. data store uniqueness)
- Merge MyDbContext with IdentityDbContext
- Customizing authorization in ASP.NET MVC
- MVC Razor view Intellisense broken in VS 2013/2015/2017
- Are ActionFilterAttributes reused across threads? How does that work?
- How can I disable client side and proxy caching in ASP.NET MVC?
- how to add script src inside a View when using Layout
- VS2013 does not compile ASP.NET MVC5 views
- ViewBag vs Model, in MVC.NET [closed]