473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Class Libraries

I am used to putting my business logic layer etc in the App_code folder in a
website project. I want to use class libraries so I can use Sandcastle and
NUnit. However unlike a website project I do not get immediate Intellisense.
I have to

Add the project to the website solution (File>Add>Existing Project)
Add a reference to the class library
Build the solution
Use the class library in website

If I want to change the class library
Change the class code
Build the solution
Use in website

Is this the correct way of using a class library as it is more complicated
than the Website project and I want to know if I am missing anything.
Jan 18 '08 #1
2 1690
just be sure its a project reference, not a ref to the dll. then if you
change any code in the proj and hit run, it will get recompiled.

i use websites, project files and nunit/msunit with no problems.
-- bruce (sqlwork.com)
"Fresno Bob" wrote:
I am used to putting my business logic layer etc in the App_code folder in a
website project. I want to use class libraries so I can use Sandcastle and
NUnit. However unlike a website project I do not get immediate Intellisense.
I have to

Add the project to the website solution (File>Add>Existing Project)
Add a reference to the class library
Build the solution
Use the class library in website

If I want to change the class library
Change the class code
Build the solution
Use in website

Is this the correct way of using a class library as it is more complicated
than the Website project and I want to know if I am missing anything.
Jan 18 '08 #2
No I did a link to the dll. I have now changed it to the project. Does this
still mean when I make changes to the class library I have to recompile
before I can use intellisense etc in the website project.

"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:88**********************************@microsof t.com...
just be sure its a project reference, not a ref to the dll. then if you
change any code in the proj and hit run, it will get recompiled.

i use websites, project files and nunit/msunit with no problems.
-- bruce (sqlwork.com)
"Fresno Bob" wrote:
>I am used to putting my business logic layer etc in the App_code folder
in a
website project. I want to use class libraries so I can use Sandcastle
and
NUnit. However unlike a website project I do not get immediate
Intellisense.
I have to

Add the project to the website solution (File>Add>Existing Project)
Add a reference to the class library
Build the solution
Use the class library in website

If I want to change the class library
Change the class code
Build the solution
Use in website

Is this the correct way of using a class library as it is more
complicated
than the Website project and I want to know if I am missing anything.

Jan 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: TF | last post by:
I am developing a VB.net Windows Application in. I have a class 'A' defined in a class library 'CL_A' and another class 'B' in a different class library 'CL_B'. Class 'B' has a Public Shared member...
1
by: TF | last post by:
I am developing a Windows Application in VB.NET that is using two class libraries CL_A (contains class A) & CL_B (contains class B). Also CL_A is used in CL_B. Now in my application when i try...
1
by: rinku24 | last post by:
We have two C++ libraries (Unix Shared objects) with the same class name and no namespace. Is there any way to load both the libraries and selectivly create the instance of the class from...
3
by: Florida Coder | last post by:
I have the need to store some application specific configuration data to be used by a class library and or a windows service. I would like to do this in a fashion similar to the way we do with...
1
by: Jim Heavey | last post by:
I have a web application which accesses Class Libraries in another project. Can I add an "App.config" file to my Class Libraries project and be able to use that configuration information from my...
10
by: 4MLA1FN | last post by:
i'm somewhat of a c++ newbie. i'm linking some static libraries into my app. it turns out that two of the libraries (from different suppliers) share a class name; e.g. they both have a class...
3
by: Fernando Chilvarguer | last post by:
Hello! I created a Class Library project in VS2005. Then, using VS, I was able to add a connection string to the project settings, which automaticaly created an app.config file for me. If I try...
2
by: Mike | last post by:
In the previous version of the .net framework, system.configuration.configuration manager was available for use in Class Libraries. I'm now working with VS2005/framework 2.0 and it appears that...
4
by: Richard | last post by:
First question - let's get this out of the way since it might be the solution to all my woes: Does it make sense to have a .cpp file for a class that is declared as having pure virtual functions...
3
by: djbaker | last post by:
Greetings, I am trying to create a class library/dll with C++ and I am running into a lot of trouble. I know that this is a C++ forum and not one specific to windows or VS 2005 but I'm hoping...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
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,...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.