<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - How would you do this in .NET?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - How would you do this in .NET?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 07:27:26 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 07:27:26 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>6</c9:totalResults>
	<c9:pageCount>-6</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - How would you do this in .NET?</title>
		<description><![CDATA[<p>I have currently worked around this issue trivially by limiting the data size but I'd like to hear if you have better ideas than I do:</p><p>Lets say you have a simple local app which uses LINQ to do things with data. I don't want to use SQL server or other &quot;heavy&quot; solution, I just want to load the data into the process and then do queries.</p><p>Now, I want to edit and add&nbsp;LINQ queries which work with the data, without having to reload the data every time I change query. I understand VS11 has improved edit and continue when dealing with lambdas but I read that it still does not allow editing lambdas. I haven't tried if this could be worked around somehow by eg. creating new methods during e&amp;c with the lambda queries or something like that.</p><p>Ideas (assume that my queries use/need&nbsp;all the data):</p><p>1) Keep data in a running process, then somehow rebuild/recompile the linq query code in a dll which is (re)loaded into that process after every modification of the query code.</p><p>2) Keep data in another process and the newly compiled/edited linq queries/lambdas are transferred to that process somehow instead of directly loading the newly compiled code.</p><p>3) Make the data loading much faster. Currently I use protobuf-net to deserialize the objects that LINQ is used to query. It would be much faster if the parts of the process memory containing the static dataset would be lightly(fast) compressed and saved (and loaded from) to disk in a way that allows efficient use of windows file buffering (load speed 2 GB/s on warm runs). This would probably require deep knowledge of how CLR works and might not be compatible across different CLR's.</p><p>4) build some sort of &quot;linqpad&quot; /query builder into the app with the data with IntelliSense and all. This would be nice for an end user app but I want something simple that works with console apps too and TBH I want to edit the code more than just the queries without reloading the data all the time.</p><p>But I'm looking for a way to do this in least lines of code possible and least amount of change to switch from existing simple code to this solution without having to change existing linq queries in the code or throw away the protobuf-net (de)serialization&nbsp;code.</p><p>&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/5e45a92b6d8747d6b280a0450084f972#5e45a92b6d8747d6b280a0450084f972</link>
		<pubDate>Wed, 02 May 2012 08:04:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/5e45a92b6d8747d6b280a0450084f972#5e45a92b6d8747d6b280a0450084f972</guid>
		<dc:creator>androidi</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/androidi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - How would you do this in .NET?</title>
		<description><![CDATA[<p>A server process that 'owns' the pre-loaded data and a separate client process that runs the LINQ queries against them -- use remoting or WFC from the client to request the data from the server?</p><p>Would depend on how large the data is and the speed of the remote serialisation.</p><p>Herbie</p><p>EDIT : I've never tried sending delegates or closures through RPC, would that work (client creates delegate containing LINQ query to server and server executes and returns results)?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/00ad46d0c995403eafe7a0450088210e#00ad46d0c995403eafe7a0450088210e</link>
		<pubDate>Wed, 02 May 2012 08:15:37 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/00ad46d0c995403eafe7a0450088210e#00ad46d0c995403eafe7a0450088210e</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - How would you do this in .NET?</title>
		<description><![CDATA[<p>Why not SQLCE4.0 ? It is lite and you can adhoc whatever you like.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/75cb809b5a1b4fc3aa98a04500887a87#75cb809b5a1b4fc3aa98a04500887a87</link>
		<pubDate>Wed, 02 May 2012 08:16:54 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/75cb809b5a1b4fc3aa98a04500887a87#75cb809b5a1b4fc3aa98a04500887a87</guid>
		<dc:creator>magicalclick</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/magicalclick/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - How would you do this in .NET?</title>
		<description><![CDATA[<p>LINQPad supports custom data access drivers. Maybe the only piece of it that you have to build is the part that loads the data into memory and allows LINQPad to connect to it.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/043c6b03e21c4e50a441a045014a00f1#043c6b03e21c4e50a441a045014a00f1</link>
		<pubDate>Wed, 02 May 2012 20:01:30 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/043c6b03e21c4e50a441a045014a00f1#043c6b03e21c4e50a441a045014a00f1</guid>
		<dc:creator>kettch</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/kettch/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - How would you do this in .NET?</title>
		<description><![CDATA[<p></p><blockquote><div class="quoteText"><p></p><p><a class="permalink" title="Post Permalink" href="/Forums/Coffeehouse/How-would-you-do-this-in-NET/5e45a92b6d8747d6b280a0450084f972">12 hours&nbsp;ago</a>, <a href="/Niners/androidi">androidi</a> wrote</p><p>*snip*</p><p>1) Keep data in a running process, then somehow rebuild/recompile the linq query code in a dll which is (re)loaded into that process after every modification of the query code.</p><p>*snip*</p><p></p></div></blockquote><p></p><p>What do you mean by rebuild/recompile here? Do you mean to rebuild/recompile from Visual Studio?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/38a43871459c4fb3bc6fa045015407fc#38a43871459c4fb3bc6fa045015407fc</link>
		<pubDate>Wed, 02 May 2012 20:38:00 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/38a43871459c4fb3bc6fa045015407fc#38a43871459c4fb3bc6fa045015407fc</guid>
		<dc:creator>cbae</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/cbae/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - How would you do this in .NET?</title>
		<description><![CDATA[<p></p><blockquote><div class="quoteText"><p></p><p><a class="permalink" title="Post Permalink" href="/Forums/Coffeehouse/How-would-you-do-this-in-NET/043c6b03e21c4e50a441a045014a00f1">2 hours&nbsp;ago</a>, <a href="/Niners/kettch">kettch</a> wrote</p><p>LINQPad supports custom data access drivers. Maybe the only piece of it that you have to build is the part that loads the data into memory and allows LINQPad to connect to it.</p><p></p></div></blockquote><p></p><p>&nbsp;</p><p>LINQ Pad !&nbsp; it rocks and if you spend some time with it you might find out how to capture a linq expression tree and then serialize that to save it and then later re-load it.</p><p>i bet you can just store the expressions in strings or trees and do what it does to evaluate and run them.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/7d2c20ef71c34277a4cea045016c82d7#7d2c20ef71c34277a4cea045016c82d7</link>
		<pubDate>Wed, 02 May 2012 22:07:08 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/How-would-you-do-this-in-NET/7d2c20ef71c34277a4cea045016c82d7#7d2c20ef71c34277a4cea045016c82d7</guid>
		<dc:creator>figuerres</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/figuerres/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>