How to change the page name from 2.mvc to Home.mvc

Topics: Developer Forum
Oct 13, 2008 at 2:41 AM
Edited Oct 14, 2008 at 2:06 AM
Currently in admin edit mode, the page url is Id + .mvc, how can I change them to name + .mvc?

How can I navigate to home page when going to the root(/)

BTW, is here has any example of Mvc mode + UserControl?
Oct 13, 2008 at 5:07 PM
To use the name make sure to include a [WithEditableName] in your item class.

There is probably a nicer solution but  the mvc example uses some custom code in the default.aspx code behind.

No, sorry.
Oct 14, 2008 at 4:11 AM
I changed the startpageId in web.config, but I got alot of errors when I run the website, all url of resources have be changed and system can not find them.. please help me
Oct 14, 2008 at 9:02 PM
Sorry, I need more information if I am to help. E.g. stack trace of your errors.

Are you implementing N2 on an existing site? If you're doing greenfields you could start with one of the examples and go from there.