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

C#

 
GeneralRe: Starting Process "CMD.exe" Pin
Bonsai20044-Sep-05 23:23
Bonsai20044-Sep-05 23:23 
Questionwriting log files on server Pin
Anonymous4-Sep-05 9:14
Anonymous4-Sep-05 9:14 
AnswerRe: writing log files on server Pin
Christian Graus4-Sep-05 10:53
protectorChristian Graus4-Sep-05 10:53 
Questionmanaged resources Pin
CWinThread4-Sep-05 6:40
CWinThread4-Sep-05 6:40 
AnswerRe: managed resources Pin
Guffa4-Sep-05 6:45
Guffa4-Sep-05 6:45 
GeneralRe: managed resources Pin
CWinThread4-Sep-05 10:52
CWinThread4-Sep-05 10:52 
QuestionMulti users and Multi connectios in client/server application Pin
rmedo4-Sep-05 4:09
rmedo4-Sep-05 4:09 
AnswerRe: Multi users and Multi connectios in client/server application Pin
Christian Graus4-Sep-05 10:54
protectorChristian Graus4-Sep-05 10:54 
rmedo wrote:
first I want to know what are the pitfalls of making all clients connect to database using single instance of connection placed on server that's mean that we will define database connection on the server and open it all the time??

Contention. If more than one user tries to use the database at a time, they will have to wait.

rmedo wrote:
second I want to know what are the benefits of making each application user connect to the same database user (ex. sa)??

It means you can more easily set up a connection pool, because all connections are usable by everyone. It also means that it's easier to set up the database, because there's no real permissions layer. However, this means you need to enforce your permissions in code.



Christian Graus - Microsoft MVP - C++
GeneralRe: Multi users and Multi connectios in client/server application Pin
rmedo4-Sep-05 20:22
rmedo4-Sep-05 20:22 
GeneralRe: Multi users and Multi connectios in client/server application Pin
Christian Graus5-Sep-05 10:49
protectorChristian Graus5-Sep-05 10:49 
QuestionSystem.Data.NoNullAllowedException Pin
rich_wenger4-Sep-05 3:48
rich_wenger4-Sep-05 3:48 
AnswerRe: System.Data.NoNullAllowedException Pin
Rob Graham4-Sep-05 5:48
Rob Graham4-Sep-05 5:48 
GeneralRe: System.Data.NoNullAllowedException Pin
rich_wenger4-Sep-05 8:24
rich_wenger4-Sep-05 8:24 
QuestionDatagrid Problem with PreferredColumnWidth Pin
surfman194-Sep-05 2:14
surfman194-Sep-05 2:14 
Question.NET Application books Pin
hcmuns4-Sep-05 1:57
susshcmuns4-Sep-05 1:57 
AnswerRe: .NET Application books Pin
Luis Alonso Ramos4-Sep-05 8:22
Luis Alonso Ramos4-Sep-05 8:22 
QuestionSending Access file through the network Pin
mohammad9293-Sep-05 22:40
mohammad9293-Sep-05 22:40 
QuestionRe: Sending Access file through the network Pin
Guffa3-Sep-05 23:10
Guffa3-Sep-05 23:10 
AnswerRe: Sending Access file through the network Pin
mohammad9293-Sep-05 23:42
mohammad9293-Sep-05 23:42 
AnswerRe: Sending Access file through the network Pin
Guffa4-Sep-05 0:17
Guffa4-Sep-05 0:17 
QuestionHow can I compile *.lib in VC++ to dll? Pin
uumeme3-Sep-05 22:16
uumeme3-Sep-05 22:16 
AnswerRe: How can I compile *.lib in VC++ to dll? Pin
if_mel_yes_else_no4-Sep-05 5:18
if_mel_yes_else_no4-Sep-05 5:18 
AnswerRe: How can I compile *.lib in VC++ to dll? Pin
Luis Alonso Ramos4-Sep-05 8:16
Luis Alonso Ramos4-Sep-05 8:16 
QuestionXML Serializer: circular reference due to public attribute? Pin
peterchen3-Sep-05 21:16
peterchen3-Sep-05 21:16 
AnswerRe: XML Serializer: circular reference due to public attribute? Pin
Mathew Hall3-Sep-05 21:35
Mathew Hall3-Sep-05 21:35 

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.