views:

293

answers:

2

We have a fairly complex web application (.NET 3.5) that need to be launched from a CD-ROM (or DVD, or from an USB key).

I'm thinking of using Cassini and SqlCe for the database (we use LinqToSql for data access, so I think it's the only choice without rewriting the entire data access classes). Is anyone ever done something like that?

Notes : http://www.microsoft.com/belux/msdn/nl/community/columns/desmet/hostaspnet2.mspx Kind of does what I want.

+1  A: 

Where are you going to get the web server to serve the ASP.NET pages? You can open stuff like straight HTML, Flash or Silverlight directly in the browser, but unless I am missing something, you need IIS to do the server side ASP.NET.

I don't know your requirements, but you might want to consider a WinForms app or even MFC (if you can't guarantee .NET is installed on the target computers).

This doesn't answer your database question though. SqlCE should work as the required assemblies can be distributed with your application. Another option is SQLite along with Subversion for your data layer. I have no experience with Cassini though.

Rob Prouse
Cassini is the old Name for the ASP.net Development Webserver. It's essentially a Localhost-only Web Server that works quite well for this purpose. Check the EULA on Redistribution though.
Michael Stum
A: 

I have found UtilDev Cassini that does a very great job. As for the database, tests were conclusive with SqlCe and LinqToSql.

Sebastien Lachance