Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

C# Remoting and DB access

Avatar of gmayo
gmayoFlag for United Kingdom of Great Britain and Northern Ireland asked on
.NET ProgrammingWCF
4 Comments1 Solution678 ViewsLast Modified:
Client app uses remoting to connect to server app, hosted elsewhere on webland. Server app accesses a database and returns some data to the client. I think this should be done with SingleCall SAOs.

The remoting class (the one in the DLL shared by both the server and client) shouldn't have the DB connectivity code in it. In fact all it should do is act as an intermediary for the server to handle. All the examples I've found on the internet have the remoting class doing all the donkey work, which means that the client has the DLL with all the functionality in it, which seems wrong to me.

So how do I get the remoting class to talk back to the server? Using delegates/events? So the client calls GetMeSomeData(someParameter), the remoting class simply calls the event handler that the server has set up?
ASKER CERTIFIED SOLUTION
Avatar of tovvenki
tovvenki

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers