I have a working application that connects to db over LAN. The requirement now is to connect to db over WAN (internet) where db server can't be reached directly.
From what I read in forums, I think remoting should produce the best performance, Right?
I see remoting sample and I have one question about it
Is it a must to create the interface project to wrap adapter methods like this
CustomerEntity GetCustomer(string customerId)?
I don’t need this extra overhead as my application server(Service) is just a mean to reach the db, there is no business logic inside it at all (BL is built inside the db itself)
Is there anyway to remove this overhead and directly call the adapter methods remotely?
If not, is there any automated tool to write the interface project?
Thanks a lot