Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?
share|improve this question
add comment

3 Answers 3

  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.
share|improve this answer
add comment

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. http://10.0.0.14, if your ip adress is 10.0.0.14).

share|improve this answer
    
thanks for your reply, the computers are not joined together , so how i can physically join them. –  john G 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
add comment

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.

share|improve this answer
    
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 G Mar 11 '12 at 0:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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