I have a domain and a hosting account and I'd like to in a folder host an MVC app and in another host asp.net web forms app.
Is it possible?
I have a domain and a hosting account and I'd like to in a folder host an MVC app and in another host asp.net web forms app.
Is it possible?
Yes, ASP.NET web forms and ASP.NET MVC applications can reside side-by-side in the same application. I have that in my current application and it works fine. You just have to make sure that your classic ASP.NET application paths don't conflict with your ASP.NET MVC routes -- seems that the MVC routing handler wins out. I've run into that a few times.
Here's a good article that walks through hosting web forms and MVC side-by-side.
Yes, it is possible. You can also have different web.config files for each folder. Of course, it depends on the hosting .NET version, if you can use MVC..
You can also have your single hosting host multiple domains, or make a subdomain and host the legacy site there.
This article shows in details how to do this: http://www.hanselman.com/blog/IntegratingASPNETMVC3IntoExistingUpgradedASPNET4WebFormsApplications.aspx
As others have said, this is most certainly possible. You'll likely want to modify your MVC routes to ignore requests for aspx or axd resources: