Search code examples
asp.net-mvcweb-deployment-project

how to deploy asp.net mvc to my desktop so that it be visible to all computers in the network?


I've developed a tiny application in ASPNET MVC that I'd like to deploy. Our network has 2 servers and 20+ desktops. The two servers have our applications (written in java) running in them. [we're not a software company - I've learned ASP.NET MVC on my own and would like to show it to my people - who knows? that might open doors...].

That's why I need to know (1) if it's possible to deploy my application to my desktop so that other can access to it form their computers in the same network? (2) How do I do it?

In fact, having my people surrounding my laptop makes my application look like a curious toy. So far, I've learn how to develop, but I've never deploy an application (specially to a desktop)

Thanks for helping.


Solution

    • If possible, make sure that you are running IIS 7 on your desktop (if you aren't, check out Phil Haack's ASP.NET MVC on IIS6 Walkthrough).
    • Open IIS Manager (run the command "inetmgr").
    • Expand the tree on the left, select the Default Web Site and click "Basic Settings".
    • Make the "Physical path" point to the directory where you placed your MVC application
    • Check if the application shows up on http://localhost
    • If it doesn't, let us know
    • If it does, make sure you open port 80 in your Windows firewall and try to access the website at http://your-ip from another machine