Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
QuestionRe: SQL connection in the app.config file? Pin
ZurdoDev29-Oct-14 3:35
professionalZurdoDev29-Oct-14 3:35 
GeneralRe: SQL connection in the app.config file? Pin
PIEBALDconsult29-Oct-14 4:12
mvePIEBALDconsult29-Oct-14 4:12 
AnswerRe: SQL connection in the app.config file? Pin
Simon_Whale29-Oct-14 5:38
Simon_Whale29-Oct-14 5:38 
AnswerRe: SQL connection in the app.config file? Pin
Gerry Schmitz29-Oct-14 10:45
mveGerry Schmitz29-Oct-14 10:45 
GeneralRe: SQL connection in the app.config file? Pin
Member 245846729-Oct-14 23:05
Member 245846729-Oct-14 23:05 
GeneralRe: SQL connection in the app.config file? Pin
Gerry Schmitz29-Oct-14 23:43
mveGerry Schmitz29-Oct-14 23:43 
GeneralRe: SQL connection in the app.config file? Pin
Member 245846730-Oct-14 16:29
Member 245846730-Oct-14 16:29 
GeneralRe: SQL connection in the app.config file? Pin
Gerry Schmitz30-Oct-14 21:00
mveGerry Schmitz30-Oct-14 21:00 
Myprogram.exe.config is what you distribute with your app.

Myprogram.vshost.exe.config is used when running within Visual Studio (and is NOT needed when you distribute your app).

HOWEVER, you should be building a "release" version (bin\Release) of your app when ready and using the EXE and config file for distribution from there.

Why one is encrypted and not the other is probably due to the way you are testing.

Build a "release" version of your app, run the EXE directly from the bin\Release folder and then check Myprogram.exe.config again.

If you need more info, start here:

http://stackoverflow.com/questions/774187/what-is-the-purpose-of-vshost-exe-file[^]

Most of this stuff is already out there if you just Google it.
QuestionNot an asynchronous query(that just unblocks the calling thread) but an asynchronously *yielding* query Pin
Alaric_28-Oct-14 13:26
professionalAlaric_28-Oct-14 13:26 
AnswerRe: Not an asynchronous query(that just unblocks the calling thread) but an asynchronously *yielding* query Pin
Alaric_29-Oct-14 6:07
professionalAlaric_29-Oct-14 6:07 
Questionneed code for project Pin
Member 1106350128-Oct-14 8:47
Member 1106350128-Oct-14 8:47 
AnswerRe: need code for project Pin
Eddy Vluggen28-Oct-14 9:02
professionalEddy Vluggen28-Oct-14 9:02 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 9:05
mveOriginalGriff28-Oct-14 9:05 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 9:39
professionalEddy Vluggen28-Oct-14 9:39 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 9:42
mveOriginalGriff28-Oct-14 9:42 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 10:38
professionalEddy Vluggen28-Oct-14 10:38 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 10:42
mveOriginalGriff28-Oct-14 10:42 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 11:07
professionalEddy Vluggen28-Oct-14 11:07 
GeneralRe: need code for project Pin
Alaric_28-Oct-14 10:15
professionalAlaric_28-Oct-14 10:15 
GeneralRe: need code for project Pin
OriginalGriff28-Oct-14 10:25
mveOriginalGriff28-Oct-14 10:25 
GeneralRe: need code for project Pin
Alaric_28-Oct-14 13:17
professionalAlaric_28-Oct-14 13:17 
AnswerRe: need code for project Pin
OriginalGriff28-Oct-14 9:04
mveOriginalGriff28-Oct-14 9:04 
QuestionRe: need code for project Pin
Ravi Bhavnani28-Oct-14 9:20
professionalRavi Bhavnani28-Oct-14 9:20 
AnswerRe: need code for project Pin
Pete O'Hanlon28-Oct-14 9:35
mvePete O'Hanlon28-Oct-14 9:35 
GeneralRe: need code for project Pin
Eddy Vluggen28-Oct-14 9:40
professionalEddy Vluggen28-Oct-14 9:40 

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.