0

I have created MVC 3 application, everything is working fine.

Now we moved for deployment. However the IIS 7 got already installed with MVC 4 and running other MVC 4 application.

Can I simply host my MVC 3 application? Or do I need to do any changes in web.config, or global.asax etc? Any breakdown will happen?

I developed MVC 3 with Razor.

4
  • 1
    Have you tried hosting the MVC3 application? Commented Feb 4, 2013 at 15:01
  • @Yakimych, Before hosting i am asking here. That's the production server. I need to be careful on issues :( Commented Feb 4, 2013 at 15:02
  • 1
    You are right, of course you should be careful with those issues. I would recommend setting up a (virtual) environment similar to your production server and trying it out first. If it doesn't work, I'd say it's a good candidate for asking here. I don't think it is a good idea to go all in on a production server (without testing) even if you get a positive answer here, do you? ;) Also, backing up your production environment before making drastic changes would be wise. Commented Feb 4, 2013 at 15:13
  • Thanks for reminding me the backup. Its done already. All my worry is i have seen a assembly redirect section for MVC 2 to MVC 3 in web.config. Its fine. The same will work for MVC 3 to 4? any more unexpected breaking changes? I believe all the latest version should support earlier versions. Thats Microsoft policy(Specially seeing their support for Internet Explorer). So expecting same here. Commented Feb 4, 2013 at 17:13

1 Answer 1

1

You can install MVC3 and and MVC4 side by side, but you may need to follow the advice here

If you don't want to install MVC3 on the server, simply BIN deploy it and make the changes in the attached link. That way you'll risk no knock on effects to other apps.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.