Hi all
I am using Visual studio 2005.
Im my project I have a presentation layer, a business layer and a data
access layer. From my business layer i have a reference to my data
layer. I also have a refeence to my business layer from my presentation
layer.
Now the weird thing is, I can create a form, and I can add a using
statement to my data layer, instantiate an object and call a method on
it - why is this? I dont have any refernce to my data layer - so how
does this happen? In any case - I dont want this behaviour - it didint
work like this in Visual Studio 2003! This is obviouslay undesired
behavior - anyone know why or how? 2 1931
Maybe you need to remove the reference to your data access DLL from
your presentation project?
Ily wrote:
Hi all
I am using Visual studio 2005.
Im my project I have a presentation layer, a business layer and a data
access layer. From my business layer i have a reference to my data
layer. I also have a refeence to my business layer from my presentation
layer.
Now the weird thing is, I can create a form, and I can add a using
statement to my data layer, instantiate an object and call a method on
it - why is this? I dont have any refernce to my data layer - so how
does this happen? In any case - I dont want this behaviour - it didint
work like this in Visual Studio 2003! This is obviouslay undesired
behavior - anyone know why or how?
If you use Web Site project type, then all the references AND THEIR
REFERENCES are copied into /bin/ folder. And because WebSite does not have
any .csproj file, where the refereces would be explicitly listed, it
automatically references all assemblies in /bin folder.
You have to use Web Application Project if you want the old (IMHO better)
project style.
Robert Haken [MVP ASP/ASP.NET]
HAVIT, s.r.o., www.havit.cz http://knowledge-base.havit.cz
"Ily" <il***@igsoftwa resolutions.co. ukpíse v diskusním príspevku
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
Hi all
I am using Visual studio 2005.
Im my project I have a presentation layer, a business layer and a data
access layer. From my business layer i have a reference to my data
layer. I also have a refeence to my business layer from my presentation
layer.
Now the weird thing is, I can create a form, and I can add a using
statement to my data layer, instantiate an object and call a method on
it - why is this? I dont have any refernce to my data layer - so how
does this happen? In any case - I dont want this behaviour - it didint
work like this in Visual Studio 2003! This is obviouslay undesired
behavior - anyone know why or how? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Rodriguez |
last post by:
I have a windows form that makes a call to my BLL to get some data. The
windows form has a progress bar component that I would like updated as the
data retrieval takes place. However, strictly speaking, the BLL is not
supposed to know anything about the presentation layer. Also, since the
presentation layer has a reference to the BLL, it won't let me add a
reference to the presentation layer from the BLL, it complains about a
"circular...
|
by: Michelle |
last post by:
Hi all... I could use a little TLC here for understanding and not for
solving a specific problem... sorry if I've got the wrong group, but I'm
using VB so I figured this was the most appropriate one.
I'm an advanced beginner, but in all of the books and class material I have,
I haven't found something that gets to the point about this... lot's of high
level theoretical talk, but nothing that says things in simple terms.
I'm building...
|
by: Learner |
last post by:
Hi there,
I am just trying to set up 3 tier architecture. When i add my
Datalayer project to the Business layer project the methods are exposed
to in my business class. But in the similar way when i add the
Businesss layer project to my presentation i don't see the methods of
BL exposing in my presentation layer. But i see the namspace and also
the class of my business class but i don't see the methods!
is there any thing i am missing...
|
by: rbg |
last post by:
Hi,
I am trying to understand the layering concept with the ASP.NET 2.0
apps.
I have a ASP.NET 2.0 Web app which has 3 layers
Presentation layer which contains UI elements and Input validation
logic
|
by: Dhananjay |
last post by:
hello everyone
i have got a problem i want to design business layer, data access layer
, presentation layer for asp.net using C#.net , can anyone help me to
solve this problem. i want some resources to complete this. i am trying
very hard. Do you have any idea about website or any links where i can
find some examples based on this concept.can you plz provide me , its
urgent
i want this solution with an example, if u have plz provide me.
...
| |
by: Exilemedia |
last post by:
I'm currently trying to build my own web framework using ASP.NET, .NET 2.0 and C#. It's mostly going to contain commonly used web applications like code for a forum, a web store, blog, etc.
I have most of the data and business layers complete. I'm currently building the presentation layer for the admin section to control my framework but I would like to include it into the code library and compile it into a DLL along with all the other...
|
by: |
last post by:
I'm querying Index Server to return search results, both regular properties
and some custom properties I've created. Index Server has this preference
for thinking about information as strings rather than datatypes.If you
really work at it, you can configure Index Server to treat the data as, say,
sortable DateTime datatypes, or integer datatypes. But I'm finding this a
huge pain in the butt, and it bothers me that I'm attaching a bunch of...
|
by: Clark Simpson |
last post by:
Hi,
Apologies if this is such a simple query but if I have an ASP/.NET
Application which I normally access via www.foo.com/myapp on Machine A
can I access this application layer machine via a Presentation Layer
Machine B via www.mypresentationlayer.com/myapp? In a nutshell I want
users to access Machine B on the front end (web) but behind the scenes
the actual requests are routed to Machine A.
Anyone?
|
by: johnlim20088 |
last post by:
Can someone help me on this?
I need a sample console application built in C# net with new practice ->
separate in three layer architecture
1) Presentation layer
2) Business logic layer
3) Data Access layer..
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |