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

Distribute asp.net 2003 application on a cd rom

P: n/a
Hello,
I have built an application web site using ASP.NET 2003 and MSSQL
database server.
I now need to distribute the entire application to customers on a CD
to run the web application completely from their local personal
computers. In other words, they will not need to access the Internet
to run the application.
I know I can use the redistributable MSSQL EMMSDE for the database
part, but my problem is that I want users to run the site from the CD
rom.
questions:
1) Can I run a web server from the CD that supports asp.net code and
dlls?
2) If not, is it possible to install the asp.net application on the
user's computer and ship with it a personal web server that would
support my application?

I know I can probably convert the .net webforms into windows forms,
but that will take awhile as I heavily used web functionality for my
application.

Thanks in advance for your help.
Seever
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
re:
!1) Can I run a web server from the CD that supports asp.net code and dlls?

Yes.

You can use ( although a bit pricey ) DWebPro or Stunnix to do that :

http://www.dwebpro.com/

http://www.stunnix.com/prod/aws/run-...m-or-usb.shtml

With both of these you'll need to pre-compile your app.
That's because you don't want to jit-compile dlls to an ASP.NET temp dir.

re:
!is it possible to install the asp.net application on the user's computer
!and ship with it a personal web server that would support my application?

Also, yes.

The client will need to have the .Net Framework 2.0
installed on the system which will run the website.

WebDev.WebServer.exe (the ASP.NET Development Web Server executable) is located in :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

Copy that file to the client and run a batch file to start the webserver.

Here's an example batch file which shows you how to start the
ASP.NET Development Web Server from the command-line:

start /b webdev.webserver /port:1544 /path:"c:\AppDir"

The directory where WebDev.WebServer.exe is copied to must be in the computer's path,
or you must include the full path to the executable in the batch file.

You can use any port you want and any application path you want.
You must have previously copied your application's files to the "AppDir" directory, 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/
======================================
<sm*****@earthlink.netwrote in message news:fb**********************************@p39g2000 prm.googlegroups.com...
Hello,
I have built an application web site using ASP.NET 2003 and MSSQL
database server.
I now need to distribute the entire application to customers on a CD
to run the web application completely from their local personal
computers. In other words, they will not need to access the Internet
to run the application.
I know I can use the redistributable MSSQL EMMSDE for the database
part, but my problem is that I want users to run the site from the CD rom.
questions:
1) Can I run a web server from the CD that supports asp.net code and
dlls?
2) If not, is it possible to install the asp.net application on the
user's computer and ship with it a personal web server that would
support my application?

I know I can probably convert the .net webforms into windows forms,
but that will take awhile as I heavily used web functionality for my
application.

Thanks in advance for your help.
Seever


Jun 27 '08 #2

P: n/a
Have a look at Bart DeSmet's article here:

http://www.microsoft.com/belux/msdn/...staspnet1.mspx

--Peter
<sm*****@earthlink.netwrote in message
news:fb**********************************@p39g2000 prm.googlegroups.com...
Hello,
I have built an application web site using ASP.NET 2003 and MSSQL
database server.
I now need to distribute the entire application to customers on a CD
to run the web application completely from their local personal
computers. In other words, they will not need to access the Internet
to run the application.
I know I can use the redistributable MSSQL EMMSDE for the database
part, but my problem is that I want users to run the site from the CD
rom.
questions:
1) Can I run a web server from the CD that supports asp.net code and
dlls?
2) If not, is it possible to install the asp.net application on the
user's computer and ship with it a personal web server that would
support my application?

I know I can probably convert the .net webforms into windows forms,
but that will take awhile as I heavily used web functionality for my
application.

Thanks in advance for your help.
Seever
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.