A
Arne Vajhøj
Show some facts...
Get some glasses and read the next lines.
Show some facts other than your lip-service.
That same problem and "I disagree here too" does not match
is just a matter of basic English.
Arne
Show some facts...
Show some facts other than your lip-service.
Show some facts........
On 1/10/2011 8:14 PM, Arne Vajhøj wrote:
On 10-01-2011 13:18, mp wrote:
[]
Yes and the other folder should be the BLL folder, with the
respective classes moved to those folders.
does the .csproj file stay in the root folder of the project?
It has to for the project to work.
No, you see the reference to a folder above if you want to
reference a
folder in a project that contains classes.
i cant' find how to reference a folder, I only see how to reference a
file???
You don't need to add any reference.
When you add the file, the VS adds it to the project.
Folder or no folder.
I say that you do.
using BLL = project.BLL; // the folder where all bussiness logic is
kept.
using DAL = project.DAL; // folder where all data access classes are
kept.
var inv = new DAL.Inventory();
var inventory = inv.GetInvByCustomerID(100);
I am not going to go by what you are saying, because I know better than
this as to what can be done and what cannot be done, when developing
enterprise level solutions.
But apparently you don't know that:
1) using aliases has nothing to do with references to folder
2) there are no concept of references to folders in .NET at all
I can call it a reference. I am not into the nit picking like you are
into it.
<snipped I stopped reading your posts you are too overbearing>
<yawn>
See ya I wouldn't want to be ya.
But if a project contains functionality that should be
separate then it is an advantage to split it.
* It can be reused by other higher level projects
* It is easier to different teams working on the different projects
* test and deployment of updates is cheaper due to reduced scope
etc.
On 1/11/2011 9:12 PM, Arne Vajhøj wrote:
<snipped I didn't read it>
On 09-01-2011 01:32, Big Steel wrote:
On 1/8/2011 8:11 PM, mp wrote:
another silly newbie question(s):
So I have a view/presenter/business layers setup
(i have a service layer too, but not sure what i'm supposed to be
doing with
that...at least in this example)
The service layer
[...]>
If this is a Windows desktop solution and it is not a multi user
application, then you don't need the service layer. You can have
the BLL
directly call the DAL.
ok in my current project I don't need the service layer...I have
just
been
trying to 'copy' the mvp project layout you linked me to recently
(obviously
i don't understand what i'm doing)...the other responders have
pointed
out I
shouldn't have separate projects and that all these 3 pieces are
in one
layer...the sample project had 4 projects and called them different
layers(iirc)
I would base everything you do based on what the tutorial project is
showing you, so that you understand logical tier separation (separate
project in a layer).
UI layer
Presenter layer
BLL layer
DAL layer
I would consider it very unusual to have both a UI and
a presenter layer.
Why even have that? I have seen it where the UI and Presenter are in the
same project --- no harm, no foul and cut down on the total number of
projects in a multi UI projects solution. It all sounds nice, and
then there is the real world.
In most of the real world they would be in one layer and in one
project.
For good reasons.
I don't see any facts.
It is not and was not.
It seem clear to me and the others working on the project.
Who says the BLL and DAL have to be in different projects? Show where
this is written in stone.
The BLL would have it's method that created the DAL object and a mapped
class can be used too, which is much simpler if the BLL and DAL are in
the same project.
If it's not broke don't fix it.
There are many ways one can do things,
and as far as I am concerned, no one way is the right way.
You are talking about dependencies and whatnot. It's all inner-dependent
no matter how one looks at it.
<snipped I didn't read it>
Why don't you take a chill-pill and try settling down?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.