how to deploy ASP.Net MVC 4 application on IIS with bin folder

Viewed 64296

I have tried these steps but could not make it. When I browse my app it shows dll file.

  1. Log onto the machine that is or will be hosting your application.
  2. Use IIS Manager to create a new website for your application.
  3. Create a new application in that site. I believe this also will automatically create an application pool with the same name for you and use it by default.
  4. Specify the virtual directory for your application. This is going to tell IIS where to look for your mvc application. For this case lets assume it is C:\myApp
  5. On your own machine Build the application however you build it with the correct solution configuration (i.e. Release mode). Lets say the result of your build is located at C:\MyProject\bin.
  6. Copy C:\MyProject\bin from your machine onto your hosting machine at C:\myApp

I am a novice to this technology.

2 Answers
Related