Tech
Forums
Jobs
Books
Events
Live
Learn
More
Training
Interviews
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
ASP.NET Friendly Url problems
Michael
May 28 2016 3:26 AM
353
Reply
Hello,
I have a problem which is urgent to solve. I have installed nuget package of asp.net friendly urls, however it does not working properly. The package installed also these lines of code to RouteConfig.cs:
var settings = new FriendlyUrlSettings();
settings.AutoRedirectMode = RedirectMode.Permanent;
routes.EnableFriendlyUrls(settings);
For some pages it works fine, for some other it doesn't work at all. For example: I have page users.aspx which redirect to users/ as it should be. On the other hand I have page ProjectBrowse.aspx and it cannot find it when I type ProjectBrowse. I tried to set routes.MapPageRoute above the code block that package installed but the problem persists.
Thank you in advance.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Full name display in Login (menu) panel ASP.NET MVC
MVc Sample Application With Dynamic Menu Creations