<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Working with memory mapped files in .NET 4</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx</link><description>I have been exploring different new features that come with the .NET 4, beyond the most popular ones like dynamic types and covariance; I was interested in performance enhancements. For this reason I am going to publish a couple of blog entries were I</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #365</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9723391</link><pubDate>Wed, 10 Jun 2009 08:39:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9723391</guid><dc:creator>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #365</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.cwa.me.uk/2009/06/10/the-morning-brew-365/"&gt;http://blog.cwa.me.uk/2009/06/10/the-morning-brew-365/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Interesting Finds: 2009 06.01 ~ 06.14</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9748329</link><pubDate>Sun, 14 Jun 2009 09:25:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9748329</guid><dc:creator>gOODiDEA.NET</dc:creator><description>&lt;p&gt;Web How to Easily Create a JavaScript Framework, Part 1 - Part 2 Asynchronous innerHTML 10 HTML Tag Crimes&lt;/p&gt;
</description></item><item><title>Interesting Finds: 2009 06.01 ~ 06.14</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9748333</link><pubDate>Sun, 14 Jun 2009 09:25:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9748333</guid><dc:creator>gOODiDEA</dc:creator><description>&lt;p&gt;WebHowtoEasilyCreateaJavaScriptFramework,Part1-Part2AsynchronousinnerHTML...&lt;/p&gt;
</description></item><item><title>.Net Framework 4.0: Using memory mapped files</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9795093</link><pubDate>Sun, 21 Jun 2009 12:58:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9795093</guid><dc:creator>Gunnar Peipman's ASP.NET blog</dc:creator><description>&lt;p&gt;.Net Framework 4.0 introduces memory mapped files. Memory mapped files are useful when you need to do&lt;/p&gt;
</description></item><item><title>re: Working with memory mapped files in .NET 4</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9801616</link><pubDate>Wed, 24 Jun 2009 18:07:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9801616</guid><dc:creator>Cameron</dc:creator><description>&lt;p&gt;Is it possible to use memory mapped files in VS2008, with the Net Framework 4 beta 1 installed on a box?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Great article&lt;/p&gt;</description></item><item><title>re: Working with memory mapped files in .NET 4</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9801790</link><pubDate>Wed, 24 Jun 2009 20:32:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9801790</guid><dc:creator>Salva Patuel</dc:creator><description>&lt;p&gt;Hi Cameron,&lt;/p&gt;
&lt;p&gt;VS2008 does not know how to handle .NET 4 unfortunately. Therefore the IDE can not use the new compiler. You can write the code but you will need to manually call the VS2010 compiler to link it to .NET 4.&lt;/p&gt;
&lt;p&gt;You can still use memory mapped files in VS2008 using PInvoke, but I imagine that is not the solution that you are looking after.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Salvador &lt;/p&gt;
</description></item><item><title>re: Working with memory mapped files in .NET 4</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9876993</link><pubDate>Thu, 20 Aug 2009 16:27:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9876993</guid><dc:creator>E. Scott Anderson</dc:creator><description>&lt;p&gt;Salva,&lt;/p&gt;
&lt;p&gt;Could you please elaborate more on how to &amp;quot;manually call the VS2010 compiler to link it to .NET 4.&amp;quot; I am thinking that I would like to take the approach where I write a DLL in VS2010 .NET 4.0 to handle the reading-writing/caching of the data in the memory mapped file and reference this DLL in my VS2008 .NET 3.5 project. The reason is that my application is heavily dependent on MS Robotics Studio which is not 4.0 ready, but I need to process very large image data sets.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;</description></item><item><title>re: Working with memory mapped files in .NET 4</title><link>http://blogs.msdn.com/salvapatuel/archive/2009/06/08/working-with-memory-mapped-files-in-net-4.aspx#9882994</link><pubDate>Tue, 25 Aug 2009 00:54:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9882994</guid><dc:creator>Salva Patuel</dc:creator><description>&lt;p&gt;Hi E. Scott Anderson&lt;/p&gt;
&lt;p&gt;The short answer is you can't. You can do it the other way around as .NET 4 allows you to run side-by-side libraries (i.e running a .NET4 app and referencing a .NET 2/3/3.5 DLL). The problem is that the process running under CLR 2 (.net 2/3/3.5) does not know how to interpret a DLL compiled under CLR 4.&lt;/p&gt;
&lt;p&gt;You can still access the memory mapped files using the PInvoke model, it works very well.&lt;/p&gt;
&lt;p&gt;You can find more info here: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/ms810613.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms810613.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
</description></item></channel></rss>