John Baird
Coatesville, Pennsylvania, United States
Environment versions
Network:
Windows 2008 Server
We have a situation where we have a virtual directory in IIS pointing to c:\websites\sysadminweb. We want to place version directories below this folder like:
sysadminweb
v2.4.0
v2.4.1
v2.5.0
The trouble we're having is that if we place the deployed files in the version folder, the routing tables in MVC can't find the Home\index and nothing happens. If we deploy the files to the root directory, all works well.
What kind of routing map do we set up so that we can pass the version and have the mvc routing find it?
Thanks in advance, but figure it out: url: "v2.4.0/{controller}/{action}/{id}" does the trick.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only