Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Routing issues on NON-MVC razor powered web app

barranger's Avatar

barranger

18 Jan, 2011 08:34 AM

Thanks again for this great application!

it seems that pushing a plain jane ASP.Net web app (read: Not mvc) has troubles with routing. It's processing the .cshtml files correctly, however it's not routing the extensionless url to the proper file meaning that while www.foo.com/Default doesn't work, www.foo.com.Default.cshtml does.

Any help with this would be greatly appreciated.

  1. Support Staff 1 Posted by tt on 18 Jan, 2011 09:37 PM

    tt's Avatar

    If you add the following to your Web.config file, it should work.

    <system.webServer>
      <modules runAllManagedModulesForAllRequests="true"/>
    </system.webServer>
    

    We will try to install this patch in our next service window, so editing the configuration file isn't required.

  2. tt closed this discussion on 18 Jan, 2011 09:37 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac