﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » UI, BO in seperate assemblies</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 12 Sep 2026 15:39:58 GMT</lastBuildDate><ttl>20</ttl><item><title>UI, BO in seperate assemblies</title><link>http://forum.strataframe.net/FindPost9102.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I was thinking to put my application UI (forms) and BO (business object and rule) classes in seperate assemblies. Is it a best practise?&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Mon, 28 May 2007 09:36:15 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: UI, BO in seperate assemblies</title><link>http://forum.strataframe.net/FindPost9115.aspx</link><description>Yes, this is more like our structures.&amp;nbsp; Below is a sample of our assembly structure.&lt;/P&gt;&lt;P&gt;[codesnippet]Company.Product.Base&lt;BR&gt;Company.Product.Business&lt;BR&gt;Company.Product.UI&lt;BR&gt;Company.Product.Client (This is the EXE assembly)&lt;BR&gt;Company.Product.ModuleA (A class library referenced within the client)&lt;BR&gt;Company.Product.ModuleB[/codesnippet]</description><pubDate>Mon, 28 May 2007 09:36:15 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: UI, BO in seperate assemblies</title><link>http://forum.strataframe.net/FindPost9111.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Thank you for info. Then do you recommend to have seperated by each module?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;[quote]MyApplication.exe&lt;BR&gt;MyApplication.UI.Base&lt;BR&gt;MyApplication.Business.Base&lt;BR&gt;MyApplication.ModuleA.UI.dll&lt;BR&gt;MyApplication.ModuleB.UI.dll&lt;BR&gt;MyApplication.ModuleA.Business.dll&lt;BR&gt;MyApplication.ModuleB.Business.dll[/quote]&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Sun, 27 May 2007 20:01:19 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: UI, BO in seperate assemblies</title><link>http://forum.strataframe.net/FindPost9106.aspx</link><description>[quote]I was thinking to put my application UI (forms) and BO (business object and rule) classes in seperate assemblies. Is it a best practise?[/quote]&lt;/P&gt;&lt;P&gt;Yes, this is the recommended approach.&amp;nbsp; During our training class we cover this type of application construction which relates to this very issue.&amp;nbsp; You should DEFINITELY have a BO library.&amp;nbsp; We generally have an assembly called Business which houses all of our BOs.&amp;nbsp; We also have some other assemblies such as Base, which has no references to any other application assemblies, Business, which is the BOs, UI, which houses any inherited controls or custom controls, then the application or entry point EXE.&amp;nbsp; The course curriculum goes over this is much more detail and also gets into namespaces, etc.&amp;nbsp; But in short, yes, you should break&amp;nbsp;up your application into categorized assemblies which includes your BOs in a separate assembly.</description><pubDate>Sun, 27 May 2007 10:48:08 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>