|
|
Hi,
If i try to start an Asp.NET page by clicking the shortcut 'view in browser' it opens IE but it shuts it down instantly again.
What am I missing?
Thanks in advance!
|
|
|
|
|
You means shortcut of web application ? You need to give only URL property for that shortcut. No need to do anything else.
Or you want something else ?
Cheers !
Abhijit Jana | MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
hello,
i have developed my own content management system. it consists SEO friendly features. one of that is adding meta keywords.
but the problem is i am unable to call relevant keyword set when a product is clicked. is it possible to call keywords to page header using click event?
and also, pls, tell me if there exist another way without using page_Load event
|
|
|
|
|
Which Framework of .NET are you using ?
Cheers !
Abhijit Jana | MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
|
hello everyone
I would like to know how to link layers (objects, dal and bll) between them, for example, I would add a new record in my table so I created a class that contains the constructors and properties, a class that contains DAL methods of access to data and a class containing functions BLL insertion data in the database .my problem is that I do not know how to tie all these component-level code.
thanks.
|
|
|
|
|
Have you tried this[^]?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Thank you for your answers, but in my project I created 4 layers, DAL, busniss object, BLL and presentation layer, so my problem was that I could aps linked layer busniss object (which contains the methods get and set) with the BLL and DAL , I searched but I don't found the concrete examples
|
|
|
|
|
ok But why do you have two BLL ?
What is the Sequence here please choose one and we will continue and i will tell you what to do
PL-->BLL--->Business objects---->DAL
or
PL-->Business objects--->BLL---->DAL
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I work with this method
PL-->Business objects--->BLL---->DAL
|
|
|
|
|
Ok now Remove all the references to the Projects.
let us start from the Back the DAL.
DAL The DAL must not reference any Project, if you have a reference to any project then remove it
BLL Add a Reference of DAL in the this Project(Only the Reference to DAL must exists)
Business objects Add the Reference to BLL(Only the Reference to BLL must Exists)
PL Add a Reference to the Business objects(Only the Reference to the Business objects must exist)
Note: if you want to add a Reference Right Click the Individual not a Solution but a Class Library and select the "Add References" option and a dialogbox will appear, Click on the "Project Tab" and select the appropriate project.
Hope you understand this
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
yes I understand , and thank you for your help Vuyiswa Maseko
|
|
|
|
|
You welcome
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I'm going to bother you again Vuyiswa Maseko, I would take your advice on my way to work, so I'll create a function to insert data into the dbb without using the property of class (get, set),and in the bll level I appeal to dal and business object class ,and in level presentation I'll call bll .
is correct????
|
|
|
|
|
Yes that is Correct
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
but my problem is how to call the properties of the class busniss object (get, set) in reference bll without make a reference ???
|
|
|
|
|
if i remember correctly you have chosen this approach
PL-->Business objects--->BLL---->DAL
You want to access the Properties of the Business objects in a BLL. This is not Good. The Tiers were made to encapsulate the what is happening in other Tiers. But now if you want the BLL to access the Business objects layer then its no longer called an N-Tier architecture. the logic here is to make sure the DAL has no knowledge that there is BLL and BLL has no knowledge that there is Business objects and Business objects has no Knowledge of the PL not the way around. That is why in the DAL you must make all functions that needs to be accessed in the BLL as public and same in the BLL you must make all functions that needs to be access in the Business objects and same to the Business objects you must make the functions public that needs to be accessed in the PL.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
yes you are right, but if I create a class object that contains property (get and set) to have access to property through this class, if I was wrong, so why create a class object containing the property get , set ?????
|
|
|
|
|
Maybe i misunderstood you
You want to access properties of a Class , that have been declare Public in the Class?
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Yes I want to access to Properties declared public in class busniss object in the class bll
|
|
|
|
|
To then its simple
create an object of a business object class
BOClass obj new BPClass();
obj.PropertySet= "3" --Property set ,set the value of a property
String GetValue = obj.PropertyGet();--Get the value of a property
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hello
What is the maximum size for webconfig not to have any problem? Forexample if the webconfig file is bigger than 5 MB or bigger than 50000 lines, that can couse a problem.
Would it make my site work slower ?
viva la commune
|
|
|
|
|
The web config file is loaded when the application goes online. It is loaded only once and is shared between all users. So as long as you have a decent hardware configuration for your server, you shouldn't have any problems, it should work.
On the flip side having a large number of config entries can increase the seek time when accessing config items.
HTH!
|
|
|
|