<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: delete file created on server</title><link>http://forums.silverlight.net/forums/thread/243130.aspx</link><pubDate>Mon, 06 Jul 2009 12:42:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:243130</guid><dc:creator>hazz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/243130.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=243130</wfw:commentRss><description>&lt;p&gt;Thank you for the idea.&amp;nbsp; How do I save a tag of the file on the client if it was created on the server?&lt;/p&gt;</description></item><item><title>Re: delete file created on server</title><link>http://forums.silverlight.net/forums/thread/243127.aspx</link><pubDate>Mon, 06 Jul 2009 12:39:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:243127</guid><dc:creator>hazz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/243127.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=243127</wfw:commentRss><description>&lt;p&gt;Thanks Ken. I like the idea of sending the file straight away instead of saving to server with associated problems that arise. (ie. deleting)&lt;/p&gt;
&lt;p&gt;Do I&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;utilize an existing aspx page in the silverlight web project or &lt;/p&gt;
&lt;p&gt;2. create a new one or&lt;/p&gt;
&lt;p&gt;3. utilize the same .aspx page that hosts the .xap file itself.&lt;/p&gt;
&lt;p&gt;Sorry for my need for a little more clarity.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: delete file created on server</title><link>http://forums.silverlight.net/forums/thread/242912.aspx</link><pubDate>Mon, 06 Jul 2009 04:16:45 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:242912</guid><dc:creator>egoZd</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/242912.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=242912</wfw:commentRss><description>When you generate the file on server , you can save a tag on client side , and when you want to delete please send this tag as a request parameter , then server can understand which file to delete ,Does this you want.</description></item><item><title>Re: delete file created on server</title><link>http://forums.silverlight.net/forums/thread/242774.aspx</link><pubDate>Sun, 05 Jul 2009 16:30:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:242774</guid><dc:creator>ken tucker</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/242774.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=242774</wfw:commentRss><description>&lt;p&gt;I dont think it is a good idea to save the csv on the server it changes.&amp;nbsp; I would write the csv to the response.outputstream on an aspx page&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.web.httpresponse.outputstream.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.web.httpresponse.outputstream.aspx &lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>delete file created on server</title><link>http://forums.silverlight.net/forums/thread/242743.aspx</link><pubDate>Sun, 05 Jul 2009 14:27:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:242743</guid><dc:creator>hazz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/242743.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=242743</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;as per&amp;nbsp;&amp;nbsp;&lt;strong&gt;&lt;font size="3"&gt;&lt;a href="http://tinyurl.com/mqspaf"&gt;http://tinyurl.com/mqspaf&lt;/a&gt;&lt;/font&gt;&lt;/strong&gt;, &lt;/p&gt;
&lt;p&gt;I need to delete, from Page.xaml.cs, the csv file just created.&lt;/p&gt;
&lt;p&gt;I have many Silverlight projects/Reports/Pages which will each write a csv file to the same File Directory.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;The current client code cannot determine which file to fetch from the &amp;quot;FileDir&amp;quot; directory on the server.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Until I figure out a better way to handle multiple requests from various Pages to save csv files into the same directory, I think deleting the one just created sounds like the easiest approach.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;a href="http://tinyurl.com/mqspaf"&gt;&lt;/a&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>