I'm not sure how stuck you are:
You must have a web server (Windows comes with one called IIS, but it may not be installed)
- Make sure you actually have IIS
installed! Try typing
http://localhost/
in your browser and see what happens. If nothing happens it means that you may not have IIS installed. See Installing IIS
- Set up IIS How to set up your first IIS Web site
- You may even need to Install the .NET Framework (or your server will only serve static html pages, and not asp.net pages)
Installing your application
Once you have done that, you can more or less just copy your application to c:wwwrootinetpub
. Read Installing ASP.NET Applications (IIS 6.0) for more information
Accessing the web site from another machine
In theory, once you have a web server running, and the application installed, you only need the IP address
of your web server to access the application.
To find your IP address try:
Start
-> Run
-> type cmd
(hit ENTER
) -> type ipconfig
(hit ENTER
)
Once
- you have the IP address AND
- IIS running AND
- the application is installed
you can access your website from another machine in your LAN by just typing in the IP Address of you web server and the correct path to your application.
If you put your application in a directory called NewApp
, you will need to type something like http://your_ip_address/NewApp/default.aspx
Turn off your firewall
If you do have a firewall turn it off while you try connecting for the first time, you can sort that out later.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…