I'm doing a little C# WPF application. To avoid the damned annoying UAC prompt at startup (that I cannot evade because I really need admin right) I thought to move the "needy" methods of my app (that do file moving/creating and registry editing) inside a windows service.
I that way I can register once the app with admin rights, and start my client app (in WPF) without admin rights, demanding all important things to the service.
Unfortunately, separating my (already done) app in 2 parts (a client and a service) make me ask one important question that I can't really answer myself: how I can communicate easily with the service?
Before I was simply sending some custom objects and lists ( through a backgroundWorker) to another methods, that who did all the work in background.
Now I really don't understand how I can communicate easily in the same way with a service.
I can not find any useful reference, can someone suggest me something not too difficult?