Click here to Skip to main content
16,009,176 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Solution file ASP.net 2.0 Pin
Brent Lamborn12-Sep-07 7:44
Brent Lamborn12-Sep-07 7:44 
GeneralRe: Solution file ASP.net 2.0 Pin
Sandeep Akhare12-Sep-07 20:06
Sandeep Akhare12-Sep-07 20:06 
QuestionSend Mail with UTF-8 Format Pin
Delphi Boy12-Sep-07 3:19
Delphi Boy12-Sep-07 3:19 
AnswerRe: Send Mail with UTF-8 Format Pin
jc.net12-Sep-07 6:32
jc.net12-Sep-07 6:32 
GeneralRe: Send Mail with UTF-8 Format Pin
Delphi Boy16-Sep-07 4:34
Delphi Boy16-Sep-07 4:34 
QuestionSharing between projects Pin
Sam Heller12-Sep-07 3:17
Sam Heller12-Sep-07 3:17 
AnswerRe: Sharing between projects Pin
Brent Lamborn12-Sep-07 3:43
Brent Lamborn12-Sep-07 3:43 
AnswerRe: Sharing between projects Pin
Colin Angus Mackay12-Sep-07 3:43
Colin Angus Mackay12-Sep-07 3:43 
Sam Heller wrote:
Is there any way of sharing resources from one project to another under the same solution. For instance a web.config file and it's properties or some classes and their methods.


Yes.

For code, you create class library projects (for the code you wish to share) and then you reference them in other projects. (Right click the project, then Add-->Reference... In the dialog pick from the list in the "Projects" tab)

If you are using .NET 2.0 the visual studio resource editor will create a class wrapper to allow you access to the resources, this can be picked up like any other code.

Default config files (e.g. web.config or app.config) are accessible from any code as they are deployed with the assemblies as a separate file.


Upcoming FREE developer events:
* Glasgow: Agile in the Enterprise Vs. ISVs, db4o: An Embeddable Database Engine for Object-Oriented Environments, Mock Objects, SQL Server CLR Integration, Reporting Services ...

My website

GeneralRe: Sharing between projects Pin
Sam Heller12-Sep-07 4:10
Sam Heller12-Sep-07 4:10 
GeneralRe: Sharing between projects Pin
Brent Lamborn12-Sep-07 4:28
Brent Lamborn12-Sep-07 4:28 
QuestionSend Mail with UTF-8 Format Pin
Delphi Boy12-Sep-07 3:16
Delphi Boy12-Sep-07 3:16 
QuestionHow to check that a control implements an interface Pin
But_Im_a_Lady12-Sep-07 3:04
But_Im_a_Lady12-Sep-07 3:04 
AnswerRe: How to check that a control implements an interface Pin
Colin Angus Mackay12-Sep-07 3:38
Colin Angus Mackay12-Sep-07 3:38 
GeneralRe: How to check that a control implements an interface Pin
But_Im_a_Lady12-Sep-07 3:48
But_Im_a_Lady12-Sep-07 3:48 
QuestionValidation in Grid View Pin
Kasi Viswanathan12-Sep-07 2:55
Kasi Viswanathan12-Sep-07 2:55 
AnswerRe: Validation in Grid View Pin
John-ph12-Sep-07 4:42
John-ph12-Sep-07 4:42 
QuestionProblem in publishing crystal report in IIS Pin
sneha_200012-Sep-07 2:42
sneha_200012-Sep-07 2:42 
Question.net 2.0 dll uanble to create log files using log4net.dll Pin
Sonali Das12-Sep-07 2:37
Sonali Das12-Sep-07 2:37 
QuestionTreeView Issue Pin
cisco210312-Sep-07 2:25
cisco210312-Sep-07 2:25 
QuestionConfigration error. Pin
Joe Rozario12-Sep-07 1:35
Joe Rozario12-Sep-07 1:35 
AnswerRe: Configration error. Pin
Pete O'Hanlon12-Sep-07 3:45
mvePete O'Hanlon12-Sep-07 3:45 
GeneralRe: Configration error. Pin
Joe Rozario12-Sep-07 5:22
Joe Rozario12-Sep-07 5:22 
QuestionUrgent... How do I compare the name of the file with the system date? in ASP Pin
Suresh AYP12-Sep-07 1:18
Suresh AYP12-Sep-07 1:18 
AnswerRe: Urgent... How do I compare the name of the file with the system date? in ASP Pin
Imran Khan Pathan12-Sep-07 1:28
Imran Khan Pathan12-Sep-07 1:28 
GeneralRe: Urgent... How do I compare the name of the file with the system date? in ASP Pin
Colin Angus Mackay12-Sep-07 2:01
Colin Angus Mackay12-Sep-07 2:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.