How do I deploy an ASP.NET MVC3 Application?

前端 未结 5 880
说谎
说谎 2021-02-15 23:52

I have created a web application using ASP.NET MVC3 in Visual studio (no SQL Server). Now I want to deploy it and am looking for suggestions for the easiest possible way.

5条回答
  •  逝去的感伤
    2021-02-16 00:38

    1- bin folder in project's folder
    2- Content folder
    3- Scripts folder
    4- Views folder
    5- Global.asax
    6- Web.config
    7- copy from C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies directory
    You should copy these files in "bin" directory before deploy website

    Microsoft.CSharp.dll - reference  
    Microsoft.Web.Infrastructure.dll and .xml - copy  
    System.Web.Helpers.dll and .xml - reference  
    System.Web.Razor.dll and .xml - copy  
    System.Web.Routing.dll - reference  
    System.Web.WebPages.Deployment.dll and .xml - copy  
    System.Web.WebPages.dll - reference  
    System.Web.WebPages.Razor.dll and .xml - copy    
    

提交回复
热议问题