I have built an asp.net mvc3 web application on my machine that uses windows 7.

Now I need to host this web application locally on my machine to be accessed by two employees in our office which uses Windows XP. So I need to know the following:

  1. How do I host my asp.net mvc web application inside my machine? and then connect the other two machines to use the asp.net mvc application?
  2. How to physically connect all these PCs together?
  1. Install IIS on your machine and allow access on port 80 from those particular machines. If your IT policy prevents this, stop now and ask permission.
  2. Publish your app to IIS (web deploy makes this super easy).
  3. There's a 99% likelihood your office already has a network and these PCs are all on it, so get your colleagues to go to http://your-machine-name-or-ip-address to use the web app.

An MVC3 app, is just a web application like any other.

Install IIS 7 on your Win7 machine, if you haven't already.

Publish you MVC app on your new web server

If you're computers are already domain-joined, your computer already has a known FQDN, (look in system settings), if not, access the web app with your computers local IP address (eg., if your ip adress is

  • thanks for your reply, the computers are not joined together , so how i can physically join them. – john Gu Mar 11 '12 at 0:14
  • Physically? Through the use of ethernet cables, I would suggest. – Mathias R. Jessen Mar 11 '12 at 0:34

If you have an IT department, they are probably familiar with hosting web applications in IIS. They may even have real servers, rather than hosting a new business application on your workstation. It would be unfortunate if your little desktop PC became critical to business operations and the cleaning crew tripped over the power cord.

  • actually we do not have IT dept, we are a small and new compny, so i want to let my machine that have windows 7 to act as a server for this application ,, till we can buy a seperate server later on . BR – john Gu Mar 11 '12 at 0:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.