Click here to Skip to main content
15,848,726 members
Home / Discussions / C#
   

C#

 
QuestionHow can I tell the difference between source and published .NET code? Pin
Xarzu5-Feb-14 11:35
Xarzu5-Feb-14 11:35 
AnswerRe: How can I tell the difference between source and published .NET code? Pin
Shameel5-Feb-14 21:15
professionalShameel5-Feb-14 21:15 
GeneralRe: How can I tell the difference between source and published .NET code? Pin
Bernhard Hiller5-Feb-14 22:17
Bernhard Hiller5-Feb-14 22:17 
GeneralRe: How can I tell the difference between source and published .NET code? Pin
OriginalGriff5-Feb-14 22:31
mveOriginalGriff5-Feb-14 22:31 
GeneralRe: How can I tell the difference between source and published .NET code? Pin
Shameel6-Feb-14 0:14
professionalShameel6-Feb-14 0:14 
AnswerRe: How can I tell the difference between source and published .NET code? Pin
jschell6-Feb-14 9:38
jschell6-Feb-14 9:38 
QuestionMVVM Observe VM Command Pin
eddieangel5-Feb-14 9:28
eddieangel5-Feb-14 9:28 
Questionweb.config file access in another project Pin
vkEE5-Feb-14 8:31
vkEE5-Feb-14 8:31 
Hello All,

Our main 2012 VS solution has 16 projects.

One of the project is a web site, which a web.config file defined.

I want to access this website's web.config file's applicationSettings value in another project. I added the System.Configuration to this class. And using below trying to access the value of the settings. Since this setting is defined as a string, converting it to an int. The value for the setting QuesId is 2 in the web.config file.

The code complies with no errors, but when i execute and browse the code, the value is null. any ideas??


Int32.Parse(ConfigurationManager.AppSettings["QuesId"]);
QuestionRe: web.config file access in another project Pin
Richard Deeming5-Feb-14 9:05
mveRichard Deeming5-Feb-14 9:05 
AnswerRe: web.config file access in another project Pin
Marco Bertschi5-Feb-14 21:28
protectorMarco Bertschi5-Feb-14 21:28 
GeneralRe: web.config file access in another project Pin
vkEE7-Feb-14 4:50
vkEE7-Feb-14 4:50 
GeneralRe: web.config file access in another project Pin
Marco Bertschi7-Feb-14 4:56
protectorMarco Bertschi7-Feb-14 4:56 
GeneralRe: web.config file access in another project Pin
vkEE7-Feb-14 5:23
vkEE7-Feb-14 5:23 
GeneralRe: web.config file access in another project Pin
Marco Bertschi7-Feb-14 5:34
protectorMarco Bertschi7-Feb-14 5:34 
GeneralRe: web.config file access in another project Pin
vkEE7-Feb-14 5:39
vkEE7-Feb-14 5:39 
GeneralRe: web.config file access in another project Pin
Marco Bertschi7-Feb-14 5:39
protectorMarco Bertschi7-Feb-14 5:39 
QuestionHandling Multiple result sets in EF Pin
meeram395-Feb-14 5:04
professionalmeeram395-Feb-14 5:04 
AnswerRe: Handling Multiple result sets in EF Pin
Matt U.5-Feb-14 11:39
Matt U.5-Feb-14 11:39 
QuestionHow to close a TextWriter? Pin
Zhivko Kabaivanov5-Feb-14 3:53
Zhivko Kabaivanov5-Feb-14 3:53 
AnswerRe: How to close a TextWriter? Pin
Richard Deeming5-Feb-14 4:02
mveRichard Deeming5-Feb-14 4:02 
QuestionSQL Server Database for C# connectivity Pin
Mohan Subramani5-Feb-14 2:06
Mohan Subramani5-Feb-14 2:06 
AnswerRe: SQL Server Database for C# connectivity Pin
OriginalGriff5-Feb-14 2:33
mveOriginalGriff5-Feb-14 2:33 
SuggestionRe: SQL Server Database for C# connectivity Pin
Richard Deeming5-Feb-14 3:59
mveRichard Deeming5-Feb-14 3:59 
QuestionSQL Exception was unhandled Pin
Oonagh5-Feb-14 1:32
Oonagh5-Feb-14 1:32 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 2:14
professionalKornfeld Eliyahu Peter5-Feb-14 2:14 

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.