By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,114 Members | 1,570 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,114 IT Pros & Developers. It's quick & easy.

Running a web App on PC using the Development Server?

P: n/a
Is the Development Server part of the .net 2x runtime package or
installed with one installs VS 2005? I wish to run a small web app on
a machine, with the runtime installed, and need to know if I need to
include the Development Server in the install. If the latter, what
files need to be included? (Exe, DLL, etc)

Finally, can I legally re-distrubte the Development Server?

Jan 30 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
You need a web server, capable of running ASP.NET. The simplest way is to
have IIS running (If the computer runs on Win2K Pro or WinXP or Win2K
Server, or Win2003).

"David" <me@me.comwrote in message
news:jc********************************@4ax.com...
Is the Development Server part of the .net 2x runtime package or
installed with one installs VS 2005? I wish to run a small web app on
a machine, with the runtime installed, and need to know if I need to
include the Development Server in the install. If the latter, what
files need to be included? (Exe, DLL, etc)

Finally, can I legally re-distrubte the Development Server?

Jan 30 '07 #2

P: n/a
re:
You need a web server, capable of running ASP.NET.
WebDev.WebServer.exe *is* a web server and it can run ASP.NET.

re:
what files need to be included? (Exe, DLL, etc)
AFAIK, only WebDev.WebServer.exe.
You'll find it in the Windows\Microsoft.net\v2.0.50727 directory.

There's also a WebDev.WebServer.exe.manifest file in that directory,
but I haven't witnessed any ill effects from not including it with the executable.

I haven't tested all scenarios, so you 'd do well to test it by copying
WebDev.WebServer.exe to a clean machine and checking out its functionality.

If you do that, please let us know how it went.

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:81 /path:"c:\pathtoyourwebfiles"

You can set the port to any port number you want to (preferrably one higher than 1024),
but don't use port 80, as your clients might have a webserver at that port.

re:
Finally, can I legally re-distribute the Development Server?
It's distributed with the .Net Framework 2.0 redistributable,
so I doubt that there's any onus related to its distribution.


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/
===================================
"Norman Yuan" <No*****@NotReal.notwrote in message news:uZ*************@TK2MSFTNGP06.phx.gbl...
You need a web server, capable of running ASP.NET. The simplest way is to have IIS running (If
the computer runs on Win2K Pro or WinXP or Win2K Server, or Win2003).
"David" <me@me.comwrote in message news:jc********************************@4ax.com...
>Is the Development Server part of the .net 2x runtime package or
installed with one installs VS 2005? I wish to run a small web app on
a machine, with the runtime installed, and need to know if I need to
include the Development Server in the install. If the latter, what
files need to be included? (Exe, DLL, etc)

Finally, can I legally re-distrubte the Development Server?


Jan 30 '07 #3

P: n/a
Are you sure the WebDev.WebServer.exe is included in .NET2.0
redistributable? I'd believe it only comes with .NET2.0 SDK. I've checked a
few computers in my office, on which only .NET2.0 framework installed, not
2.0 Framework SDK. There is no WebDev.WebServer.exe in the folder
"C:\Windows\Microsoft.NET\Framework\v2.0.50727 ".

If the "development server" mentioned in OP only has .NET2.0 framework, not
SDK, he need to either run IIS, or distribute WedDev.WebServer.exe and make
sure it is running when needed.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
re:
>You need a web server, capable of running ASP.NET.

WebDev.WebServer.exe *is* a web server and it can run ASP.NET.

re:
>what files need to be included? (Exe, DLL, etc)

AFAIK, only WebDev.WebServer.exe.
You'll find it in the Windows\Microsoft.net\v2.0.50727 directory.

There's also a WebDev.WebServer.exe.manifest file in that directory,
but I haven't witnessed any ill effects from not including it with the
executable.

I haven't tested all scenarios, so you 'd do well to test it by copying
WebDev.WebServer.exe to a clean machine and checking out its
functionality.

If you do that, please let us know how it went.

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:81 /path:"c:\pathtoyourwebfiles"

You can set the port to any port number you want to (preferrably one
higher than 1024),
but don't use port 80, as your clients might have a webserver at that
port.

re:
>Finally, can I legally re-distribute the Development Server?

It's distributed with the .Net Framework 2.0 redistributable,
so I doubt that there's any onus related to its distribution.


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/
===================================
"Norman Yuan" <No*****@NotReal.notwrote in message
news:uZ*************@TK2MSFTNGP06.phx.gbl...
>You need a web server, capable of running ASP.NET. The simplest way is
to have IIS running (If
the computer runs on Win2K Pro or WinXP or Win2K Server, or Win2003).

>"David" <me@me.comwrote in message
news:jc********************************@4ax.com.. .
>>Is the Development Server part of the .net 2x runtime package or
installed with one installs VS 2005? I wish to run a small web app on
a machine, with the runtime installed, and need to know if I need to
include the Development Server in the install. If the latter, what
files need to be included? (Exe, DLL, etc)

Finally, can I legally re-distrubte the Development Server?



Jan 31 '07 #4

P: n/a
re:
Are you sure the WebDev.WebServer.exe is included in .NET2.0 redistributable? I'd believe it only
comes with .NET2.0 SDK.
Hmmm, you're right.
It's also included with VWD (besides VS 2005, of course).

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/
===================================
"Norman Yuan" <No*****@NotReal.notwrote in message news:eS**************@TK2MSFTNGP03.phx.gbl...
Are you sure the WebDev.WebServer.exe is included in .NET2.0 redistributable? I'd believe it only
comes with .NET2.0 SDK. I've checked a few computers in my office, on which only .NET2.0 framework
installed, not 2.0 Framework SDK. There is no WebDev.WebServer.exe in the folder
"C:\Windows\Microsoft.NET\Framework\v2.0.50727 ".
If the "development server" mentioned in OP only has .NET2.0 framework, not SDK, he need to either
run IIS, or distribute WedDev.WebServer.exe and make sure it is running when needed.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>re:
>>You need a web server, capable of running ASP.NET.

WebDev.WebServer.exe *is* a web server and it can run ASP.NET.

re:
>>what files need to be included? (Exe, DLL, etc)

AFAIK, only WebDev.WebServer.exe.
You'll find it in the Windows\Microsoft.net\v2.0.50727 directory.

There's also a WebDev.WebServer.exe.manifest file in that directory,
but I haven't witnessed any ill effects from not including it with the executable.

I haven't tested all scenarios, so you 'd do well to test it by copying
WebDev.WebServer.exe to a clean machine and checking out its functionality.

If you do that, please let us know how it went.

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:81 /path:"c:\pathtoyourwebfiles"

You can set the port to any port number you want to (preferrably one higher than 1024),
but don't use port 80, as your clients might have a webserver at that port.

re:
>>Finally, can I legally re-distribute the Development Server?

It's distributed with the .Net Framework 2.0 redistributable,
so I doubt that there's any onus related to its distribution.


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/
===================================
"Norman Yuan" <No*****@NotReal.notwrote in message news:uZ*************@TK2MSFTNGP06.phx.gbl...
>>You need a web server, capable of running ASP.NET. The simplest way is to have IIS running (If
the computer runs on Win2K Pro or WinXP or Win2K Server, or Win2003).

>>"David" <me@me.comwrote in message news:jc********************************@4ax.com...
Is the Development Server part of the .net 2x runtime package or
installed with one installs VS 2005? I wish to run a small web app on
a machine, with the runtime installed, and need to know if I need to
include the Development Server in the install. If the latter, what
files need to be included? (Exe, DLL, etc)

Finally, can I legally re-distrubte the Development Server?




Jan 31 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.