Click here to Skip to main content
15,912,578 members
Home / Discussions / C#
   

C#

 
QuestionData Access Layer on Web Service Pin
Tuwing.Sabado10-Apr-07 16:49
Tuwing.Sabado10-Apr-07 16:49 
AnswerRe: Data Access Layer on Web Service Pin
Sathesh Sakthivel10-Apr-07 17:59
Sathesh Sakthivel10-Apr-07 17:59 
Questioncreate dll Pin
albertin0410-Apr-07 16:24
albertin0410-Apr-07 16:24 
AnswerRe: create dll Pin
Not Active10-Apr-07 16:45
mentorNot Active10-Apr-07 16:45 
GeneralRe: create dll Pin
albertin0410-Apr-07 16:55
albertin0410-Apr-07 16:55 
QuestionPer-user Windows Service Pin
Vega0210-Apr-07 15:59
Vega0210-Apr-07 15:59 
AnswerRe: Per-user Windows Service Pin
Scott Dorman10-Apr-07 17:11
professionalScott Dorman10-Apr-07 17:11 
GeneralRe: Per-user Windows Service Pin
Vega0210-Apr-07 20:20
Vega0210-Apr-07 20:20 
Scott Dorman wrote:
Windows services are per-machine, not per-user.


Right. I was considering just adding a daemon executable to the Startup path of whichever user installed the application.

Scott Dorman wrote:
One way to accomplish what you are doing is to have a service that does all of the work and then a client-side piece that communicates to the service.


Ideally the user could install and run this application without requiring administrator privileges. Also, I want to minimize as much as possible the possibility of cross-communication between clients and daemons running under different user accounts.

In reality what I have going on is that the client is performing all the work. The client just needs to query the daemon for some state before work can commence, and it needs to tell the daemon how to update the state when the work is complete. When the next client queries the state, the daemon can respond with the updated information.

The problem with a system-wide service is that the daemon can be used quite broadly, and the client might update the state with some private information. If the daemon is used as a day planner, for example, the client might add a personal appointment to the database. This isn't information that should be accessible to any other user of the system.

Hopefully this clarified things a bit. Again, thanks for your insight! Smile | :)
GeneralRe: Per-user Windows Service Pin
Scott Dorman12-Apr-07 2:49
professionalScott Dorman12-Apr-07 2:49 
QuestionHow to discover if a method throws an exception Pin
Quinten.Miller10-Apr-07 14:45
Quinten.Miller10-Apr-07 14:45 
AnswerRe: How to discover if a method throws an exception Pin
KevinMac10-Apr-07 15:03
KevinMac10-Apr-07 15:03 
GeneralRe: How to discover if a method throws an exception Pin
Quinten.Miller10-Apr-07 16:32
Quinten.Miller10-Apr-07 16:32 
GeneralRe: How to discover if a method throws an exception Pin
Leslie Sanford10-Apr-07 16:58
Leslie Sanford10-Apr-07 16:58 
GeneralRe: How to discover if a method throws an exception Pin
Quinten.Miller10-Apr-07 17:42
Quinten.Miller10-Apr-07 17:42 
AnswerRe: How to discover if a method throws an exception Pin
Christian Graus10-Apr-07 15:11
protectorChristian Graus10-Apr-07 15:11 
AnswerRe: How to discover if a method throws an exception Pin
Scott Dorman10-Apr-07 17:14
professionalScott Dorman10-Apr-07 17:14 
AnswerRe: How to discover if a method throws an exception Pin
pbraun10-Apr-07 17:32
pbraun10-Apr-07 17:32 
GeneralRe: How to discover if a method throws an exception Pin
Quinten.Miller10-Apr-07 18:32
Quinten.Miller10-Apr-07 18:32 
AnswerRe: How to discover if a method throws an exception Pin
nima_e198310-Apr-07 21:03
nima_e198310-Apr-07 21:03 
GeneralRe: How to discover if a method throws an exception Pin
Quinten.Miller10-Apr-07 21:10
Quinten.Miller10-Apr-07 21:10 
AnswerRe: How to discover if a method throws an exception [modified] Pin
Russell Jones11-Apr-07 2:19
Russell Jones11-Apr-07 2:19 
QuestionCrystal Reports - DataBase Login - C# Pin
aranhamarvel10-Apr-07 14:12
aranhamarvel10-Apr-07 14:12 
AnswerRe: Crystal Reports - DataBase Login - C# Pin
phantanagu10-Apr-07 16:31
phantanagu10-Apr-07 16:31 
Questiona web page control application Pin
mosee10-Apr-07 13:15
mosee10-Apr-07 13:15 
AnswerRe: a web page control application Pin
Quinten.Miller10-Apr-07 14:49
Quinten.Miller10-Apr-07 14:49 

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.