1

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?
MadHatter
  • 79,770
  • 20
  • 184
  • 232
test test
  • 1
  • 12

3 Answers3

1
  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.
Ben Pilbrow
  • 12,041
  • 5
  • 36
  • 57
1

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).

Mathias R. Jessen
  • 25,161
  • 4
  • 63
  • 95
1

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.

Kyle Smith
  • 9,683
  • 1
  • 31
  • 32
  • 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 – test test Mar 11 '12 at 00:17