locked
MVC and existing website RRS feed

  • Question

  • Hi,

    I'd like to run an mvc3 application with my current website, but precompiling that website or turning it into a web application project are out of the question.  Is it possible that I can just create another virtual directory/application under the website in IIS, that is a child application and just install my compiled dlls for the mvc 3 application in that directory?

    Thanks!

    • Moved by Leo Liu - MSFT Wednesday, March 7, 2012 7:57 AM Off-Topic (From:Visual C# General)
    Friday, March 2, 2012 8:50 PM

All replies

  • Hello jme1234,

    Hi,

    I'd like to run an mvc3 application with my current website, but precompiling that website or turning it into a web application project are out of the question.  Is it possible that I can just create another virtual directory/application under the website in IIS, that is a child application and just install my compiled dlls for the mvc 3 application in that directory?

    Thanks!

    Welcome to Msdn Forum , for asp net question is avialible dedicated Forum , see link below http://forums.asp.net/

    Best Regards.


    • Proposed as answer by Just Karl Tuesday, January 14, 2014 10:54 PM
    Friday, March 2, 2012 10:08 PM
  • I am not clear from your description "I'd like to run an mvc3 application with my current website". What is the meaning of current web site?

    If you are using IIS for running your app then you also run  MVC application from your IIS but it requires .net 4 and you have to make following references copy local true from your project reference.

    • Microsoft.Web.Infrastructure
    • System.Web.Helpers
    • System.Web.Mvc
    • System.Web.Razor
    • System.Web.WebPages
    • System.Web.WebPages.Deployment
    • System.Web.WebPages.Razor

    For more details you can check

    http://drew-prog.blogspot.com/2011/01/how-to-deploy-aspnet-mvc-3-app-to-web.html

    better if you post you problem on MVC forum

    http://forums.asp.net/1146.aspx/1?MVC



    Hasibul Haque,MCC,MCPD hasibulhaque.com


    Saturday, March 3, 2012 3:25 AM
  • Hi,

    How is it going now with Hasibul's suggestions?
    We are looking forward to hearing from you.

    If no progress could be made, please close thread thread by marking some useful replies as answers and then post in the forum suggested by Carmelo for dedicated support.
    Thanks for your understanding.

    Have a nice day,

    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, March 6, 2012 8:51 AM
  • That didn't really address my question - the question was deploying it with an existing website, not what it takes to normally deploy it.  I posted to the asp.net forum.
    Tuesday, March 6, 2012 2:38 PM