[Mono-dev] Is it possible to run ASP.NET from a CD?

Marek Habersack grendello at gmail.com
Wed Dec 19 11:15:02 EST 2007


On Wed, 19 Dec 2007 10:18:36 -0500, "Joe Audette" <joe.audette at gmail.com>
scribbled:

> Hi All,
Hey Joe,

> Was wondering if its theoretically possible to run xsp2 directly from
> a cd. I've seen some posts about embedding mono but don't really know
> what is involved. If anyone can confirm whether its possible or point
> me to any information that might help I'd appreciate it.
> What I'm thinking about is being able to run mojoportal directly from
> a cd probably with SQLite. Obviously it would be read only but I can
> see if it could be done it would be great for making demos and also
> maybe I could make a utility to import export from other db platforms
> so a site could be backed up and archived to cd in a way that you can
> see the site as it was at the time of backup.
> 
> Is this possible?
It is doable and doesn't need to be read-only (to an extent). Your live CD
system would need to have a writable tmpfs mounted on the temp directory (that
is, usually on /tmp), so that ASP.NET can generate and compile assemblies on the
fly. Additionally, the user you would be running xsp under would need their
home directory writable, so that the .wapi directory can be created and written
to. You could create a user whose home would be set to /tmp, and reuse the same
tmpfs for both purposes. Other than those two requirements - it should work.

best regards,

marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071219/9a6355ef/attachment.bin 


More information about the Mono-devel-list mailing list