<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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>Architecture</title><link>http://forums.asp.net/16.aspx</link><description>Discuss and debate ASP.NET application designs. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=8&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: N-Layer ASP.Net Application</title><link>http://forums.asp.net/thread/3270620.aspx</link><pubDate>Thu, 02 Jul 2009 07:30:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3270620</guid><dc:creator>kamii47</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3270620.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=16&amp;PostID=3270620</wfw:commentRss><description>&lt;p&gt;I follow Separate BusinessEntities folder/project where I place the entity classes.&lt;/p&gt;&lt;p&gt;These enities can be called on your UI {code behind} BLL and even in DAL&lt;/p&gt;&lt;p&gt;It would be better to make a new one Which can be called BO {business objects} or BE {business entities}.&lt;/p&gt;&lt;p&gt;[If this desgn have any flow then please comment on it]&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: N-Layer ASP.Net Application</title><link>http://forums.asp.net/thread/3245103.aspx</link><pubDate>Fri, 19 Jun 2009 11:21:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3245103</guid><dc:creator>saravanan.balasubramanian</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3245103.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=16&amp;PostID=3245103</wfw:commentRss><description>&lt;p&gt;When you mean a entity, I understand it&amp;#39;s going to be POCO classes - just properties, fields and no methods/business logic. The assumption is that your BLL will contain only methods to handle/manipulate the entities and no state. If so, I will go ahead creating a new project for Entities which will be used by all other layers - they just act as data containers.&lt;/p&gt;
&lt;p&gt;If your BLL has state + behaviour, then DTO implementation is suggested.&lt;/p&gt;
&lt;p&gt;Saravanan&lt;/p&gt;</description></item><item><title>Re: N-Layer ASP.Net Application</title><link>http://forums.asp.net/thread/3242596.aspx</link><pubDate>Thu, 18 Jun 2009 13:39:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242596</guid><dc:creator>mark4asp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242596.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=16&amp;PostID=3242596</wfw:commentRss><description>&lt;p&gt;Strictly speaking it was actually another project - so you could say I split the business layer into two projects.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: N-Layer ASP.Net Application</title><link>http://forums.asp.net/thread/3242592.aspx</link><pubDate>Thu, 18 Jun 2009 13:38:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242592</guid><dc:creator>mark4asp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242592.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=16&amp;PostID=3242592</wfw:commentRss><description>&lt;p&gt;I added another layer when I came up against this problem - which contained all the classes which were dependent on nothing whatsoever.&amp;nbsp; That means splitting your business / service layer in two. I can&amp;#39;t see a reason for not doing that.&lt;/p&gt;&lt;p&gt;PS: If I were creating a new asp.net application I would actually use the MVC with Fluent nHibernate, or, perhaps, some other ORM.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: N-Layer ASP.Net Application</title><link>http://forums.asp.net/thread/3242556.aspx</link><pubDate>Thu, 18 Jun 2009 13:26:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242556</guid><dc:creator>inutan@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242556.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=16&amp;PostID=3242556</wfw:commentRss><description>&lt;p&gt;Hello Chris,&lt;br /&gt;&lt;br /&gt;Thanks for your comments.&lt;br /&gt;I will&amp;nbsp;definitely&amp;nbsp;give a hands-on to Entity Framework. &lt;/p&gt;
&lt;p&gt;Any other ideas out there?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: N-Layer ASP.Net Application</title><link>http://forums.asp.net/thread/3242406.aspx</link><pubDate>Thu, 18 Jun 2009 12:19:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242406</guid><dc:creator>docluv</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242406.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=16&amp;PostID=3242406</wfw:commentRss><description>&lt;p&gt;This is how I do things, today, but have followed this model in various forms for about 8 years now. Currently I use Entity Framework for my DAL. Before I used the Data Access Application Blocks in the Enterprise Library.&lt;/p&gt;
&lt;p&gt;When you generate an enity model it creates the entities for you, with relationships, a custom data context, etc. The generated code is more or less a base for your business layer.&lt;/p&gt;
&lt;p&gt;I then extend the entity classes generated by the model, they are all partial classes so you are good to go! I also create a repository class. This class holds methods to CRUD the data using the model&amp;#39;s entities and datacontext.&lt;/p&gt;
&lt;p&gt;The web layer then works with the entities and the repository(ies) to retrieve my business objects (entities).&lt;/p&gt;
&lt;p&gt;I hope this helps you out.&lt;/p&gt;</description></item><item><title>N-Layer ASP.Net Application</title><link>http://forums.asp.net/thread/3242134.aspx</link><pubDate>Thu, 18 Jun 2009 09:55:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242134</guid><dc:creator>inutan@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242134.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=16&amp;PostID=3242134</wfw:commentRss><description>&lt;p&gt;Hello there,&lt;br /&gt;&lt;br /&gt;I am having a query regarding my N-layer ASP.Net application.&lt;br /&gt;Suppose, I am having following projects - &lt;/p&gt;
&lt;p&gt;- PTS.Web (Web Application)&lt;br /&gt;- PTS.BLL (Business Layer Class Library)&lt;br /&gt;- PTS.DAL (Data Access Class Library)&lt;br /&gt;&lt;br /&gt;Now, as I will need ENTITY object to move data&amp;nbsp;between the layers. &lt;br /&gt;Where do you suggest should&amp;nbsp;I create the class for my entity objects?&lt;/p&gt;
&lt;p&gt;Should I put them in PTS.Bll or &lt;br /&gt;should&amp;nbsp;I create an extra class library with the name say, PTS.Common (with reference of PTS.Common added to all other projects)?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you&amp;nbsp;please provide&amp;nbsp;any idea backed up by some good reason.&lt;br /&gt;&lt;br /&gt;Thanks in advance!&lt;/p&gt;</description></item></channel></rss>