CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 2/20/2007 10:36:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 27 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
dotNet_Student
Asp.Net User
DAL Classes2/20/2007 10:36:26 PM

0/0

I have a website that is based on several projects. Each project represent a different application. For example Invoice project represent Applications associated with Invoicing etc.

For DAL should I create Classes within the project itself or should I create a *seperate Project* which will contain data access classes for *ALL Projects* such as Invoicing, Shipping, Collection.

Solution
          Invoice
                   DAL(folder)
                             Classes
          Shipping
                   DAL(folder)
                             Classes

 

Or

 

Solution

          ClassLibrary

                   Invoicing(folder)

                             DAL(folder)

Classes

Shipping

          DAL(folder)

                   Classes

Invoice

          Default.aspx

Shipping

          Default.aspx

Where ClassLibrary, Invoice and Shipping are projects within the solution. Thanks for your help in advance.

Mikhail Arkhipo
Asp.Net User
Re: DAL Classes2/21/2007 3:55:16 AM

0/0

Second one is better IMHOYes
Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
dotNet_Student
Asp.Net User
Re: DAL Classes3/8/2007 3:16:10 PM

0/0

A friend of mine told me that  it would be best if I make DAL & BLL seperate sub projects of Class Library. What do you guys suggest?

 

Solution

          ClassLibrary

                   DAL(project)

                             Invoicing(folder)

Classes

                             Shipping(folder)

Classes

                   BLL(project)

                             Invoicing(folder)

Classes

                             Shipping(folder)

Classes

 

Invoice(project)

          Default.aspx

Shipping(project)

          Default.aspx


Please advice. Thanks.

RyanSJedi
Asp.Net User
Re: DAL Classes3/8/2007 3:27:15 PM

0/0

I agree sorta...I would personally do it like this

Solution

          ClassLibrary(project)

                   Invoicing(folder)

                             DAL(folder)

Classes

                             BLL(folder)

Classes

                   Shipping(Folder)

                             DAL(folder)

Classes

                             BLL(folder)

Classes

 

Invoice(project)

          Default.aspx

Shipping(project)

          Default.aspx

 

and then make sure to set up your namespaces in the classes to match the structure like ClassLibraryName.Invoicing.DAL,  ClassLibraryName.Invoicing.BLL, ClassLibraryName.Shipping.DAL, ClassLibraryName.Shipping.BLL that will help with readability and sharing the Library if needed. 

Just my $ 0.02

 

Ryan

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
The College Buzz Book Authors: Vault Editors, Pages: 672, Published: 2006
India Briefing: Quickening the Pace of Change Authors: Alyssa Ayres, Philip Oldenburg, Pages: 299, Published: 2002
A Time of Coalitions: Divided We Stand Authors: Paranjoy Guha Thakurta, Shankar Raghuraman, Pages: 413, Published: 2004
Theoretical Computer Science: 8th Italian Conference, ICTCS 2003, Bertinoro, Italy, October 13-15, 2003 : Proceedings Authors: Carlo Blundo, Cosimo Laneve, Pages: 396, Published: 2003
India at the Polls, 1980: A Study of the Parliamentary Elections Authors: Myron Weiner, Pages: 198, Published: 1983
Langenscheidt's Standard German Dictionary: German-english, English-german Authors: Langenscheidt Publishers, Langenscheidt Publishers, Heinz Messinger, Helmut Willmann, Gisela Turck, Pages: 1392, Published: 1993

Web:
What is a DAL? (Part 2) The lazy way is to just copy and paste the methods into a new DAL class. .... Can anyone tell me what r the advantages of using multiple DAL Classes ...
What is a DAL (Part 3) The factory stores the each DAL class as it is created so that if a Get. ... The DAL classes should not be storing any state so this is a safe thing to do. ...
Data Access With ADO.NET So I created one and stuck it in my DAL base class, from which all of my DAL classes inherit. The function looks like this, and can easily be overloaded to ...
Static vs Non Static DAL Class(es) - .NET C# Static vs Non Static DAL Class(es). Get answers to your questions in our .NET C# forum.
CodeProject: Data Access Layer (DAL) with SqlWrapper library. Free ... With SqlWrapper, you can easily create your DAL classes writing the most minimum amount of code.; Author: Andrey Shchurov; Section: Database; ...
Naming Convention for ASP.NET BAL/DAL? Finally, I have a DAL class that I call "JobSummary" that contains my ..... Create a separate DAL that implements those contract classes. ...
All future DAL classes delayed indefinitely? - Page 4 - Airline ... The above post is what I have been told to. Of course this can all change, but as of now, it will still be somewhere above 500 pilots for ...
Implementing a 3-Tier architecture with C# - Part 4 « Aspguy’s Weblog Jul 18, 2008 ... When developing a derived DAL class, we have to apply ... Each business method can create one or more instances of the required DAL classes. ...
DAL Standard or Best Practices - .NET C# Just wondering if it's standard practice to make DAL classes STATIC (in a ... dependency injection along with interfaces, such that the DAL classes ...
Data Abstraction Layer - Developer Zone - OpenX Wiki There are two different means by which pre-defined classes/methods for retrieving/storing data are made available:. DB_DataObjects; Custom DAL Classes. ...

Videos:
Television (On Stage)- Dal Med Euphoria! '07 - Class of 2008 "Television" live performance on stage to the tune of Daft Punk. From Euphoria! '07 (an annual charity event). Several laptop videos used in this per...
UNCC LRC I-Tech Showcase: Film Fest: Using Video in Language & Culture Classes UNC Charlotte foreign language faculty discuss and demonstrate how they are using video in their language and culture classes. The faculty members d...
Brokeback OSCE - Dal Med Euphoria! '07 - Class of 2008 The Brokeback OSCE video from Euphoria! '07 (an annual charity event). WARNING: may not be all that funny if you aren't in med school. Made by the Me...
IL SERVIZIO DI CLASS-CNBC TV DAL CONGRESSO MONDIALE DI ARCHITETTURA DI TORINO SERVIZIO DI CLASS-CNBC TV DAL CONGRESSO MONDIALE DI ARCHITETTURA DI TORINO
Swapping out the DAL using Abstract Class http://blog.dmbcllc.com Last Thursday, we looked at how to replace the TableAdapter with our own TableAdapter as a way or eliminating our dependence ...
Mindbites: Carla's Everyday Indian Menu: Masoor Dal http://www.mindbites.com/lesson/89-carlas-everyday-indian-menu-masoor-dal The Everyday Indian Menu is a series of lessons that Carla has created dis...
Lazy Call Day- Dal Med Euphoria! '07 - Class of 2008 The "Lazy Call Day" video from Euphoria! '07 (an annual charity event). Parody of SNL's digital short, "Lazy Sunday." WARNING: may not be all that fu...
Class Action : Intervista On. Pedica IdV L'On. Stefano Pedica, capo della Segreteria Politica dell'Italia dei Valori, è intervistato da Roberta Lombardi (Reset Class Action National Group) s...
Dalhousie TR Class 2007 Therapeutic Recreation Grad Class of 2007, Dalhousie University. Song credits: The Adventure - Angels and Airwaves.
Dal Mechanical Engineering - Class of 2005 Dal Mech Eng, Class of 2005 Starring Roger, BJ Franci, Dumpy, Fosta, Beshara, Stevo, The Donald, Ja-rent, Crazy Phil, Johnnies, Danny Young, Drewness...




Search This Site:










setup project questions

simple distributed application

how can i get web developer to recognize other databases?

install vs2005

debugger not working

impersonation and internal web server in vs2005 does not work

solution file in solution explorer

slow performance when viewing data or datasets

precompilation and global.asax in visual studio 2005

compress / decompress file with vb.net

create website / open website in visual studio 2005

publishing website

vs2005 and .net 1.1

suggestion with compare validator

how convert vs2005 site web to new web application project

how do i removed unused connections in copy web site?

init() not visible

i can not see the open a new website option or create a new website with visual studio 2005 pro

visual studio .net 2005 team on vista 64-bit ultimate edition

error with replacement of code

can we treat web application as project?

name of code file to deploy website

missing vs 2005 build menu items

publishing to remote or local server has stopped working v2.0

how to get userid of a logined user from aspnetdb.mdf?

templates missing in "add new item" box.

does anyone know this problem

i want to apply a style sheet to a .rdl file

property window always blank in source mode

theming at application level

  Privacy | Contact Us
All Times Are GMT