ASP.NET MVC Response file should not download
Posted
by Shawn Mclean
on Stack Overflow
See other posts from Stack Overflow
or by Shawn Mclean
Published on 2010-03-17T23:05:48Z
Indexed on
2010/03/17
23:11 UTC
Read the original article
Hit count: 227
asp.net-mvc
I am generating a .cxml file on the server and pushing it to the browser based on certain queries. If I just link to a .cxml, it does what I expected and opens it in the respective application.
How can I generate a file and push it to the browser just like if it was linked to a file without it asking me to download it?
The link looks something like:
Thanks.
© Stack Overflow or respective owner