TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Michael
1.5k
238
19k
ASP.NET Friendly Url problems
May 28 2016 3:26 AM
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.
Reply
Answers (
1
)
Full name display in Login (menu) panel ASP.NET MVC
MVc Sample Application With Dynamic Menu Creations