Can I run an MVC application from a virtual directory in IIS7?
Not only is this possible, but it is the preferred method.
What type of mess is for routing.
Not if you use HTML helpers when dealing with URLs that take care of this.
Here is a typical example of what you should never do:
<script type="text/javascript"> $.ajax({ url: '/home/index' }); </script>
and here is how to do it:
<script type="text/javascript"> $.ajax({ url: '@Url.Action("index", "home")' }); </script>
Here is another typical example of what you should never do:
<a href="/home/index">Foo</a>
and this is how it should be written:
@Html.ActionLink("Foo", "Index", "Home")
Here is another example of what you should never do:
<form action="/home/index" method="opst"> </form>
and this is how it should be written:
@using (Html.BeginForm("Index", "Home")) { }
I think you get the point.