I have a large web form application that I want to allow the user to export their data in case they don't want to complete the entire form at once. Then when they return they can import the data and continue where they left off.
The reason for this is part of the requirement for the client is that no database is to be used.
I've gotten to the point where I create an XML file containing all the form data, but I want the client to be able to download that XML file without the application having to save it to the server, even temporarily.
Is it possible to create the XML file and transmit it via stream/attachment to the client without saving it to disk?
I'm using C# Asp.net