Link Details

Link 1023609 thumbnail
User 225256 avatar

By mswatcher
Published: Sep 01 2013 / 02:05

I got an interesting question recently on routing, which lead to an even more interesting question on how to do the opposite. This turns out to offer a pretty good look at some important details of how routing works under the hood. First, here's the question: I have a scenario where I’ve got an MVC application and I need to put a static HTML file in the root of the site (to work with a third party). Is there a way that I can specify in an MVC app that I want to not reroute requests to the html page? i.e. suppose I have myfile.html in the root of my MVC app, how do I make it so the MVC magic doesn’t try to redirect my request?
  • 4
  • 0
  • 753
  • 201

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)

Voters Against This Link (0)

    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax