ASP.NET Development Server as standalone ?

  • Thread starter Thread starter Savvoulidis Iordanis
  • Start date Start date
S

Savvoulidis Iordanis

Sometimes, I need to transfer my development site .aspx files to another
machine in another city where I only have notepad and .NET 3.5. How can I use
the ASP.NET Development Web Server outside Visual Studio, to test my site on
the other PC?
 
re:
!> How can I use the ASP.NET Development Web Server
!> outside Visual Studio, to test my site on the other PC?

In your PC, look in : "Drive:\Windows\Microsoft.NET\Framework\v2.0.50727"
for WebDev.WebServer.exe ...and copy it to the other machine.

There's also a WebDev.WebServer.exe.manifest file in that directory.
I'm not sure whether it's an essential file.

The command-line syntax for launching the Dev Server is :
WebDeb.WebServer /port:<port number> /path:<physical path> [/vpath:<virtual path>]

I've never been able to get the [/vpath:<virtual path>] parameter to work,
so you could try to do without it ( running the app in the root space ).

For example, you could launch the webserver using the following syntax:

start /B webdev.webserver.exe /port:80 /path:"c:\directorypathtoyourwebfiles"

Or...you could install VWD 2008, and run/test/modify the project in it.

VWD 2008 installs the ASP.NET Development Web Server
....and you will have the plus of being able to edit the files.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
Back
Top