<?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>Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx</link><description>Over the internal CLR perf alias someone asked about what yields better performance having lots of small assemblies or a few of big ones&amp;#8230; I thought I&amp;#8217;d you&amp;#8217;d find the comments from the team interesting... As Rico would say, nothing is</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127139</link><pubDate>Thu, 06 May 2004 14:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127139</guid><dc:creator>Paul Tyng</dc:creator><description>Would there ever be a point where your working set size actually slows performance due to the amount loaded in which smaller assemblies would win out?&lt;br&gt;&lt;br&gt;Also another question / comment:&lt;br&gt;&lt;br&gt;In visual studio I find myself breaking out my functionality in to namespaces modeling the .Net framework ones (ie, collections, data, etc.).  But I've also gotten in to the habit of breaking out my namespaces in to seperate assemblies so that I can utilize them in other solutions as well.  Ideally all that I really need is a shared codebase and just share it between solutions since chances are they will be deployed with different versions of the shared assembly.  &lt;br&gt;&lt;br&gt;So what I'm curiuos about is do you think there it would be beneficial to still have project seperation in Visual Studio (ie, I have a Company.Collections project with all my collection code) but then have the solution compile in to a single assembly?  That way I can get the performance benefits, but still have the project as unit of code thats shared between multiple solutions.  What I fear is having to share the actual files from within sourcesafe in order to trim down my number of projects.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127176</link><pubDate>Thu, 06 May 2004 15:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127176</guid><dc:creator>Joel Dolisy</dc:creator><description>Tools like VS.Net force you into the multiple assemblies scenario by the way they organize projects.&lt;br&gt;It would be good option of to be able to build one assembly out of multiple projects. I'm currious if you guys at MS use VS.Net for organizing your assemblies and builds?</description></item><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127232</link><pubDate>Thu, 06 May 2004 16:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127232</guid><dc:creator>Charlie Hensler</dc:creator><description>Here's a related issue:&lt;br&gt;&lt;br&gt;I'm working in an environment where there are a lot of small web applications, done in both ASP an Cold Fusion, and where we are now moving to .NET, and implementing a build environment, including source control).&lt;br&gt;&lt;br&gt;Traditionally, they have generally used very few vdirs, and placed an app's files in a sub directory under an existing vdir.&lt;br&gt;&lt;br&gt;In .NET however, this doesn't really work, since we're no longer dealing with files and script, but with compiled code and the VS solution/project system.  I guess the .NET corollary would be a single web project with unrelated &amp;quot;apps&amp;quot; divided up into folders, then compiled into one large .dll.&lt;br&gt;&lt;br&gt;This seems less than ideal - for a simple change it would mean recompiling the entire &amp;quot;project&amp;quot;, and redeploying the entire thing (including the huge dll).  I shudder at the thought of artificially coupling a bunch of unrelated functionality in this way.&lt;br&gt;&lt;br&gt;The alternative (which I prefer) seems to be to accept an increased number of vdirs containing individual apps (although I did find I could compile separate projects, but then deploy to a single vdir - just by deploying the separate .dll's to the vdir's bin folder.  I decided against this though because it creates an odd deployment scenario).&lt;br&gt;&lt;br&gt;I have no problem with many vdir's, but culturally here they don't like that idea (not exactly sure why not).  The fundamental issue is moving from a scripted ASP environment (where a change to a single page can be made without a compile), to a (much better overall) platform where there is a compiled component.&lt;br&gt;&lt;br&gt;Any thoughts?&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127256</link><pubDate>Thu, 06 May 2004 16:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127256</guid><dc:creator>Omer van Kloeten</dc:creator><description>&lt;a target="_new" href="http://blogs.msdn.com/junfeng/archive/2004/02/23/78139.aspx"&gt;http://blogs.msdn.com/junfeng/archive/2004/02/23/78139.aspx&lt;/a&gt;</description></item><item><title>Fewer Assemblies better.</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127428</link><pubDate>Thu, 06 May 2004 23:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127428</guid><dc:creator>Anatoly Lubarsky Blog</dc:creator><description /></item><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127505</link><pubDate>Thu, 06 May 2004 22:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127505</guid><dc:creator>milbertus</dc:creator><description>Paul, one somewhat hacky solution to your problem is to link files in VS. When you add a file to a project, instead of clicking the Open button in the dialog, click the drop down arrow next to it, and select &amp;quot;Link File&amp;quot; (or something like that). Then, the file is still added to the project, however it won't be copied to the project's location, allowing the same physical file to be shared between projects.</description></item><item><title>Assembly architecture</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127701</link><pubDate>Fri, 07 May 2004 10:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127701</guid><dc:creator>Hendrik Swanepoel</dc:creator><description /></item><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127822</link><pubDate>Fri, 07 May 2004 13:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127822</guid><dc:creator>Jiho Han</dc:creator><description>Paul,&lt;br&gt;&lt;br&gt;I remeber there being a way to package multiple assemblies into a single assebly at deployment time.  As I understood, you couldn't do this from VS.NET IDE but only using the SDK command line tools.  That also goes for building your projects to a .netmodule instead of .dlls.  VS.NET 2003 - as far as I know - doesn't support this.&lt;br&gt;&lt;br&gt;I wonder whether whidbey addresses this problem...</description></item><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#127878</link><pubDate>Fri, 07 May 2004 15:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127878</guid><dc:creator>Jeremy Marsch</dc:creator><description>What constitutes &amp;quot;lots&amp;quot; of assemblies?  5? 10? 100?</description></item><item><title>re: Perf trade off: lots of small assemblies or fewer bigger assemblies??</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#135690</link><pubDate>Thu, 20 May 2004 08:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:135690</guid><dc:creator>Naveen Karamchetti</dc:creator><description>I guess 10+ would mean lots of assemblies.</description></item><item><title>Fewer Assemblies better</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#368813</link><pubDate>Tue, 08 Feb 2005 04:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:368813</guid><dc:creator>Anatoly Lubarsky: T-SQL Weblog</dc:creator><description /></item><item><title>C   vs C# (more specifically internal vs friend)</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#434535</link><pubDate>Fri, 01 Jul 2005 08:20:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:434535</guid><dc:creator>greg::blog</dc:creator><description /></item><item><title>C   vs C# (more specifically internal vs friend)</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#434536</link><pubDate>Fri, 01 Jul 2005 08:20:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:434536</guid><dc:creator>greg::blog</dc:creator><description /></item><item><title>C   vs C# (more specifically internal vs friend)</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#434929</link><pubDate>Sat, 02 Jul 2005 18:32:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:434929</guid><dc:creator>greg::blog</dc:creator><description /></item><item><title>Project anti-pattern: Many projects in a Visual Studio Solution File</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#8736157</link><pubDate>Wed, 16 Jul 2008 04:17:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8736157</guid><dc:creator>Chad Myers' Blog</dc:creator><description>&lt;p&gt;I&amp;amp;#39;ve been hearing from several colleagues about how their Visual Studio solution files have many&lt;/p&gt;
</description></item><item><title> Brad Abrams Perf trade off lots of small assemblies or fewer bigger | debt solutions</title><link>http://blogs.msdn.com/brada/archive/2004/05/05/126934.aspx#9790810</link><pubDate>Fri, 19 Jun 2009 20:14:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9790810</guid><dc:creator> Brad Abrams Perf trade off lots of small assemblies or fewer bigger | debt solutions</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://debtsolutionsnow.info/story.php?id=11700"&gt;http://debtsolutionsnow.info/story.php?id=11700&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>